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.0009881/0.0009881, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009554/0.0009554, allocations: 161 kB / 24.56 MB, free: 16 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 0.9873/0.9873, allocations: 177.1 MB / 205 MB, free: 5.648 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.2444/0.2444, allocations: 32.8 MB / 294.3 MB, free: 1.273 MB / 266.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.212e-06/1.212e-06, allocations: 0 / 376 MB, free: 4.711 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/1.938e-05, allocations: 6.25 kB / 376 MB, free: 4.703 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002252/0.002272, allocations: 1.984 MB / 378 MB, free: 2.703 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.003362, allocations: 0.5802 MB / 378.6 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.496e-05/0.003437, allocations: 4 kB / 378.6 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.00359, allocations: 39.72 kB / 378.6 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.417e-05/0.003684, allocations: 35.7 kB / 378.6 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.003812, allocations: 43.88 kB / 378.7 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.003956, allocations: 155.4 kB / 378.8 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.004068, allocations: 45.72 kB / 378.9 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.004169, allocations: 83.86 kB / 379 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.413e-05/0.004234, allocations: 43.88 kB / 379 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.004257, allocations: 16 kB / 379 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.638e-05/0.004273, allocations: 16 kB / 379 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.764e-05/0.004301, allocations: 35.84 kB / 379.1 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.087e-05/0.004342, allocations: 43.91 kB / 379.1 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.004472, allocations: 99.64 kB / 379.2 MB, free: 1.465 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.004474, allocations: 0 / 379.2 MB, free: 1.465 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.004474, allocations: 3.938 kB / 379.2 MB, free: 1.461 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.004478, allocations: 0 / 379.2 MB, free: 1.461 MB / 346.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.0004098/0.004888, allocations: 472.3 kB / 379.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.004921, allocations: 12.03 kB / 379.7 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.004965, allocations: 28.84 kB / 379.7 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.005103, allocations: 140.4 kB / 379.8 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.005114, allocations: 12.66 kB / 379.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.005132, allocations: 12.38 kB / 379.9 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.005299, allocations: 125.1 kB / 380 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.005307, allocations: 192 / 380 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.00532, allocations: 4.375 kB / 380 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.005328, allocations: 7.938 kB / 380 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.208e-05/0.00541, allocations: 44.81 kB / 380.1 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005662/0.005976, allocations: 0.5556 MB / 380.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.006099, allocations: 55.06 kB / 380.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.686e-05/0.006125, allocations: 19.84 kB / 380.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.006145, allocations: 4 kB / 380.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.006162, allocations: 33.39 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.006163, allocations: 0 / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001434/0.006307, allocations: 65.58 kB / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.00633, allocations: 55.41 kB / 380.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.41e-05/0.006424, allocations: 204.6 kB / 381 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.006432, allocations: 25.7 kB / 381.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.513e-05/0.006497, allocations: 186.4 kB / 381.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.059e-05/0.006508, allocations: 19.84 kB / 381.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.006542, allocations: 31.38 kB / 381.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.006658, allocations: 0.4961 MB / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.242e-05/0.006681, allocations: 4 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.491e-05/0.006726, allocations: 62.36 kB / 381.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.129e-05/0.006797, allocations: 74.31 kB / 381.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.0068, allocations: 4 kB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.928e-05/0.006899, allocations: 89.56 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.00691, allocations: 4 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.006915, allocations: 4 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.006927, allocations: 0 / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.618e-05/0.006993, allocations: 27.92 kB / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.006999, allocations: 0 / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.968e-05/0.007038, allocations: 24.02 kB / 382.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.007044, allocations: 0 / 382.1 MB, free: 14.33 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.028e-05/0.007104, allocations: 164.5 kB / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.939e-05/0.007124, allocations: 16.14 kB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.234e-05/0.007146, allocations: 12.47 kB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.007147, allocations: 0 / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.007151, allocations: 4 kB / 382.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.007153, allocations: 0 / 382.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.007264, allocations: 156.5 kB / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.82e-07/0.007264, allocations: 0 / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.095e-05/0.007295, allocations: 16 kB / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.007296, allocations: 0 / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.007304, allocations: 7.984 kB / 382.4 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.007304, allocations: 80 / 382.4 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.007307, allocations: 7.984 kB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.00741, allocations: 203.8 kB / 382.6 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.042e-05/0.007421, allocations: 7.953 kB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-06/0.007429, allocations: 0 / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.712e-05/0.007467, allocations: 4 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.0075, allocations: 11.92 kB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.007502, allocations: 0 / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.257e-05/0.007554, allocations: 151.2 kB / 382.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007554, allocations: 0 / 382.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001629/0.007717, allocations: 27.89 kB / 382.8 MB, free: 13.5 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 5.561e-05/0.007773, allocations: 95.23 kB / 382.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.698e-05/0.00786, allocations: 43.61 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.007861, allocations: 0 / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.216e-05/0.007883, allocations: 19.62 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.008052, allocations: 12.19 kB / 383 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.008385, allocations: 263.1 kB / 383.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.797e-05/0.008423, allocations: 63.34 kB / 383.3 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.637e-05/0.00845, allocations: 11.98 kB / 383.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.008477, allocations: 8.5 kB / 383.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.008478, allocations: 4 kB / 383.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of Templates: time 0.002166/0.01064, allocations: 0.6758 MB / 384 MB, free: 12.25 MB / 362.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.053955383133143]