Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 124.4 kB / 17.79 MB, free: 5.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002042/0.002042, allocations: 203.3 kB / 20.74 MB, free: 2.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.539/1.539, allocations: 230.6 MB / 254.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 47.94 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1298, allocations: 53.32 MB / 426.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005886/0.1357, allocations: 4.137 MB / 430.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.1378, allocations: 0.958 MB / 431.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002333/0.138, allocations: 11.94 kB / 431.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.1383, allocations: 91.08 kB / 431.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003977/0.1387, allocations: 190.4 kB / 431.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004927/0.1392, allocations: 159.7 kB / 431.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008065/0.14, allocations: 0.6771 MB / 432.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003211/0.1403, allocations: 147 kB / 432.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004031/0.1407, allocations: 267 kB / 433 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003922/0.1411, allocations: 302.6 kB / 433.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.97e-05/0.1412, allocations: 56 kB / 433.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.1413, allocations: 56 kB / 433.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.1414, allocations: 127.5 kB / 433.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003041/0.1417, allocations: 298.5 kB / 433.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000776/0.1425, allocations: 0.6573 MB / 434.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1425, allocations: 0 / 434.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1425, allocations: 3.938 kB / 434.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.1425, allocations: 0 / 434.4 MB, free: 12.64 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001567/0.1441, allocations: 0.88 MB / 435.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.1441, allocations: 12.03 kB / 435.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001554/0.1443, allocations: 107.9 kB / 435.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003006/0.1446, allocations: 88.5 kB / 435.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005988/0.1452, allocations: 379.9 kB / 435.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.726e-05/0.1452, allocations: 45.62 kB / 435.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.761e-05/0.1453, allocations: 52.33 kB / 436 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009086/0.1462, allocations: 0.5035 MB / 436.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.1463, allocations: 3.938 kB / 436.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.085e-05/0.1463, allocations: 24 kB / 436.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.1463, allocations: 16 kB / 436.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006885/0.147, allocations: 336.7 kB / 436.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002961/0.15, allocations: 1.725 MB / 438.6 MB, free: 8.285 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004919/0.1505, allocations: 241.1 kB / 438.8 MB, free: 8.031 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.1507, allocations: 136.8 kB / 439 MB, free: 7.895 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.1508, allocations: 8 kB / 439 MB, free: 7.887 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.585e-05/0.1508, allocations: 42.44 kB / 439 MB, free: 7.836 MB / 366.1 MB Notification: Performance of pre-optimization done (n=31): time 1.904e-06/0.1508, allocations: 0 / 439 MB, free: 7.836 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.002034/0.1529, allocations: 0.984 MB / 440 MB, free: 6.777 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/0.1529, allocations: 85.11 kB / 440.1 MB, free: 6.676 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004511/0.1534, allocations: 381.7 kB / 440.5 MB, free: 6.297 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.1534, allocations: 33.7 kB / 440.5 MB, free: 6.258 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/0.1537, allocations: 304.1 kB / 440.8 MB, free: 5.953 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.1538, allocations: 123 kB / 440.9 MB, free: 5.832 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.1539, allocations: 78.08 kB / 441 MB, free: 5.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.1541, allocations: 346.8 kB / 441.3 MB, free: 5.402 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.1543, allocations: 100.8 kB / 441.4 MB, free: 5.301 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003136/0.1546, allocations: 198.5 kB / 441.6 MB, free: 5.074 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005251/0.1552, allocations: 299.7 kB / 441.9 MB, free: 4.746 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1552, allocations: 0 / 441.9 MB, free: 4.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000869/0.156, allocations: 452.4 kB / 442.3 MB, free: 4.293 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.156, allocations: 4 kB / 442.4 MB, free: 4.289 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.1561, allocations: 8.312 kB / 442.4 MB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000351/0.1564, allocations: 85.53 kB / 442.4 MB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/0.1567, allocations: 75.89 kB / 442.5 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003027/0.1598, allocations: 3.127 MB / 445.6 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/0.1601, allocations: 19.94 kB / 445.7 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.1601, allocations: 15.98 kB / 445.7 MB, free: 0.6836 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003141/0.1604, allocations: 161.8 kB / 445.8 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.1606, allocations: 47.66 kB / 445.9 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.768e-05/0.1606, allocations: 47.53 kB / 445.9 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1607, allocations: 4 kB / 445.9 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.1607, allocations: 3.938 kB / 445.9 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1607, allocations: 3.984 kB / 445.9 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2083/0.3689, allocations: 0.9445 MB / 446.9 MB, free: 23.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.3689, allocations: 0 / 446.9 MB, free: 23.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.3691, allocations: 48.14 kB / 446.9 MB, free: 23.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003043/0.3694, allocations: 82.16 kB / 447 MB, free: 23.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.3695, allocations: 7.781 kB / 447 MB, free: 23.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.3713, allocations: 3.125 MB / 450.1 MB, free: 20.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3713, allocations: 1.688 kB / 450.1 MB, free: 20.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008304/0.3721, allocations: 0.6115 MB / 450.8 MB, free: 20.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.3722, allocations: 123.5 kB / 450.9 MB, free: 20.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/0.3723, allocations: 8.812 kB / 450.9 MB, free: 20.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003286/0.3726, allocations: 30.48 kB / 450.9 MB, free: 20.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.41e-05/0.3727, allocations: 24.98 kB / 450.9 MB, free: 20.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.3727, allocations: 8.266 kB / 451 MB, free: 20.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002941/0.373, allocations: 276.5 kB / 451.2 MB, free: 20.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.373, allocations: 1.094 kB / 451.2 MB, free: 20.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000596/0.3736, allocations: 120.1 kB / 451.3 MB, free: 20.3 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001002/0.3746, allocations: 1.165 MB / 452.5 MB, free: 19.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008365/0.3754, allocations: 0.5014 MB / 453 MB, free: 19.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3754, allocations: 1.125 kB / 453 MB, free: 19.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005032/0.3759, allocations: 380 kB / 453.4 MB, free: 19.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004858/0.3764, allocations: 61.77 kB / 453.4 MB, free: 19.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004934/0.3813, allocations: 4.219 MB / 457.7 MB, free: 16.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.3817, allocations: 0.8426 MB / 458.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001661/0.3818, allocations: 43.36 kB / 458.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.382, allocations: 174.6 kB / 458.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.382, allocations: 4 kB / 458.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04461/0.4266, allocations: 9.115 MB / 467.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/10.51, allocations: 18.55 kB / 467.9 MB, free: 14.26 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable basicTransformer.i1 in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv. Warning: Get data of variable basicTransformer.i1 from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv failed! Error: Could not read variable basicTransformer.i2 in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv. Warning: Get data of variable basicTransformer.i2 from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv failed! Error: Could not read variable inductor22.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv. Warning: Get data of variable inductor22.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.807972584996605]