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.001503/0.001503, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001194/0.001194, allocations: 160.2 kB / 24.91 MB, free: 8.758 MB / 18.57 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.023/1.023, allocations: 177 MB / 205.2 MB, free: 5.438 MB / 186.7 MB " [Timeout remaining time 179] 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.3178/0.3178, allocations: 34.87 MB / 296.6 MB, free: 440 kB / 266.7 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 1.583e-06/1.583e-06, allocations: 0 / 325.9 MB, free: 7.113 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.464e-05, allocations: 7.953 kB / 325.9 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002653/0.002678, allocations: 2.011 MB / 328 MB, free: 5.086 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007756/0.003453, allocations: 0.5928 MB / 328.5 MB, free: 4.488 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.917e-05/0.003522, allocations: 4 kB / 328.5 MB, free: 4.484 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.003664, allocations: 27.78 kB / 328.6 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.747e-05/0.003761, allocations: 43.64 kB / 328.6 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.00389, allocations: 47.92 kB / 328.7 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.004028, allocations: 159.3 kB / 328.8 MB, free: 4.211 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.004156, allocations: 46.36 kB / 328.9 MB, free: 4.168 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.004279, allocations: 87.86 kB / 329 MB, free: 4.082 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.773e-05/0.004347, allocations: 47.88 kB / 329 MB, free: 4.035 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.00437, allocations: 12 kB / 329 MB, free: 4.023 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.588e-05/0.004385, allocations: 12 kB / 329 MB, free: 4.012 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.546e-05/0.004411, allocations: 31.84 kB / 329.1 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.596e-05/0.004447, allocations: 44.67 kB / 329.1 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.004575, allocations: 111.6 kB / 329.2 MB, free: 3.828 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.004577, allocations: 0 / 329.2 MB, free: 3.828 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.004578, allocations: 0 / 329.2 MB, free: 3.828 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.004582, allocations: 4 kB / 329.2 MB, free: 3.824 MB / 298.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.0003728/0.004955, allocations: 342 kB / 329.5 MB, free: 3.465 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.004986, allocations: 12.03 kB / 329.6 MB, free: 3.453 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.005023, allocations: 20.92 kB / 329.6 MB, free: 3.434 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.005161, allocations: 137.5 kB / 329.7 MB, free: 3.273 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.005172, allocations: 12.66 kB / 329.7 MB, free: 3.262 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.005186, allocations: 16.38 kB / 329.7 MB, free: 3.246 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.005332, allocations: 105.1 kB / 329.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.00534, allocations: 4.188 kB / 329.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.005349, allocations: 4.375 kB / 329.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.005356, allocations: 7.938 kB / 329.9 MB, free: 3.121 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.847e-05/0.005404, allocations: 36.75 kB / 329.9 MB, free: 3.086 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000497/0.005901, allocations: 447.2 kB / 330.3 MB, free: 2.609 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.006002, allocations: 42.5 kB / 330.4 MB, free: 2.559 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.696e-05/0.006019, allocations: 8.984 kB / 330.4 MB, free: 2.547 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.006037, allocations: 11.98 kB / 330.4 MB, free: 2.535 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.006056, allocations: 30.56 kB / 330.4 MB, free: 2.496 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.006058, allocations: 0 / 330.4 MB, free: 2.496 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001189/0.006177, allocations: 45.69 kB / 330.5 MB, free: 2.445 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.006229, allocations: 59.34 kB / 330.5 MB, free: 2.375 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.263e-05/0.006322, allocations: 147.8 kB / 330.7 MB, free: 2.219 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.006333, allocations: 25.7 kB / 330.7 MB, free: 2.188 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.006387, allocations: 135.7 kB / 330.8 MB, free: 2.051 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.548e-06/0.006396, allocations: 11.91 kB / 330.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.006433, allocations: 37.64 kB / 330.9 MB, free: 1.996 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.442e-05/0.006508, allocations: 322.8 kB / 331.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.838e-05/0.006526, allocations: 8 kB / 331.2 MB, free: 1.664 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.998e-05/0.006556, allocations: 36.23 kB / 331.2 MB, free: 1.613 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.69e-05/0.006613, allocations: 64.12 kB / 331.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006615, allocations: 0 / 331.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.187e-05/0.006697, allocations: 77.55 kB / 331.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.006711, allocations: 8 kB / 331.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.006715, allocations: 0 / 331.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.006726, allocations: 0 / 331.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.006838, allocations: 24.23 kB / 331.4 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.006843, allocations: 7.938 kB / 331.4 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.785e-05/0.006881, allocations: 15.92 kB / 331.4 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.00689, allocations: 8 kB / 331.4 MB, free: 1.391 MB / 298.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 5.468e-05/0.006945, allocations: 109.8 kB / 331.5 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.598e-05/0.006961, allocations: 8.125 kB / 331.5 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.241e-05/0.006983, allocations: 16.45 kB / 331.6 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.006985, allocations: 0 / 331.6 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.006986, allocations: 0 / 331.6 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.006988, allocations: 0 / 331.6 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.095e-05/0.007079, allocations: 105.8 kB / 331.7 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.00708, allocations: 0 / 331.7 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.443e-05/0.007125, allocations: 19.92 kB / 331.7 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.007126, allocations: 0 / 331.7 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-06/0.00713, allocations: 0 / 331.7 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.007131, allocations: 0 / 331.7 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.007132, allocations: 7.938 kB / 331.7 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.799e-05/0.00721, allocations: 143.5 kB / 331.8 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.007225, allocations: 15.83 kB / 331.9 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.007235, allocations: 0 / 331.9 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.831e-05/0.007273, allocations: 4 kB / 331.9 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.007306, allocations: 3.984 kB / 331.9 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.00731, allocations: 4 kB / 331.9 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.702e-05/0.007337, allocations: 31.92 kB / 331.9 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.007337, allocations: 0 / 331.9 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001402/0.007477, allocations: 27.89 kB / 331.9 MB, free: 0.8555 MB / 298.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 8.436e-05/0.007562, allocations: 76.42 kB / 332 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.141e-05/0.007643, allocations: 37.55 kB / 332 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.00765, allocations: 4 kB / 332 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.149e-05/0.007671, allocations: 20.78 kB / 332.1 MB, free: 0.707 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.007827, allocations: 4.234 kB / 332.1 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003822/0.008209, allocations: 266.5 kB / 332.3 MB, free: 424 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.054e-05/0.008249, allocations: 67.33 kB / 332.4 MB, free: 336 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.009e-05/0.008279, allocations: 3.984 kB / 332.4 MB, free: 332 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.554e-05/0.008325, allocations: 55.38 kB / 332.4 MB, free: 276 kB / 298.7 MB Notification: Performance of SimCode: time 6.62e-07/0.008326, allocations: 0 / 332.4 MB, free: 276 kB / 298.7 MB Notification: Performance of Templates: time 0.00226/0.01059, allocations: 0.6841 MB / 333.1 MB, free: 15.6 MB / 314.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.0389277692884207]