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.001461/0.001461, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 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.001563/0.001563, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 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.642/1.642, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.2537/0.2537, allocations: 46.93 MB / 357.1 MB, free: 10.31 MB / 286.1 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 0.001981/0.001981, allocations: 63.89 kB / 0.4914 GB, free: 7.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1448, allocations: 65.99 MB / 0.5558 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003152/0.1479, allocations: 1.735 MB / 0.5575 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.000184/0.1481, allocations: 79.73 kB / 0.5576 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.891e-05/0.1482, allocations: 4 kB / 0.5576 GB, free: 3.539 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 5.325e-05/0.1482, allocations: 15.8 kB / 0.5576 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 8.139e-05/0.1483, allocations: 23.78 kB / 0.5576 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000111/0.1484, allocations: 27.97 kB / 0.5577 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002307/0.1486, allocations: 107.6 kB / 0.5578 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.1488, allocations: 43.95 kB / 0.5578 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.769e-05/0.1489, allocations: 43.91 kB / 0.5579 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.179e-05/0.149, allocations: 51.77 kB / 0.5579 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.149, allocations: 12 kB / 0.5579 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.771e-05/0.149, allocations: 8 kB / 0.5579 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.919e-05/0.1491, allocations: 23.92 kB / 0.5579 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.753e-05/0.1492, allocations: 59.67 kB / 0.558 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.1493, allocations: 111.5 kB / 0.5581 GB, free: 3.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1493, allocations: 3.984 kB / 0.5581 GB, free: 3.016 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1493, allocations: 4 kB / 0.5581 GB, free: 3.012 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1493, allocations: 0 / 0.5581 GB, free: 3.012 MB / 414.1 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.000876/0.1502, allocations: 426.9 kB / 0.5585 GB, free: 2.543 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1503, allocations: 8.031 kB / 0.5585 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.1503, allocations: 8.891 kB / 0.5585 GB, free: 2.527 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.1505, allocations: 172.3 kB / 0.5587 GB, free: 2.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.1505, allocations: 12.38 kB / 0.5587 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.1505, allocations: 16.31 kB / 0.5587 GB, free: 2.293 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003788/0.1509, allocations: 118.2 kB / 0.5588 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1509, allocations: 4.188 kB / 0.5588 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.1509, allocations: 11.94 kB / 0.5589 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1509, allocations: 0 / 0.5589 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004039/0.1513, allocations: 119.2 kB / 0.559 GB, free: 2.043 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008989/0.1522, allocations: 467.4 kB / 0.5594 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.1525, allocations: 82.47 kB / 0.5595 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002578/0.1528, allocations: 68.91 kB / 0.5596 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.1528, allocations: 0 / 0.5596 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.1528, allocations: 30.56 kB / 0.5596 GB, free: 1.328 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.1528, allocations: 0 / 0.5596 GB, free: 1.328 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009471/0.1538, allocations: 271.3 kB / 0.5598 GB, free: 1.035 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.1538, allocations: 55.41 kB / 0.5599 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.1539, allocations: 117.8 kB / 0.56 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1539, allocations: 29.7 kB / 0.56 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.41e-05/0.154, allocations: 108.2 kB / 0.5601 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.154, allocations: 27.78 kB / 0.5602 GB, free: 0.668 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.1541, allocations: 17.72 kB / 0.5602 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002491/0.1543, allocations: 314.8 kB / 0.5605 GB, free: 336 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.1545, allocations: 35.97 kB / 0.5605 GB, free: 300 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.1547, allocations: 66.52 kB / 0.5606 GB, free: 224 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.1551, allocations: 102.4 kB / 0.5607 GB, free: 112 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.1551, allocations: 7.938 kB / 0.5607 GB, free: 104 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004572/0.1555, allocations: 138.4 kB / 0.5608 GB, free: 15.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1555, allocations: 4 kB / 0.5608 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1555, allocations: 0 / 0.5608 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001686/0.1557, allocations: 24.84 kB / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.1558, allocations: 31.86 kB / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/0.1572, allocations: 1.4 MB / 0.5622 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.1573, allocations: 19.95 kB / 0.5623 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.1573, allocations: 4 kB / 0.5623 GB, free: 14.33 MB / 430.1 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 0.000113/0.1574, allocations: 124 kB / 0.5624 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.1575, allocations: 11.89 kB / 0.5624 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.194e-05/0.1575, allocations: 8.516 kB / 0.5624 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1575, allocations: 7.984 kB / 0.5624 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1575, allocations: 4.062 kB / 0.5624 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1575, allocations: 0 / 0.5624 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007503/0.1583, allocations: 420.1 kB / 0.5628 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.1583, allocations: 4 kB / 0.5628 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.1584, allocations: 20 kB / 0.5628 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.331e-05/0.1584, allocations: 20.86 kB / 0.5629 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1585, allocations: 3.984 kB / 0.5629 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001164/0.1596, allocations: 1.394 MB / 0.5642 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1596, allocations: 0 / 0.5642 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005016/0.1601, allocations: 253.1 kB / 0.5645 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/0.1602, allocations: 81.06 kB / 0.5645 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.1602, allocations: 128 / 0.5645 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.1603, allocations: 15.98 kB / 0.5646 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.1604, allocations: 11.98 kB / 0.5646 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.1604, allocations: 4 kB / 0.5646 GB, free: 11.71 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.056e-05/0.1604, allocations: 91.27 kB / 0.5647 GB, free: 11.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1604, allocations: 0 / 0.5647 GB, free: 11.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002835/0.1607, allocations: 39.83 kB / 0.5647 GB, free: 11.58 MB / 430.1 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 0.0001225/0.1608, allocations: 95.19 kB / 0.5648 GB, free: 11.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005782/0.1614, allocations: 202.6 kB / 0.565 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1614, allocations: 4.125 kB / 0.565 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002854/0.1617, allocations: 158.6 kB / 0.5651 GB, free: 11.1 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.162, allocations: 4.141 kB / 0.5651 GB, free: 11.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005125/0.1625, allocations: 220.9 kB / 0.5654 GB, free: 10.85 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.1629, allocations: 0.7002 MB / 0.566 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.328e-05/0.1629, allocations: 7.688 kB / 0.5661 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.163, allocations: 15.44 kB / 0.5661 GB, free: 10.1 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.163, allocations: 0 / 0.5661 GB, free: 10.1 MB / 430.1 MB Notification: Performance of Templates: time 0.004362/0.1673, allocations: 1.127 MB / 0.5672 GB, free: 8.973 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.31946387141943]