Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001778/0.001778, allocations: 111.8 kB / 19.13 MB, free: 3.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002146/0.002146, allocations: 208.9 kB / 22.08 MB, free: 0.9727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.4 MB / 252.3 MB, free: 100 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2574/0.2574, allocations: 46.16 MB / 351.8 MB, free: 14.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors") translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002293, allocations: 80.8 kB / 490.8 MB, free: 28.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1546, allocations: 62.45 MB / 0.5403 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.004957/0.1596, allocations: 1.938 MB / 0.5422 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.1612, allocations: 0.5959 MB / 0.5428 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.1613, allocations: 8 kB / 0.5428 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.1616, allocations: 31.72 kB / 0.5428 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.1618, allocations: 31.7 kB / 0.5429 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.162, allocations: 51.88 kB / 0.5429 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.1623, allocations: 143.5 kB / 0.5431 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.1625, allocations: 68.45 kB / 0.5431 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.1626, allocations: 55.8 kB / 0.5432 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.1628, allocations: 71.67 kB / 0.5432 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.136e-05/0.1629, allocations: 16 kB / 0.5433 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.968e-05/0.1629, allocations: 16 kB / 0.5433 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.841e-05/0.163, allocations: 27.92 kB / 0.5433 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.991e-05/0.1631, allocations: 59.67 kB / 0.5434 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.1634, allocations: 163.3 kB / 0.5435 GB, free: 1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1634, allocations: 0 / 0.5435 GB, free: 1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1634, allocations: 4 kB / 0.5435 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1634, allocations: 0 / 0.5435 GB, free: 0.9961 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0009213/0.1644, allocations: 447.1 kB / 0.5439 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.1644, allocations: 8.031 kB / 0.5439 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.731e-05/0.1645, allocations: 16.84 kB / 0.544 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/0.1649, allocations: 212 kB / 0.5442 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.165, allocations: 16.59 kB / 0.5442 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.165, allocations: 12.38 kB / 0.5442 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005044/0.1655, allocations: 144.1 kB / 0.5443 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1655, allocations: 4 kB / 0.5443 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.1656, allocations: 4 kB / 0.5443 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.1656, allocations: 4 kB / 0.5443 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004668/0.1661, allocations: 104.8 kB / 0.5444 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.1676, allocations: 0.6068 MB / 0.545 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/0.168, allocations: 82.58 kB / 0.5451 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.1681, allocations: 24.97 kB / 0.5451 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.1682, allocations: 0 / 0.5451 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/0.1682, allocations: 38.56 kB / 0.5452 GB, free: 15.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.1682, allocations: 0 / 0.5452 GB, free: 15.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005865/0.1688, allocations: 109.5 kB / 0.5453 GB, free: 15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/0.1689, allocations: 51.41 kB / 0.5453 GB, free: 14.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.1692, allocations: 162.3 kB / 0.5455 GB, free: 14.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/0.1693, allocations: 25.7 kB / 0.5455 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.1694, allocations: 135.8 kB / 0.5456 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.1694, allocations: 15.84 kB / 0.5457 GB, free: 14.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-05/0.1695, allocations: 33.66 kB / 0.5457 GB, free: 14.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002201/0.1698, allocations: 318.8 kB / 0.546 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.17, allocations: 27.97 kB / 0.546 GB, free: 14.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.1702, allocations: 64.27 kB / 0.5461 GB, free: 14.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00035/0.1705, allocations: 100.2 kB / 0.5462 GB, free: 14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.1706, allocations: 0 / 0.5462 GB, free: 14 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004453/0.171, allocations: 121.6 kB / 0.5463 GB, free: 13.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.171, allocations: 8 kB / 0.5463 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1711, allocations: 0 / 0.5463 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.1711, allocations: 0 / 0.5463 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.1713, allocations: 39.78 kB / 0.5463 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1713, allocations: 4 kB / 0.5463 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.1715, allocations: 19.89 kB / 0.5464 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.1715, allocations: 3.984 kB / 0.5464 GB, free: 13.8 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000139/0.1717, allocations: 125.9 kB / 0.5465 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.151e-05/0.1717, allocations: 7.953 kB / 0.5465 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.901e-05/0.1718, allocations: 12.31 kB / 0.5465 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.1718, allocations: 3.938 kB / 0.5465 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1718, allocations: 0 / 0.5465 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.1718, allocations: 0 / 0.5465 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004016/0.1722, allocations: 209.6 kB / 0.5467 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1722, allocations: 0 / 0.5467 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.1724, allocations: 23.86 kB / 0.5467 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.1724, allocations: 4 kB / 0.5467 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.1724, allocations: 4 kB / 0.5467 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.638e-06/0.1725, allocations: 4.188 kB / 0.5467 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1725, allocations: 0 / 0.5467 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004371/0.1729, allocations: 187.5 kB / 0.5469 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.485e-05/0.173, allocations: 85.05 kB / 0.547 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.173, allocations: 0 / 0.547 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.1732, allocations: 11.94 kB / 0.547 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.1733, allocations: 7.984 kB / 0.547 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.1733, allocations: 4 kB / 0.547 GB, free: 13.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001334/0.1735, allocations: 110.1 kB / 0.5471 GB, free: 12.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1735, allocations: 0 / 0.5471 GB, free: 12.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004511/0.1739, allocations: 31.89 kB / 0.5472 GB, free: 12.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000205/0.1742, allocations: 99.17 kB / 0.5472 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003987/0.1746, allocations: 71.89 kB / 0.5473 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1746, allocations: 0 / 0.5473 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.1747, allocations: 27.98 kB / 0.5473 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.1752, allocations: 9.672 kB / 0.5474 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000773/0.176, allocations: 297.9 kB / 0.5476 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004835/0.1765, allocations: 0.7041 MB / 0.5483 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.273e-05/0.1766, allocations: 15.44 kB / 0.5483 GB, free: 11.61 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1766, allocations: 0 / 0.5483 GB, free: 11.61 MB / 414.1 MB Notification: Performance of Templates: time 0.004467/0.1811, allocations: 1.281 MB / 0.5496 GB, free: 10.33 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.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: 7.350254192017019]