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.000923/0.000923, allocations: 80.8 kB / 21.49 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.001001/0.001001, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.037/1.037, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2472/0.2472, allocations: 32.8 MB / 294.6 MB, free: 1.246 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.894e-06/1.894e-06, allocations: 0 / 323.2 MB, free: 9.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.857e-05, allocations: 2.312 kB / 323.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.004728/0.004757, allocations: 3.52 MB / 326.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.006121, allocations: 0.8454 MB / 327.6 MB, free: 5.273 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001997/0.006321, allocations: 15.94 kB / 327.6 MB, free: 5.258 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.006511, allocations: 71.28 kB / 327.7 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.006789, allocations: 138.7 kB / 327.8 MB, free: 5.051 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.007164, allocations: 131.7 kB / 328 MB, free: 4.922 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005853/0.00775, allocations: 0.5389 MB / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002735/0.008023, allocations: 176.3 kB / 328.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003821/0.008405, allocations: 323.3 kB / 329 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.008639, allocations: 175.5 kB / 329.2 MB, free: 3.719 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.561e-05/0.008694, allocations: 48 kB / 329.2 MB, free: 3.672 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.461e-05/0.008739, allocations: 48 kB / 329.3 MB, free: 3.625 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.296e-05/0.008802, allocations: 115.6 kB / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.008906, allocations: 179.6 kB / 329.5 MB, free: 3.336 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.009211, allocations: 366.6 kB / 329.9 MB, free: 2.977 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.009213, allocations: 0 / 329.9 MB, free: 2.977 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.009215, allocations: 3.938 kB / 329.9 MB, free: 2.973 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.009219, allocations: 0 / 329.9 MB, free: 2.973 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.0008456/0.01006, allocations: 0.6686 MB / 330.6 MB, free: 2.281 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.0101, allocations: 12.03 kB / 330.6 MB, free: 2.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.486e-05/0.01017, allocations: 68.89 kB / 330.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.0104, allocations: 214 kB / 330.9 MB, free: 1.965 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.914e-05/0.01047, allocations: 37.38 kB / 330.9 MB, free: 1.926 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.01052, allocations: 48.38 kB / 330.9 MB, free: 1.879 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003574/0.01087, allocations: 411.9 kB / 331.3 MB, free: 1.449 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.01089, allocations: 192 / 331.3 MB, free: 1.449 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.01091, allocations: 24.31 kB / 331.4 MB, free: 1.426 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.01092, allocations: 15.94 kB / 331.4 MB, free: 1.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.01107, allocations: 116 kB / 331.5 MB, free: 1.293 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.01232, allocations: 1.301 MB / 332.8 MB, free: 15.9 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.01258, allocations: 153.1 kB / 333 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.748e-05/0.01268, allocations: 81.5 kB / 333 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.0127, allocations: 8 kB / 333 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.01272, allocations: 34.56 kB / 333.1 MB, free: 15.6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 1.593e-06/0.01272, allocations: 0 / 333.1 MB, free: 15.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.001297/0.01402, allocations: 0.8526 MB / 333.9 MB, free: 14.69 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.01405, allocations: 85.05 kB / 334 MB, free: 14.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.0142, allocations: 236.9 kB / 334.2 MB, free: 14.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.01421, allocations: 29.7 kB / 334.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.822e-05/0.01431, allocations: 260.1 kB / 334.5 MB, free: 14.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.545e-05/0.01438, allocations: 126.9 kB / 334.6 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-05/0.01446, allocations: 78.11 kB / 334.7 MB, free: 13.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.535e-05/0.01454, allocations: 338.8 kB / 335.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.671e-05/0.01459, allocations: 36.98 kB / 335.1 MB, free: 13.47 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.687e-05/0.01469, allocations: 145 kB / 335.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.01486, allocations: 237.4 kB / 335.5 MB, free: 13.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.01486, allocations: 0 / 335.5 MB, free: 13.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002573/0.01512, allocations: 250 kB / 335.7 MB, free: 12.76 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.01513, allocations: 8 kB / 335.7 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.01514, allocations: 4 kB / 335.7 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001111/0.01525, allocations: 32.83 kB / 335.8 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.01558, allocations: 151.4 kB / 335.9 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005815/0.01616, allocations: 1.198 MB / 337.1 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.469e-05/0.01625, allocations: 16 kB / 337.1 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.01627, allocations: 12 kB / 337.1 MB, free: 11.25 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.868e-05/0.01636, allocations: 137.8 kB / 337.3 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.01641, allocations: 31.97 kB / 337.3 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.582e-05/0.01645, allocations: 34.11 kB / 337.3 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.01645, allocations: 7.938 kB / 337.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.01646, allocations: 4 kB / 337.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01646, allocations: 0 / 337.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004085/0.01687, allocations: 405 kB / 337.7 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.01687, allocations: 4.062 kB / 337.7 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.01713, allocations: 124.4 kB / 337.9 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.893e-05/0.01719, allocations: 24.84 kB / 337.9 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.0172, allocations: 8 kB / 337.9 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005276/0.01773, allocations: 1.194 MB / 339.1 MB, free: 9.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.01773, allocations: 4 kB / 339.1 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.01804, allocations: 411.8 kB / 339.5 MB, free: 8.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/0.01809, allocations: 35.8 kB / 339.5 MB, free: 8.695 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.01811, allocations: 4 kB / 339.5 MB, free: 8.691 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.01822, allocations: 20.03 kB / 339.5 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.01828, allocations: 27.94 kB / 339.6 MB, free: 8.645 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.01828, allocations: 4 kB / 339.6 MB, free: 8.641 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.252e-05/0.01835, allocations: 78.78 kB / 339.7 MB, free: 8.562 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01835, allocations: 0 / 339.7 MB, free: 8.562 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002446/0.01859, allocations: 92 kB / 339.7 MB, free: 8.473 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 7.501e-05/0.01867, allocations: 84.36 kB / 339.8 MB, free: 8.383 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002833/0.01895, allocations: 312.4 kB / 340.1 MB, free: 8.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.01896, allocations: 4 kB / 340.1 MB, free: 8.066 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.01908, allocations: 205.9 kB / 340.3 MB, free: 7.852 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.01933, allocations: 44.47 kB / 340.4 MB, free: 7.809 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009245/0.02025, allocations: 0.7779 MB / 341.2 MB, free: 6.992 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.245e-05/0.02032, allocations: 105.3 kB / 341.3 MB, free: 6.863 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.632e-05/0.02042, allocations: 34.95 kB / 341.3 MB, free: 6.828 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.02055, allocations: 111.3 kB / 341.4 MB, free: 6.719 MB / 314.7 MB Notification: Performance of SimCode: time 1.113e-06/0.02055, allocations: 4 kB / 341.4 MB, free: 6.715 MB / 314.7 MB Notification: Performance of Templates: time 0.005951/0.02651, allocations: 3.5 MB / 344.9 MB, free: 3.281 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 -s gbode -gbm=radauIIA3 -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.065193625167012]