Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008461/0.0008461, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001118/0.001118, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.007/1.007, allocations: 177.1 MB / 205 MB, free: 5.613 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.2632/0.2632, allocations: 34.25 MB / 295.7 MB, free: 0.7148 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.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/2.035e-05, allocations: 2.312 kB / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002826/0.002847, allocations: 1.973 MB / 380 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007549/0.003602, allocations: 0.592 MB / 380.6 MB, free: 76 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.701e-05/0.003689, allocations: 7.938 kB / 380.6 MB, free: 68 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001854/0.003874, allocations: 35.7 kB / 380.6 MB, free: 32 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.003992, allocations: 31.7 kB / 380.7 MB, free: 0 / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.004161, allocations: 43.97 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.004318, allocations: 155.3 kB / 380.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.00446, allocations: 49.7 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.004574, allocations: 79.81 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.23e-05/0.004647, allocations: 47.88 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.004672, allocations: 12 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.765e-05/0.00469, allocations: 16 kB / 381 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.889e-05/0.004719, allocations: 35.89 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.446e-05/0.004763, allocations: 47.84 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.004904, allocations: 95.66 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.145e-06/0.004906, allocations: 0 / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.004907, allocations: 0 / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.004911, allocations: 4 kB / 381.2 MB, free: 15.42 MB / 362.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.0004938/0.005405, allocations: 472.3 kB / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.00545, allocations: 8.031 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.575e-05/0.005506, allocations: 24.84 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.005685, allocations: 152.3 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.005703, allocations: 12.66 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.005725, allocations: 12.38 kB / 381.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.005944, allocations: 125.1 kB / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.005955, allocations: 4.125 kB / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.005972, allocations: 8.312 kB / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.005982, allocations: 7.938 kB / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.32e-05/0.006075, allocations: 48.8 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007357/0.006811, allocations: 0.5478 MB / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.00695, allocations: 51.12 kB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.804e-05/0.006978, allocations: 15.81 kB / 382.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.006998, allocations: 0 / 382.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.007019, allocations: 41.39 kB / 382.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 7.41e-07/0.007019, allocations: 0 / 382.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001597/0.007179, allocations: 65.58 kB / 382.8 MB, free: 13.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.007206, allocations: 51.41 kB / 382.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.007324, allocations: 212.4 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.007333, allocations: 25.7 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.054e-05/0.007404, allocations: 182.5 kB / 383.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.191e-05/0.007416, allocations: 15.86 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.007449, allocations: 27.38 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.007562, allocations: 0.4961 MB / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.481e-05/0.007587, allocations: 15.98 kB / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.716e-05/0.007634, allocations: 54.44 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.242e-05/0.007707, allocations: 74.59 kB / 383.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.007709, allocations: 0 / 383.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001121/0.007821, allocations: 101.5 kB / 384 MB, free: 12.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.007833, allocations: 4 kB / 384 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.007838, allocations: 4.125 kB / 384 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.007854, allocations: 4 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.121e-05/0.007925, allocations: 27.92 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.007931, allocations: 0 / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.004e-05/0.007971, allocations: 19.88 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.007979, allocations: 7.938 kB / 384.1 MB, free: 12.28 MB / 362.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 6.67e-05/0.008046, allocations: 164.5 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.008064, allocations: 7.953 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.676e-05/0.008091, allocations: 12.47 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.008092, allocations: 4 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.008095, allocations: 0 / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.008099, allocations: 3.984 kB / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.008215, allocations: 148.5 kB / 384.4 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.008216, allocations: 0 / 384.4 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.621e-05/0.008252, allocations: 19.92 kB / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.008254, allocations: 0 / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-06/0.00826, allocations: 4 kB / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.008261, allocations: 0 / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.008261, allocations: 0 / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.00837, allocations: 203.8 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.107e-05/0.008381, allocations: 15.95 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.008391, allocations: 0 / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.792e-05/0.008429, allocations: 7.984 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.008462, allocations: 3.984 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.008466, allocations: 4 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.229e-05/0.008518, allocations: 147.2 kB / 384.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008518, allocations: 0 / 384.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001588/0.008677, allocations: 27.89 kB / 384.9 MB, free: 11.46 MB / 362.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 6.686e-05/0.008743, allocations: 95.19 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.008846, allocations: 51.61 kB / 385 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.008848, allocations: 0 / 385 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.459e-05/0.008872, allocations: 23.73 kB / 385 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.009063, allocations: 11.94 kB / 385 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004/0.009463, allocations: 259.4 kB / 385.3 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.363e-05/0.009506, allocations: 67.33 kB / 385.4 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.66e-05/0.009533, allocations: 0 / 385.4 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.009567, allocations: 12.5 kB / 385.4 MB, free: 10.88 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.009568, allocations: 0 / 385.4 MB, free: 10.88 MB / 362.7 MB Notification: Performance of Templates: time 0.00233/0.0119, allocations: 0.6864 MB / 386.1 MB, free: 10.2 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.2882719789631665]