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.0009627/0.0009627, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009546/0.0009546, allocations: 173 kB / 24.91 MB, free: 8.723 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.9968/0.9968, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.2561/0.2561, allocations: 34.26 MB / 296.1 MB, free: 0.6836 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.042e-06/1.042e-06, allocations: 0 / 325.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.827e-06/9.869e-06, allocations: 5.125 kB / 325.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003186/0.003196, allocations: 3.517 MB / 328.8 MB, free: 4.156 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009943/0.00419, allocations: 0.8454 MB / 329.6 MB, free: 3.305 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.004312, allocations: 11.94 kB / 329.6 MB, free: 3.293 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.00443, allocations: 71.3 kB / 329.7 MB, free: 3.223 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001814/0.004612, allocations: 146.6 kB / 329.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.004817, allocations: 123.8 kB / 330 MB, free: 2.957 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003625/0.005179, allocations: 0.542 MB / 330.5 MB, free: 2.414 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.00536, allocations: 180.3 kB / 330.7 MB, free: 2.234 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.005579, allocations: 319.3 kB / 331 MB, free: 1.922 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.00581, allocations: 179.5 kB / 331.2 MB, free: 1.746 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.557e-05/0.005856, allocations: 52 kB / 331.2 MB, free: 1.695 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.139e-05/0.005897, allocations: 48 kB / 331.3 MB, free: 1.648 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.592e-05/0.005953, allocations: 107.6 kB / 331.4 MB, free: 1.543 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.00607, allocations: 180.1 kB / 331.6 MB, free: 1.367 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.006402, allocations: 358.7 kB / 331.9 MB, free: 1.016 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.253e-06/0.006403, allocations: 0 / 331.9 MB, free: 1.016 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.81e-07/0.006403, allocations: 0 / 331.9 MB, free: 1.016 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.006407, allocations: 0 / 331.9 MB, free: 1.016 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.0006128/0.00702, allocations: 0.6765 MB / 332.6 MB, free: 320 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.654e-05/0.007046, allocations: 8.031 kB / 332.6 MB, free: 312 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.605e-05/0.007112, allocations: 72.89 kB / 332.7 MB, free: 240 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/0.007514, allocations: 214 kB / 332.9 MB, free: 15.99 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.007544, allocations: 33.38 kB / 332.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.007587, allocations: 44.38 kB / 333 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000362/0.007949, allocations: 419.7 kB / 333.4 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.00796, allocations: 192 / 333.4 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.007981, allocations: 24.31 kB / 333.4 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.007991, allocations: 15.94 kB / 333.4 MB, free: 15.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.008133, allocations: 128 kB / 333.5 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.009254, allocations: 1.297 MB / 334.8 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.009433, allocations: 149 kB / 335 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.633e-05/0.009519, allocations: 81.66 kB / 335.1 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.009532, allocations: 4 kB / 335.1 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.009551, allocations: 38.56 kB / 335.1 MB, free: 13.63 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 1.212e-06/0.009552, allocations: 0 / 335.1 MB, free: 13.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.001222/0.01077, allocations: 0.8536 MB / 335.9 MB, free: 12.71 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.01081, allocations: 81.11 kB / 336 MB, free: 12.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.01094, allocations: 240.8 kB / 336.3 MB, free: 12.37 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.01096, allocations: 29.7 kB / 336.3 MB, free: 12.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.0111, allocations: 252.1 kB / 336.5 MB, free: 12.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.516e-05/0.01115, allocations: 122.9 kB / 336.7 MB, free: 11.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.958e-05/0.01122, allocations: 82.11 kB / 336.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.711e-05/0.01131, allocations: 342.8 kB / 337.1 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.9e-05/0.01136, allocations: 40.97 kB / 337.1 MB, free: 11.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.354e-05/0.01145, allocations: 144.9 kB / 337.3 MB, free: 11.31 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.01162, allocations: 228.2 kB / 337.5 MB, free: 11.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01163, allocations: 4 kB / 337.5 MB, free: 11.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002354/0.01186, allocations: 245.9 kB / 337.7 MB, free: 10.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.01187, allocations: 8 kB / 337.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.01188, allocations: 384 / 337.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.916e-05/0.01196, allocations: 32.83 kB / 337.8 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/0.01226, allocations: 151 kB / 337.9 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005396/0.0128, allocations: 1.206 MB / 339.1 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.033e-05/0.01289, allocations: 16 kB / 339.1 MB, free: 9.297 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.0129, allocations: 8 kB / 339.1 MB, free: 9.289 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 8.303e-05/0.01299, allocations: 133.7 kB / 339.3 MB, free: 9.148 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.01303, allocations: 35.91 kB / 339.3 MB, free: 9.113 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/0.01307, allocations: 38.11 kB / 339.3 MB, free: 9.078 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.01307, allocations: 7.938 kB / 339.3 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.01307, allocations: 4.031 kB / 339.4 MB, free: 9.066 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01308, allocations: 3.984 kB / 339.4 MB, free: 9.062 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004142/0.01349, allocations: 401.1 kB / 339.7 MB, free: 8.637 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01349, allocations: 0 / 339.7 MB, free: 8.637 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.01376, allocations: 129.1 kB / 339.9 MB, free: 8.516 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.991e-05/0.01381, allocations: 20.84 kB / 339.9 MB, free: 8.492 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.01382, allocations: 11.98 kB / 339.9 MB, free: 8.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004544/0.01427, allocations: 1.186 MB / 341.1 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01427, allocations: 0 / 341.1 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.01455, allocations: 415.8 kB / 341.5 MB, free: 6.773 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.0146, allocations: 31.8 kB / 341.5 MB, free: 6.742 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.01462, allocations: 12 kB / 341.5 MB, free: 6.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.01473, allocations: 15.98 kB / 341.6 MB, free: 6.715 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.01477, allocations: 27.89 kB / 341.6 MB, free: 6.688 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.01478, allocations: 15.94 kB / 341.6 MB, free: 6.672 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.422e-05/0.01483, allocations: 78.78 kB / 341.7 MB, free: 6.594 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01483, allocations: 0 / 341.7 MB, free: 6.594 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002325/0.01507, allocations: 92 kB / 341.8 MB, free: 6.504 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 6.125e-05/0.01513, allocations: 88.34 kB / 341.9 MB, free: 6.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002556/0.01538, allocations: 296 kB / 342.1 MB, free: 6.105 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.01539, allocations: 4.5 kB / 342.1 MB, free: 6.102 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.01551, allocations: 204 kB / 342.3 MB, free: 5.887 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.01576, allocations: 50.61 kB / 342.4 MB, free: 5.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009112/0.01667, allocations: 0.7752 MB / 343.2 MB, free: 5.027 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.538e-05/0.01673, allocations: 105.3 kB / 343.3 MB, free: 4.898 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.304e-05/0.01683, allocations: 38.94 kB / 343.3 MB, free: 4.859 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/0.01712, allocations: 99.36 kB / 343.4 MB, free: 4.762 MB / 314.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01712, allocations: 0 / 343.4 MB, free: 4.762 MB / 314.7 MB Notification: Performance of Templates: time 0.005649/0.02277, allocations: 3.52 MB / 346.9 MB, free: 1.312 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 -s gbode -gbm=radauIIA3 -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: 2.9578798529691994]