Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.001425/0.001425, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001651/0.001651, allocations: 174.3 kB / 24.91 MB, free: 8.777 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 1.026/1.026, allocations: 177.1 MB / 205.3 MB, free: 5.109 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2405/0.2405, allocations: 32.81 MB / 294.6 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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: translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4667,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4667,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 323.2 MB, free: 9.777 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.239e-05, allocations: 3.188 kB / 323.2 MB, free: 9.773 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003406/0.003428, allocations: 3.475 MB / 326.7 MB, free: 6.277 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.004834, allocations: 0.8408 MB / 327.5 MB, free: 5.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.005014, allocations: 8 kB / 327.5 MB, free: 5.422 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.005176, allocations: 79.22 kB / 327.6 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.005406, allocations: 146.7 kB / 327.7 MB, free: 5.199 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.005713, allocations: 123.8 kB / 327.9 MB, free: 5.078 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005521/0.006265, allocations: 0.5388 MB / 328.4 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003282/0.006593, allocations: 180.9 kB / 328.6 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004257/0.007019, allocations: 323.3 kB / 328.9 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.007254, allocations: 175.5 kB / 329.1 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.083e-05/0.007315, allocations: 48 kB / 329.1 MB, free: 3.824 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.86e-05/0.007363, allocations: 52 kB / 329.2 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.536e-05/0.007429, allocations: 107.6 kB / 329.3 MB, free: 3.668 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.007545, allocations: 175.6 kB / 329.4 MB, free: 3.496 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003581/0.007904, allocations: 366.7 kB / 329.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.007907, allocations: 0 / 329.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.007909, allocations: 0 / 329.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.007914, allocations: 0 / 329.8 MB, free: 3.137 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0007178/0.008632, allocations: 0.6725 MB / 330.5 MB, free: 2.441 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.008663, allocations: 8.031 kB / 330.5 MB, free: 2.434 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.337e-05/0.008736, allocations: 68.89 kB / 330.5 MB, free: 2.367 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.008974, allocations: 218 kB / 330.8 MB, free: 2.125 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.009005, allocations: 37.31 kB / 330.8 MB, free: 2.086 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.75e-05/0.009052, allocations: 52.3 kB / 330.8 MB, free: 2.035 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003766/0.009429, allocations: 407.9 kB / 331.2 MB, free: 1.609 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.00944, allocations: 192 / 331.2 MB, free: 1.609 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.009463, allocations: 16.38 kB / 331.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.009475, allocations: 15.94 kB / 331.3 MB, free: 1.578 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.009619, allocations: 128 kB / 331.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.0109, allocations: 1.301 MB / 332.7 MB, free: 60 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.01111, allocations: 165.6 kB / 332.9 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.036e-05/0.0112, allocations: 69.69 kB / 332.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.01122, allocations: 4 kB / 332.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.01124, allocations: 38.56 kB / 333 MB, free: 15.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/0.01125, allocations: 3.938 kB / 333 MB, free: 15.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.001274/0.01252, allocations: 0.8533 MB / 333.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.01256, allocations: 81.11 kB / 333.9 MB, free: 14.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.0127, allocations: 236.9 kB / 334.1 MB, free: 14.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.01272, allocations: 33.7 kB / 334.2 MB, free: 14.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.01283, allocations: 244.1 kB / 334.4 MB, free: 14.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.822e-05/0.01288, allocations: 126.9 kB / 334.5 MB, free: 14.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.567e-05/0.01296, allocations: 86.09 kB / 334.6 MB, free: 14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.378e-05/0.01305, allocations: 338.8 kB / 335 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.314e-05/0.01311, allocations: 40.97 kB / 335 MB, free: 13.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.781e-05/0.0132, allocations: 148.9 kB / 335.1 MB, free: 13.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.01342, allocations: 223.6 kB / 335.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01342, allocations: 4 kB / 335.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002502/0.01367, allocations: 250.5 kB / 335.6 MB, free: 12.92 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.01369, allocations: 5.875 kB / 335.6 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.0137, allocations: 4 kB / 335.6 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001106/0.01381, allocations: 33.2 kB / 335.6 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.01403, allocations: 119.8 kB / 335.8 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006751/0.01471, allocations: 1.186 MB / 337 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.648e-05/0.0148, allocations: 15.98 kB / 337 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.01482, allocations: 16.03 kB / 337 MB, free: 11.45 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.704e-05/0.01491, allocations: 141.6 kB / 337.1 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.01496, allocations: 32.11 kB / 337.2 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.422e-05/0.015, allocations: 42.09 kB / 337.2 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.015, allocations: 8 kB / 337.2 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.01501, allocations: 0 / 337.2 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.01501, allocations: 4 kB / 337.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004337/0.01545, allocations: 409 kB / 337.6 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.01545, allocations: 0 / 337.6 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.01564, allocations: 83.89 kB / 337.7 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.002e-05/0.01571, allocations: 28.83 kB / 337.7 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.01572, allocations: 8 kB / 337.7 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005172/0.01624, allocations: 1.178 MB / 338.9 MB, free: 9.391 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.01624, allocations: 3.938 kB / 338.9 MB, free: 9.387 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.01654, allocations: 419.9 kB / 339.3 MB, free: 8.953 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.344e-05/0.01659, allocations: 35.73 kB / 339.4 MB, free: 8.918 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.01661, allocations: 8 kB / 339.4 MB, free: 8.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.01672, allocations: 15.98 kB / 339.4 MB, free: 8.895 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.01676, allocations: 27.95 kB / 339.4 MB, free: 8.867 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.01677, allocations: 8.031 kB / 339.4 MB, free: 8.859 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.906e-05/0.01683, allocations: 82.72 kB / 339.5 MB, free: 8.777 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.01683, allocations: 0 / 339.5 MB, free: 8.777 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002584/0.01709, allocations: 92 kB / 339.6 MB, free: 8.688 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.55e-05/0.01719, allocations: 93.42 kB / 339.7 MB, free: 8.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003151/0.0175, allocations: 288.8 kB / 340 MB, free: 8.293 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/0.01751, allocations: 4 kB / 340 MB, free: 8.289 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.01766, allocations: 203.2 kB / 340.2 MB, free: 8.074 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.01793, allocations: 44.48 kB / 340.2 MB, free: 8.031 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.01922, allocations: 0.7779 MB / 341 MB, free: 7.215 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.458e-05/0.01929, allocations: 105.3 kB / 341.1 MB, free: 7.086 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.592e-05/0.01937, allocations: 34.95 kB / 341.1 MB, free: 7.051 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.01948, allocations: 99.36 kB / 341.2 MB, free: 6.953 MB / 314.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01948, allocations: 0 / 341.2 MB, free: 6.953 MB / 314.7 MB Notification: Performance of Templates: time 0.006079/0.02556, allocations: 3.161 MB / 344.4 MB, free: 3.859 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0706584211438894]