Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008372/0.0008372, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004333/0.004333, allocations: 164.6 kB / 24.69 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8951/0.8951, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 298.5 MB, free: 3.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/1.923e-05, allocations: 2.281 kB / 298.5 MB, free: 3.477 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.1368/0.1369, allocations: 3.631 MB / 302.1 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.1384, allocations: 0.8795 MB / 303 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002431/0.1387, allocations: 11.41 kB / 303 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002023/0.1389, allocations: 93.03 kB / 303.1 MB, free: 13.1 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.1392, allocations: 203.9 kB / 303.3 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003699/0.1395, allocations: 140.1 kB / 303.4 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005383/0.1401, allocations: 0.6966 MB / 304.1 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002587/0.1403, allocations: 133.8 kB / 304.3 MB, free: 12.81 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004505/0.1408, allocations: 396.3 kB / 304.6 MB, free: 12.67 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.141, allocations: 214.8 kB / 304.9 MB, free: 12.61 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.316e-05/0.1411, allocations: 55.12 kB / 304.9 MB, free: 12.61 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.379e-05/0.1412, allocations: 54.69 kB / 305 MB, free: 12.61 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.852e-05/0.1412, allocations: 133.1 kB / 305.1 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.1414, allocations: 215.7 kB / 305.3 MB, free: 12.44 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006031/0.142, allocations: 0.647 MB / 305.9 MB, free: 12.22 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.142, allocations: 0 / 305.9 MB, free: 12.22 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.142, allocations: 0.7031 kB / 305.9 MB, free: 12.22 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.142, allocations: 1.562 kB / 305.9 MB, free: 12.22 MB / 282.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.0009672/0.143, allocations: 0.8011 MB / 306.7 MB, free: 11.67 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.143, allocations: 19.61 kB / 306.8 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001181/0.1432, allocations: 112.3 kB / 306.9 MB, free: 11.58 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.657e-05/0.1432, allocations: 70.23 kB / 306.9 MB, free: 11.54 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004211/0.1437, allocations: 309.4 kB / 307.2 MB, free: 11.31 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.1437, allocations: 39.34 kB / 307.3 MB, free: 11.3 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.038e-05/0.1437, allocations: 50.53 kB / 307.3 MB, free: 11.28 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006446/0.1444, allocations: 0.6499 MB / 308 MB, free: 10.86 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1444, allocations: 192 / 308 MB, free: 10.86 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.1444, allocations: 29.5 kB / 308 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.1445, allocations: 14.33 kB / 308 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004743/0.1449, allocations: 341 kB / 308.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001822/0.1467, allocations: 1.55 MB / 309.9 MB, free: 9.715 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/0.1471, allocations: 250.2 kB / 310.2 MB, free: 9.594 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.1473, allocations: 131.2 kB / 310.3 MB, free: 9.539 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.1473, allocations: 5.062 kB / 310.3 MB, free: 9.539 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.1473, allocations: 38.52 kB / 310.3 MB, free: 9.496 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 2.023e-06/0.1473, allocations: 4 kB / 310.3 MB, free: 9.492 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.001322/0.1486, allocations: 0.8213 MB / 311.2 MB, free: 9 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.1487, allocations: 86.2 kB / 311.2 MB, free: 8.902 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003565/0.149, allocations: 391 kB / 311.6 MB, free: 8.699 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.149, allocations: 32.8 kB / 311.7 MB, free: 8.664 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.1492, allocations: 301.3 kB / 311.9 MB, free: 8.418 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.407e-05/0.1492, allocations: 124 kB / 312.1 MB, free: 8.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.102e-05/0.1493, allocations: 76.64 kB / 312.1 MB, free: 8.273 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.269e-05/0.1494, allocations: 347.8 kB / 312.5 MB, free: 7.945 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.1495, allocations: 100.8 kB / 312.6 MB, free: 7.914 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.1497, allocations: 195.2 kB / 312.8 MB, free: 7.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.15, allocations: 309.9 kB / 313.1 MB, free: 7.566 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.15, allocations: 9.312 kB / 313.1 MB, free: 7.559 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005074/0.1505, allocations: 435 kB / 313.5 MB, free: 7.367 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.1505, allocations: 5.5 kB / 313.5 MB, free: 7.367 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.1505, allocations: 8.375 kB / 313.5 MB, free: 7.363 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002553/0.1508, allocations: 84.98 kB / 313.6 MB, free: 7.332 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.151, allocations: 78.61 kB / 313.7 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.1522, allocations: 2.908 MB / 316.6 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.1524, allocations: 24.69 kB / 316.6 MB, free: 4.508 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.1525, allocations: 17.41 kB / 316.6 MB, free: 4.504 MB / 282.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.0001599/0.1526, allocations: 167.9 kB / 316.8 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.1527, allocations: 45.73 kB / 316.8 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.801e-05/0.1527, allocations: 46.33 kB / 316.9 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1527, allocations: 3.094 kB / 316.9 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.1527, allocations: 2.688 kB / 316.9 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1527, allocations: 1.547 kB / 316.9 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008994/0.1536, allocations: 0.8649 MB / 317.8 MB, free: 3.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.1536, allocations: 2.938 kB / 317.8 MB, free: 3.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.1537, allocations: 50.33 kB / 317.8 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001825/0.1539, allocations: 80.81 kB / 317.9 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.1539, allocations: 12.47 kB / 317.9 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.1551, allocations: 2.912 MB / 320.8 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1551, allocations: 0.6562 kB / 320.8 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005895/0.1556, allocations: 0.6021 MB / 321.4 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-05/0.1557, allocations: 46.81 kB / 321.5 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.1557, allocations: 7.172 kB / 321.5 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.1559, allocations: 31.56 kB / 321.5 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.859e-05/0.156, allocations: 26.02 kB / 321.5 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.156, allocations: 11.55 kB / 321.5 MB, free: 500 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002178/0.1562, allocations: 272.5 kB / 321.8 MB, free: 364 kB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1562, allocations: 0 / 321.8 MB, free: 364 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004596/0.1567, allocations: 117.9 kB / 321.9 MB, free: 352 kB / 282.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.0008401/0.1575, allocations: 1.17 MB / 323.1 MB, free: 15.42 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006434/0.1582, allocations: 0.4928 MB / 323.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1582, allocations: 0 / 323.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003653/0.1585, allocations: 379.6 kB / 323.9 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.1589, allocations: 66.73 kB / 324 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004555/0.1635, allocations: 4.162 MB / 328.2 MB, free: 12.22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.1637, allocations: 237.8 kB / 328.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001515/0.1638, allocations: 50.12 kB / 328.5 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.164, allocations: 172.9 kB / 328.6 MB, free: 11.97 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.164, allocations: 0 / 328.6 MB, free: 11.97 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02933/0.1933, allocations: 10.08 MB / 338.7 MB, free: 4.969 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.507/7.7, allocations: 7.984 kB / 338.7 MB, free: 4.961 MB / 298.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv. Warning: Get data of variable basicTransformer.i1 from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv failed! Error: Could not read variable basicTransformer.i2 in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv. Warning: Get data of variable basicTransformer.i2 from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv failed! Error: Could not read variable inductor22.i in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv. Warning: Get data of variable inductor22.i from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.713716272264719]