Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009374/0.0009374, 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.001003/0.001003, allocations: 168.7 kB / 24.91 MB, free: 9.184 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.023/1.023, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2903/0.2903, allocations: 34.26 MB / 296.1 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 325.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.734e-05/2.9e-05, allocations: 5.578 kB / 325.2 MB, free: 7.719 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.004092/0.004121, allocations: 3.487 MB / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.005847, allocations: 0.8338 MB / 329.5 MB, free: 3.371 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002165/0.006063, allocations: 11.94 kB / 329.6 MB, free: 3.359 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.006257, allocations: 75.28 kB / 329.6 MB, free: 3.285 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002756/0.006533, allocations: 134.7 kB / 329.8 MB, free: 3.152 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004462/0.006979, allocations: 139.7 kB / 329.9 MB, free: 3.016 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004844/0.007464, allocations: 0.5424 MB / 330.4 MB, free: 2.473 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002517/0.007715, allocations: 172.3 kB / 330.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003585/0.008074, allocations: 323.4 kB / 330.9 MB, free: 1.984 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.008279, allocations: 175.5 kB / 331.1 MB, free: 1.812 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.69e-05/0.008336, allocations: 48 kB / 331.1 MB, free: 1.766 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.92e-05/0.008385, allocations: 52 kB / 331.2 MB, free: 1.715 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.832e-05/0.008454, allocations: 107.6 kB / 331.3 MB, free: 1.609 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.008573, allocations: 179.6 kB / 331.5 MB, free: 1.434 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005405/0.009114, allocations: 374.5 kB / 331.8 MB, free: 1.062 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.009117, allocations: 0 / 331.8 MB, free: 1.062 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.009118, allocations: 0 / 331.8 MB, free: 1.062 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.331e-06/0.009124, allocations: 0 / 331.8 MB, free: 1.062 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.0007772/0.009902, allocations: 0.6687 MB / 332.5 MB, free: 380 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.009938, allocations: 8.031 kB / 332.5 MB, free: 372 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.573e-05/0.01002, allocations: 72.89 kB / 332.6 MB, free: 300 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.01029, allocations: 214 kB / 332.8 MB, free: 56 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.01031, allocations: 29.38 kB / 332.8 MB, free: 24 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.167e-05/0.01038, allocations: 48.42 kB / 332.9 MB, free: 15.97 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004005/0.01078, allocations: 411.8 kB / 333.3 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.01079, allocations: 192 / 333.3 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.01081, allocations: 20.38 kB / 333.3 MB, free: 15.53 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.01082, allocations: 19.88 kB / 333.3 MB, free: 15.51 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.01098, allocations: 124 kB / 333.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.01239, allocations: 1.301 MB / 334.7 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.01261, allocations: 145.1 kB / 334.9 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.689e-05/0.01271, allocations: 81.61 kB / 335 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.01273, allocations: 8.219 kB / 335 MB, free: 13.74 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.01275, allocations: 42.5 kB / 335 MB, free: 13.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 1.663e-06/0.01275, allocations: 0 / 335 MB, free: 13.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.001677/0.01443, allocations: 0.8435 MB / 335.8 MB, free: 12.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.01447, allocations: 85.05 kB / 335.9 MB, free: 12.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.01462, allocations: 236.9 kB / 336.2 MB, free: 12.44 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.01464, allocations: 33.7 kB / 336.2 MB, free: 12.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.786e-05/0.01474, allocations: 248.1 kB / 336.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.862e-05/0.01481, allocations: 126.9 kB / 336.6 MB, free: 12.03 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.718e-05/0.01489, allocations: 82.09 kB / 336.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.121e-05/0.01498, allocations: 342.8 kB / 337 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.201e-05/0.01503, allocations: 40.98 kB / 337 MB, free: 11.56 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.876e-05/0.01513, allocations: 144.9 kB / 337.2 MB, free: 11.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.01532, allocations: 229.4 kB / 337.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.01532, allocations: 0 / 337.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002763/0.01559, allocations: 254 kB / 337.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.01561, allocations: 4 kB / 337.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.01562, allocations: 4 kB / 337.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001155/0.01573, allocations: 28.78 kB / 337.7 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.01598, allocations: 124.1 kB / 337.8 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006586/0.01663, allocations: 1.186 MB / 339 MB, free: 9.418 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.01675, allocations: 19.98 kB / 339 MB, free: 9.398 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.01676, allocations: 12 kB / 339 MB, free: 9.387 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 0.0001026/0.01687, allocations: 137.7 kB / 339.1 MB, free: 9.242 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.01691, allocations: 36 kB / 339.2 MB, free: 9.207 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.684e-05/0.01695, allocations: 38.11 kB / 339.2 MB, free: 9.172 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.01695, allocations: 4 kB / 339.2 MB, free: 9.168 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.01696, allocations: 0 / 339.2 MB, free: 9.168 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.01696, allocations: 4 kB / 339.2 MB, free: 9.164 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004569/0.01742, allocations: 401 kB / 339.6 MB, free: 8.738 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.01742, allocations: 0 / 339.6 MB, free: 8.738 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.01761, allocations: 87.95 kB / 339.7 MB, free: 8.652 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.269e-05/0.01769, allocations: 28.83 kB / 339.7 MB, free: 8.621 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.0177, allocations: 11.98 kB / 339.7 MB, free: 8.609 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005289/0.01823, allocations: 1.186 MB / 340.9 MB, free: 7.332 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.01823, allocations: 0 / 340.9 MB, free: 7.332 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.01856, allocations: 415.8 kB / 341.3 MB, free: 6.902 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/0.01862, allocations: 31.8 kB / 341.4 MB, free: 6.871 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.01864, allocations: 8 kB / 341.4 MB, free: 6.863 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.01876, allocations: 19.98 kB / 341.4 MB, free: 6.844 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.01881, allocations: 23.95 kB / 341.4 MB, free: 6.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.01882, allocations: 8 kB / 341.4 MB, free: 6.812 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.754e-05/0.01888, allocations: 82.72 kB / 341.5 MB, free: 6.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01888, allocations: 0 / 341.5 MB, free: 6.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002723/0.01916, allocations: 92 kB / 341.6 MB, free: 6.641 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.245e-05/0.01925, allocations: 93.33 kB / 341.7 MB, free: 6.543 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003128/0.01956, allocations: 297.8 kB / 342 MB, free: 6.242 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/0.01957, allocations: 4.5 kB / 342 MB, free: 6.238 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004262/0.02, allocations: 206.7 kB / 342.2 MB, free: 6.023 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.02025, allocations: 45.73 kB / 342.2 MB, free: 5.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.02127, allocations: 0.7734 MB / 343 MB, free: 5.168 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.321e-05/0.02134, allocations: 105.3 kB / 343.1 MB, free: 5.039 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.918e-05/0.02143, allocations: 38.89 kB / 343.1 MB, free: 5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.02154, allocations: 99.34 kB / 343.2 MB, free: 4.902 MB / 314.7 MB Notification: Performance of SimCode: time 9.02e-07/0.02154, allocations: 0 / 343.2 MB, free: 4.902 MB / 314.7 MB Notification: Performance of Templates: time 0.005534/0.02708, allocations: 3.148 MB / 346.4 MB, free: 1.812 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.0756358266808093]