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.0009244/0.0009244, allocations: 88.86 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.000905/0.000905, allocations: 163.4 kB / 24.91 MB, free: 8.715 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 0.9875/0.9875, allocations: 177 MB / 205.2 MB, free: 5.059 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.2555/0.2555, allocations: 34.86 MB / 296.6 MB, free: 416 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.292e-06/1.292e-06, allocations: 0 / 325.9 MB, free: 7.188 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.463e-05/1.592e-05, allocations: 5.406 kB / 325.9 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002295/0.00231, allocations: 1.963 MB / 327.9 MB, free: 5.207 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008044/0.003115, allocations: 0.5928 MB / 328.4 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.501e-05/0.00319, allocations: 4 kB / 328.5 MB, free: 4.605 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.003326, allocations: 31.72 kB / 328.5 MB, free: 4.574 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.623e-05/0.003422, allocations: 43.62 kB / 328.5 MB, free: 4.531 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001291/0.003551, allocations: 35.95 kB / 328.6 MB, free: 4.496 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.003687, allocations: 155.4 kB / 328.7 MB, free: 4.344 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.003792, allocations: 54.34 kB / 328.8 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.003892, allocations: 83.88 kB / 328.8 MB, free: 4.211 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.482e-05/0.003957, allocations: 43.88 kB / 328.9 MB, free: 4.168 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.003983, allocations: 16 kB / 328.9 MB, free: 4.152 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.67e-05/0.004, allocations: 12 kB / 328.9 MB, free: 4.141 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.746e-05/0.004027, allocations: 35.84 kB / 329 MB, free: 4.105 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.332e-05/0.004071, allocations: 48.64 kB / 329 MB, free: 4.059 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.004198, allocations: 107.5 kB / 329.1 MB, free: 3.953 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.422e-06/0.004199, allocations: 0 / 329.1 MB, free: 3.953 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.0042, allocations: 0 / 329.1 MB, free: 3.953 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.996e-06/0.004203, allocations: 0 / 329.1 MB, free: 3.953 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.0003555/0.004558, allocations: 346 kB / 329.4 MB, free: 3.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.758e-05/0.004586, allocations: 8.031 kB / 329.5 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.004622, allocations: 20.92 kB / 329.5 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.004755, allocations: 142.2 kB / 329.6 MB, free: 3.398 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.004766, allocations: 12.66 kB / 329.6 MB, free: 3.387 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.004784, allocations: 16.36 kB / 329.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.00492, allocations: 113.1 kB / 329.7 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.004929, allocations: 4.188 kB / 329.8 MB, free: 3.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.004938, allocations: 4.375 kB / 329.8 MB, free: 3.246 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.004944, allocations: 11.94 kB / 329.8 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.724e-05/0.004991, allocations: 28.83 kB / 329.8 MB, free: 3.207 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005186/0.005509, allocations: 451.1 kB / 330.2 MB, free: 2.727 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.571e-05/0.005605, allocations: 38.56 kB / 330.3 MB, free: 2.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.624e-05/0.005621, allocations: 8.859 kB / 330.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.005633, allocations: 0 / 330.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.005653, allocations: 38.62 kB / 330.3 MB, free: 2.621 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.005654, allocations: 0 / 330.3 MB, free: 2.621 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001043/0.005758, allocations: 53.69 kB / 330.4 MB, free: 2.562 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.005784, allocations: 51.41 kB / 330.4 MB, free: 2.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.474e-05/0.005858, allocations: 149 kB / 330.6 MB, free: 2.344 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.005868, allocations: 29.7 kB / 330.6 MB, free: 2.309 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.95e-05/0.005918, allocations: 131.7 kB / 330.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.877e-06/0.005927, allocations: 15.89 kB / 330.7 MB, free: 2.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.005961, allocations: 29.66 kB / 330.8 MB, free: 2.125 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.516e-05/0.006036, allocations: 322.8 kB / 331.1 MB, free: 1.801 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.27e-05/0.006049, allocations: 4 kB / 331.1 MB, free: 1.797 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.269e-05/0.006082, allocations: 56.14 kB / 331.1 MB, free: 1.727 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.159e-05/0.006133, allocations: 56.16 kB / 331.2 MB, free: 1.656 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.006135, allocations: 0 / 331.2 MB, free: 1.656 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.23e-05/0.006207, allocations: 77.55 kB / 331.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.006217, allocations: 5.094 kB / 331.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.006222, allocations: 0 / 331.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.006233, allocations: 4 kB / 331.3 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.17e-05/0.006294, allocations: 28.11 kB / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.856e-06/0.006297, allocations: 0 / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.499e-05/0.006332, allocations: 11.92 kB / 331.3 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.006338, allocations: 4 kB / 331.3 MB, free: 1.523 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.732e-05/0.006396, allocations: 125.7 kB / 331.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.00641, allocations: 4 kB / 331.5 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.959e-05/0.006429, allocations: 12.45 kB / 331.5 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.006433, allocations: 4 kB / 331.5 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.006434, allocations: 0 / 331.5 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-06/0.006436, allocations: 0 / 331.5 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.936e-05/0.006525, allocations: 101.8 kB / 331.6 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.006526, allocations: 256 / 331.6 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.101e-05/0.006557, allocations: 19.94 kB / 331.6 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.006559, allocations: 4 kB / 331.6 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.157e-06/0.006563, allocations: 0 / 331.6 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.006564, allocations: 0 / 331.6 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.006564, allocations: 0 / 331.6 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.698e-05/0.006641, allocations: 143.5 kB / 331.7 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.258e-05/0.006654, allocations: 19.81 kB / 331.8 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.006664, allocations: 4 kB / 331.8 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.55e-05/0.006699, allocations: 8 kB / 331.8 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.212e-05/0.006721, allocations: 3.984 kB / 331.8 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.006726, allocations: 4 kB / 331.8 MB, free: 1.031 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.162e-05/0.006747, allocations: 24.83 kB / 331.8 MB, free: 1.004 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.006747, allocations: 0 / 331.8 MB, free: 1.004 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001369/0.006884, allocations: 31.89 kB / 331.8 MB, free: 0.9727 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 6.858e-05/0.006953, allocations: 76.41 kB / 331.9 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.93e-05/0.007022, allocations: 32.8 kB / 331.9 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.007025, allocations: 4.25 kB / 331.9 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.768e-05/0.007043, allocations: 20.84 kB / 332 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.007166, allocations: 13.14 kB / 332 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003215/0.007487, allocations: 254.2 kB / 332.2 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.512e-05/0.007522, allocations: 63.34 kB / 332.3 MB, free: 468 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.632e-05/0.007549, allocations: 4 kB / 332.3 MB, free: 464 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.007592, allocations: 63.36 kB / 332.3 MB, free: 400 kB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.007593, allocations: 0 / 332.3 MB, free: 400 kB / 298.7 MB Notification: Performance of Templates: time 0.00219/0.009783, allocations: 0.6765 MB / 333 MB, free: 15.73 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 -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: 2.8409420428797603]