Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.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.001104/0.001104, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001384/0.001384, allocations: 166.5 kB / 25.61 MB, free: 8.48 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.9537/0.9537, allocations: 177.1 MB / 206.1 MB, free: 4.508 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.1776/0.1776, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.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.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 377.2 MB, free: 25.63 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.889e-05/2.001e-05, allocations: 2.312 kB / 377.2 MB, free: 25.63 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.004872/0.004892, allocations: 1.957 MB / 379.2 MB, free: 23.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006791/0.005571, allocations: 0.5802 MB / 379.8 MB, free: 23.07 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.813e-05/0.005649, allocations: 7.938 kB / 379.8 MB, free: 23.06 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.005763, allocations: 23.8 kB / 379.8 MB, free: 23.04 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.54e-05/0.005849, allocations: 35.64 kB / 379.8 MB, free: 23 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001117/0.00596, allocations: 51.92 kB / 379.9 MB, free: 22.95 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.006077, allocations: 155.4 kB / 380 MB, free: 22.8 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.806e-05/0.006165, allocations: 41.78 kB / 380.1 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.92e-05/0.006255, allocations: 95.72 kB / 380.2 MB, free: 22.67 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.74e-05/0.006312, allocations: 47.88 kB / 380.2 MB, free: 22.62 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.006331, allocations: 12 kB / 380.2 MB, free: 22.61 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.728e-05/0.006349, allocations: 16 kB / 380.3 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.18e-05/0.00637, allocations: 27.86 kB / 380.3 MB, free: 22.57 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.006405, allocations: 43.91 kB / 380.3 MB, free: 22.52 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.006516, allocations: 107.6 kB / 380.4 MB, free: 22.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.392e-06/0.006518, allocations: 0 / 380.4 MB, free: 22.42 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.006518, allocations: 0 / 380.4 MB, free: 22.42 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.006521, allocations: 0 / 380.4 MB, free: 22.42 MB / 314.7 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.0003147/0.006836, allocations: 480.2 kB / 380.9 MB, free: 21.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.279e-05/0.006859, allocations: 11.98 kB / 380.9 MB, free: 21.9 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.006894, allocations: 24.84 kB / 380.9 MB, free: 21.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.773e-05/0.006991, allocations: 148.4 kB / 381.1 MB, free: 21.7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.007001, allocations: 12.66 kB / 381.1 MB, free: 21.69 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.007015, allocations: 12.38 kB / 381.1 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.007135, allocations: 109.1 kB / 381.2 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.007142, allocations: 192 / 381.2 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.007152, allocations: 8.375 kB / 381.2 MB, free: 21.56 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.007156, allocations: 7.938 kB / 381.2 MB, free: 21.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.535e-05/0.007212, allocations: 37.59 kB / 381.3 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008544/0.01576, allocations: 0.5633 MB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.01586, allocations: 47.02 kB / 381.9 MB, free: 20.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.845e-05/0.01588, allocations: 15.72 kB / 381.9 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.01589, allocations: 4 kB / 381.9 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.309e-05/0.0159, allocations: 37.52 kB / 381.9 MB, free: 20.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.0159, allocations: 4 kB / 381.9 MB, free: 20.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001108/0.01601, allocations: 57.64 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.591e-05/0.01603, allocations: 55.34 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.54e-05/0.01609, allocations: 199.8 kB / 382.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.671e-06/0.0161, allocations: 25.7 kB / 382.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.176e-05/0.01614, allocations: 186.4 kB / 382.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.438e-06/0.01615, allocations: 19.83 kB / 382.5 MB, free: 20.19 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.01619, allocations: 39.31 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.183e-05/0.01623, allocations: 0.4961 MB / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.498e-05/0.01624, allocations: 4 kB / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.606e-05/0.01628, allocations: 62.23 kB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.316e-05/0.01633, allocations: 66.38 kB / 383.1 MB, free: 19.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.01633, allocations: 0 / 383.1 MB, free: 19.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.874e-05/0.01642, allocations: 89.48 kB / 383.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.01643, allocations: 10.19 kB / 383.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.01644, allocations: 3.938 kB / 383.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.605e-06/0.01644, allocations: 8.125 kB / 383.2 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.022e-05/0.01651, allocations: 19.98 kB / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.01652, allocations: 12 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.893e-05/0.01657, allocations: 15.89 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.01657, allocations: 4 kB / 383.3 MB, free: 19.3 MB / 314.7 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 4.195e-05/0.01662, allocations: 160.5 kB / 383.4 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.01664, allocations: 11.95 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.925e-05/0.01666, allocations: 12.45 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.01666, allocations: 256 / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.01666, allocations: 8 kB / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01666, allocations: 4 kB / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.61e-05/0.01676, allocations: 121.2 kB / 383.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01676, allocations: 7.922 kB / 383.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.515e-05/0.0168, allocations: 8 kB / 383.6 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.0168, allocations: 4 kB / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-06/0.0168, allocations: 0 / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.0168, allocations: 0 / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.0168, allocations: 0 / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.437e-05/0.01688, allocations: 203.8 kB / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.019e-05/0.01689, allocations: 7.891 kB / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.0169, allocations: 11.98 kB / 383.8 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.43e-05/0.01695, allocations: 4 kB / 383.8 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/0.01697, allocations: 4 kB / 383.8 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.01698, allocations: 0 / 383.8 MB, free: 18.69 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.109e-05/0.01701, allocations: 146.1 kB / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01701, allocations: 0 / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002175/0.01722, allocations: 31.89 kB / 384 MB, free: 18.52 MB / 314.7 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 4.275e-05/0.01727, allocations: 91.25 kB / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.208e-05/0.01734, allocations: 47.73 kB / 384.2 MB, free: 18.37 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.71e-07/0.01734, allocations: 0 / 384.2 MB, free: 18.37 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.938e-05/0.01736, allocations: 19.61 kB / 384.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.01756, allocations: 11.94 kB / 384.2 MB, free: 18.33 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002819/0.01785, allocations: 257 kB / 384.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.412e-05/0.01787, allocations: 71.33 kB / 384.5 MB, free: 17.96 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.952e-05/0.0179, allocations: 7.984 kB / 384.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.01793, allocations: 82.12 kB / 384.6 MB, free: 17.87 MB / 314.7 MB Notification: Performance of SimCode: time 3.51e-07/0.01793, allocations: 0 / 384.6 MB, free: 17.87 MB / 314.7 MB Notification: Performance of Templates: time 0.008217/0.02615, allocations: 0.7456 MB / 385.3 MB, free: 17.13 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.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.0861671366728842]