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.0008871/0.0008871, allocations: 71.75 kB / 21.69 MB, free: 2.84 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.001025/0.001025, allocations: 169 kB / 25 MB, free: 8.824 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.9732/0.9732, allocations: 177.1 MB / 205.3 MB, free: 5.621 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.2546/0.2546, allocations: 34.26 MB / 296 MB, free: 0.6484 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.694e-06/1.694e-06, allocations: 0 / 378 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/2.045e-05, allocations: 6.312 kB / 378 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002232/0.002252, allocations: 1.965 MB / 380 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007647/0.003017, allocations: 0.5881 MB / 380.6 MB, free: 412 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.474e-05/0.003102, allocations: 4 kB / 380.6 MB, free: 408 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.003275, allocations: 31.72 kB / 380.6 MB, free: 376 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.003399, allocations: 43.64 kB / 380.6 MB, free: 332 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.003551, allocations: 43.94 kB / 380.7 MB, free: 288 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.003709, allocations: 151.4 kB / 380.8 MB, free: 136 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.003844, allocations: 45.72 kB / 380.9 MB, free: 88 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.003958, allocations: 87.8 kB / 380.9 MB, free: 0 / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.139e-05/0.00404, allocations: 43.88 kB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.004066, allocations: 16 kB / 381 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.582e-05/0.004082, allocations: 12 kB / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.679e-05/0.004109, allocations: 31.89 kB / 381.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.319e-05/0.004152, allocations: 47.86 kB / 381.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.004297, allocations: 103.6 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.004299, allocations: 0 / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.0043, allocations: 4 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.004304, allocations: 0 / 381.2 MB, free: 15.75 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.0007483/0.005052, allocations: 472.3 kB / 381.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.005088, allocations: 8.031 kB / 381.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.209e-05/0.00514, allocations: 28.84 kB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.005312, allocations: 151.6 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.005326, allocations: 8.656 kB / 381.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.005342, allocations: 16.31 kB / 381.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.005531, allocations: 121.1 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.005537, allocations: 192 / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.005551, allocations: 8.375 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.00556, allocations: 7.938 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.519e-05/0.005645, allocations: 48.8 kB / 382.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005972/0.006242, allocations: 0.5517 MB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.006379, allocations: 51.12 kB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.797e-05/0.006407, allocations: 15.62 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.006424, allocations: 4 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.006445, allocations: 37.52 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.006446, allocations: 0 / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001646/0.006611, allocations: 65.64 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.006641, allocations: 51.41 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.006751, allocations: 212.5 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.00676, allocations: 25.7 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.107e-05/0.006831, allocations: 186.5 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.096e-05/0.006842, allocations: 15.86 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.006878, allocations: 31.38 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.006983, allocations: 0.4961 MB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.531e-05/0.007009, allocations: 15.92 kB / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.521e-05/0.007054, allocations: 54.44 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.006e-05/0.007124, allocations: 78.34 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.007126, allocations: 0 / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001129/0.007239, allocations: 89.52 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.007252, allocations: 12.12 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.007257, allocations: 0 / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.00727, allocations: 0 / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.955e-05/0.007339, allocations: 27.92 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.007346, allocations: 4 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.928e-05/0.007385, allocations: 15.88 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.007391, allocations: 4 kB / 384.1 MB, free: 12.61 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.505e-05/0.007457, allocations: 164.5 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.007474, allocations: 11.95 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.206e-05/0.007496, allocations: 8.469 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.007498, allocations: 4 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.007502, allocations: 4 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.007506, allocations: 3.984 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.007626, allocations: 156.5 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.007627, allocations: 0 / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.149e-05/0.007659, allocations: 11.98 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.61e-07/0.007659, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.007667, allocations: 4 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.007667, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.007668, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.007781, allocations: 216 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.073e-05/0.007792, allocations: 7.953 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.007804, allocations: 4.062 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.93e-05/0.007843, allocations: 11.97 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.007879, allocations: 4 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.007881, allocations: 0 / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.29e-05/0.007934, allocations: 147.2 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007934, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000158/0.008092, allocations: 31.89 kB / 384.9 MB, free: 11.77 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 7.512e-05/0.008167, allocations: 91.25 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001102/0.008278, allocations: 43.61 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.00828, allocations: 4 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.75e-05/0.008307, allocations: 27.61 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.008498, allocations: 3.938 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000413/0.008911, allocations: 259.4 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.513e-05/0.008956, allocations: 67.33 kB / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.985e-05/0.008986, allocations: 4 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.009017, allocations: 12.5 kB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of SimCode: time 9.41e-07/0.009018, allocations: 0 / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of Templates: time 0.002413/0.01143, allocations: 0.6915 MB / 386 MB, free: 10.52 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.0654603058937937]