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.0009054/0.0009054, allocations: 79.7 kB / 20.67 MB, free: 3.879 MB / 18.57 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.000831/0.000831, allocations: 170 kB / 23.96 MB, free: 0.5938 MB / 18.57 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 0.9184/0.9184, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.753e-06/1.753e-06, allocations: 0 / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.349e-05, allocations: 2.281 kB / 324.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.003719/0.003743, allocations: 3.718 MB / 328.3 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.005394, allocations: 0.9305 MB / 329.3 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002298/0.005624, allocations: 11.94 kB / 329.3 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.005812, allocations: 95.06 kB / 329.4 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000309/0.006121, allocations: 198.3 kB / 329.6 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004909/0.006612, allocations: 167.6 kB / 329.7 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007245/0.007336, allocations: 0.704 MB / 330.4 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002941/0.00763, allocations: 139.7 kB / 330.6 MB, free: 9.914 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006137/0.008244, allocations: 395 kB / 330.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.008487, allocations: 215.3 kB / 331.2 MB, free: 9.316 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.405e-05/0.008551, allocations: 52 kB / 331.2 MB, free: 9.266 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.008654, allocations: 60 kB / 331.3 MB, free: 9.207 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.526e-05/0.00873, allocations: 131.4 kB / 331.4 MB, free: 9.078 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.008881, allocations: 215.4 kB / 331.6 MB, free: 8.867 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005528/0.009434, allocations: 0.658 MB / 332.3 MB, free: 8.207 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.009439, allocations: 0 / 332.3 MB, free: 8.207 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.009441, allocations: 4 kB / 332.3 MB, free: 8.203 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.009456, allocations: 0 / 332.3 MB, free: 8.203 MB / 298.7 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.001126/0.01058, allocations: 0.804 MB / 333.1 MB, free: 7.371 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.01064, allocations: 11.97 kB / 333.1 MB, free: 7.359 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001555/0.01079, allocations: 115.8 kB / 333.2 MB, free: 7.238 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002685/0.01106, allocations: 92.48 kB / 333.3 MB, free: 7.148 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005854/0.01165, allocations: 317.3 kB / 333.6 MB, free: 6.809 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/0.01168, allocations: 45.69 kB / 333.6 MB, free: 6.766 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.456e-05/0.01175, allocations: 56.36 kB / 333.7 MB, free: 6.711 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006824/0.01243, allocations: 0.6465 MB / 334.3 MB, free: 6.012 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.01244, allocations: 192 / 334.3 MB, free: 6.012 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.01248, allocations: 24.12 kB / 334.4 MB, free: 5.988 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.01249, allocations: 16 kB / 334.4 MB, free: 5.973 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004435/0.01293, allocations: 336.4 kB / 334.7 MB, free: 5.645 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.01477, allocations: 1.546 MB / 336.3 MB, free: 4.012 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.01511, allocations: 253 kB / 336.5 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.01526, allocations: 137.5 kB / 336.6 MB, free: 3.609 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.01528, allocations: 7.938 kB / 336.6 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.01531, allocations: 42.55 kB / 336.7 MB, free: 3.551 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.914e-06/0.01532, allocations: 0 / 336.7 MB, free: 3.551 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001319/0.01663, allocations: 0.8164 MB / 337.5 MB, free: 2.695 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.01668, allocations: 85.05 kB / 337.6 MB, free: 2.594 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.01703, allocations: 397.5 kB / 338 MB, free: 2.195 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.01706, allocations: 33.7 kB / 338 MB, free: 2.156 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.01722, allocations: 308 kB / 338.3 MB, free: 1.848 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.583e-05/0.01729, allocations: 115 kB / 338.4 MB, free: 1.734 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.867e-05/0.01737, allocations: 74.16 kB / 338.5 MB, free: 1.656 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.01749, allocations: 350.8 kB / 338.8 MB, free: 1.305 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.01764, allocations: 105 kB / 338.9 MB, free: 1.199 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.01783, allocations: 195.2 kB / 339.1 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/0.01816, allocations: 305.1 kB / 339.4 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.01816, allocations: 0 / 339.4 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005565/0.01872, allocations: 450.7 kB / 339.9 MB, free: 188 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.01874, allocations: 8 kB / 339.9 MB, free: 180 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.01875, allocations: 0 / 339.9 MB, free: 180 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000241/0.01899, allocations: 77.78 kB / 339.9 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.01918, allocations: 79.89 kB / 340 MB, free: 16 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/0.02105, allocations: 2.92 MB / 342.9 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.02122, allocations: 23.88 kB / 343 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.02123, allocations: 16 kB / 343 MB, free: 12.83 MB / 314.7 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.0001751/0.02141, allocations: 161.7 kB / 343.1 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.653e-05/0.02147, allocations: 43.72 kB / 343.2 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.493e-05/0.02151, allocations: 55.33 kB / 343.2 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.02151, allocations: 4 kB / 343.2 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.02152, allocations: 4.062 kB / 343.2 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.02153, allocations: 0 / 343.2 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009777/0.0225, allocations: 0.8714 MB / 344.1 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.02251, allocations: 4 kB / 344.1 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.889e-05/0.02261, allocations: 39.92 kB / 344.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001827/0.02279, allocations: 93.72 kB / 344.3 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.02281, allocations: 11.98 kB / 344.3 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/0.02434, allocations: 2.897 MB / 347.2 MB, free: 8.355 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.02434, allocations: 4.031 kB / 347.2 MB, free: 8.352 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005714/0.02491, allocations: 0.6069 MB / 347.8 MB, free: 7.723 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.855e-05/0.02496, allocations: 43.67 kB / 347.8 MB, free: 7.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.02499, allocations: 16 kB / 347.8 MB, free: 7.664 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.02515, allocations: 27.97 kB / 347.9 MB, free: 7.637 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.604e-05/0.02522, allocations: 27.89 kB / 347.9 MB, free: 7.609 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.02523, allocations: 8 kB / 347.9 MB, free: 7.602 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002001/0.02543, allocations: 279.1 kB / 348.2 MB, free: 7.336 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02543, allocations: 4 kB / 348.2 MB, free: 7.332 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004286/0.02586, allocations: 124 kB / 348.3 MB, free: 7.211 MB / 314.7 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.000785/0.02664, allocations: 1.156 MB / 349.4 MB, free: 6.02 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00059/0.02723, allocations: 0.5073 MB / 350 MB, free: 5.488 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.02723, allocations: 0 / 350 MB, free: 5.488 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003372/0.02757, allocations: 385.7 kB / 350.3 MB, free: 5.086 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.02793, allocations: 49.48 kB / 350.4 MB, free: 5.031 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003759/0.03169, allocations: 4.177 MB / 354.6 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001651/0.03185, allocations: 246.4 kB / 354.8 MB, free: 440 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.03197, allocations: 43.28 kB / 354.8 MB, free: 392 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.03212, allocations: 172.4 kB / 355 MB, free: 220 kB / 314.7 MB Notification: Performance of SimCode: time 8.92e-07/0.03212, allocations: 4 kB / 355 MB, free: 216 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02839/0.06051, allocations: 10.15 MB / 365.2 MB, free: 6.273 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.247/7.307, allocations: 0 / 365.2 MB, free: 6.273 MB / 330.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins/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: 10.40629981085658]