Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.000962/0.000962, allocations: 80.8 kB / 21.49 MB, free: 3 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.001019/0.001019, allocations: 172.7 kB / 24.91 MB, free: 9.215 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.5 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.2646/0.2646, allocations: 34.26 MB / 296.1 MB, free: 0.7109 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.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 325.2 MB, free: 7.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.914e-05, allocations: 2.312 kB / 325.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002706/0.002725, allocations: 1.828 MB / 327.1 MB, free: 5.848 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000205/0.00293, allocations: 91.59 kB / 327.2 MB, free: 5.758 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.904e-05/0.002979, allocations: 0 / 327.2 MB, free: 5.758 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.464e-05/0.003034, allocations: 15.86 kB / 327.2 MB, free: 5.742 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.197e-05/0.003106, allocations: 19.78 kB / 327.2 MB, free: 5.723 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001118/0.003217, allocations: 27.95 kB / 327.2 MB, free: 5.695 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.003334, allocations: 119.5 kB / 327.3 MB, free: 5.578 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.003456, allocations: 46.7 kB / 327.4 MB, free: 5.535 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.099e-05/0.003537, allocations: 63.88 kB / 327.5 MB, free: 5.473 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.019e-05/0.003597, allocations: 39.89 kB / 327.5 MB, free: 5.434 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.003617, allocations: 8 kB / 327.5 MB, free: 5.426 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.036e-05/0.003627, allocations: 12 kB / 327.5 MB, free: 5.414 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.434e-05/0.003652, allocations: 19.97 kB / 327.5 MB, free: 5.395 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.00368, allocations: 31.92 kB / 327.6 MB, free: 5.363 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.003797, allocations: 79.72 kB / 327.6 MB, free: 5.285 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.003799, allocations: 0 / 327.6 MB, free: 5.285 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.0038, allocations: 4 kB / 327.6 MB, free: 5.281 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.003803, allocations: 3.938 kB / 327.7 MB, free: 5.277 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.000372/0.004175, allocations: 313.9 kB / 328 MB, free: 4.945 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.004213, allocations: 12.03 kB / 328 MB, free: 4.934 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.00425, allocations: 16.92 kB / 328 MB, free: 4.918 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.94e-05/0.00435, allocations: 117.6 kB / 328.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.004362, allocations: 8.375 kB / 328.1 MB, free: 4.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.004376, allocations: 12.36 kB / 328.1 MB, free: 4.758 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.004531, allocations: 98.16 kB / 328.2 MB, free: 4.656 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.004539, allocations: 192 / 328.2 MB, free: 4.656 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.00455, allocations: 12.36 kB / 328.2 MB, free: 4.645 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.004555, allocations: 384 / 328.2 MB, free: 4.645 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.839e-05/0.004594, allocations: 23.94 kB / 328.3 MB, free: 4.621 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004275/0.005021, allocations: 311.5 kB / 328.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.837e-05/0.005089, allocations: 38.56 kB / 328.6 MB, free: 4.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.3e-05/0.005142, allocations: 24.84 kB / 328.6 MB, free: 4.223 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.005151, allocations: 4 kB / 328.6 MB, free: 4.219 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.005171, allocations: 38.69 kB / 328.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.005172, allocations: 0 / 328.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002268/0.005399, allocations: 90.39 kB / 328.7 MB, free: 4.074 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/0.005422, allocations: 51.41 kB / 328.8 MB, free: 4.012 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.069e-05/0.005483, allocations: 122.7 kB / 328.9 MB, free: 3.879 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.005492, allocations: 25.7 kB / 328.9 MB, free: 3.848 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/0.005537, allocations: 111.9 kB / 329.1 MB, free: 3.734 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.121e-05/0.005548, allocations: 19.78 kB / 329.1 MB, free: 3.715 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.005576, allocations: 25.72 kB / 329.1 MB, free: 3.684 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.121e-05/0.005647, allocations: 318.8 kB / 329.4 MB, free: 3.363 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.247e-05/0.00566, allocations: 4 kB / 329.4 MB, free: 3.359 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.427e-05/0.005684, allocations: 26.52 kB / 329.4 MB, free: 3.324 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.37e-05/0.005728, allocations: 38.53 kB / 329.5 MB, free: 3.277 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.005731, allocations: 4 kB / 329.5 MB, free: 3.273 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.679e-05/0.005817, allocations: 78.34 kB / 329.6 MB, free: 3.188 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.00583, allocations: 6.562 kB / 329.6 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.005835, allocations: 4 kB / 329.6 MB, free: 3.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001129/0.005948, allocations: 24.84 kB / 329.6 MB, free: 3.152 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.221e-05/0.006, allocations: 8.312 kB / 329.6 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005678/0.006568, allocations: 1.182 MB / 330.8 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.316e-05/0.006601, allocations: 11.92 kB / 330.8 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.006606, allocations: 4 kB / 330.8 MB, free: 1.863 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * 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 5.941e-05/0.006666, allocations: 121.8 kB / 330.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.694e-05/0.006683, allocations: 4 kB / 330.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.361e-05/0.006696, allocations: 16.42 kB / 330.9 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.006697, allocations: 0 / 330.9 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.006699, allocations: 0 / 330.9 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.006702, allocations: 0 / 330.9 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.006905, allocations: 240.3 kB / 331.2 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.006907, allocations: 0 / 331.2 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.873e-05/0.006936, allocations: 11.98 kB / 331.2 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.853e-05/0.006995, allocations: 32.86 kB / 331.2 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.006999, allocations: 0 / 331.2 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000494/0.007493, allocations: 1.171 MB / 332.4 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.007494, allocations: 0 / 332.4 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.007612, allocations: 177.2 kB / 332.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-06/0.007618, allocations: 7.953 kB / 332.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-06/0.007623, allocations: 0 / 332.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.208e-05/0.007665, allocations: 16.02 kB / 332.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.007698, allocations: 7.984 kB / 332.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.007702, allocations: 4 kB / 332.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.428e-05/0.007716, allocations: 12.84 kB / 332.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.007716, allocations: 4 kB / 332.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001499/0.007866, allocations: 23.94 kB / 332.6 MB, free: 15.86 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 3 * 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.921e-05/0.007935, allocations: 72.42 kB / 332.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.008127, allocations: 163.4 kB / 332.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.008131, allocations: 0 / 332.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.043e-05/0.008201, allocations: 135.4 kB / 333 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.008352, allocations: 7.938 kB / 333 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002926/0.008645, allocations: 209.9 kB / 333.2 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.684e-05/0.008682, allocations: 67.47 kB / 333.3 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.176e-05/0.008703, allocations: 4 kB / 333.3 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.008751, allocations: 55.38 kB / 333.3 MB, free: 15.07 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.008752, allocations: 0 / 333.3 MB, free: 15.07 MB / 314.7 MB Notification: Performance of Templates: time 0.003043/0.01179, allocations: 1.147 MB / 334.5 MB, free: 13.93 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.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.8944104756228626]