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.001488/0.001488, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001115/0.001115, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9211/0.9211, allocations: 177 MB / 204.8 MB, free: 5.582 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.2946/0.2946, allocations: 34.86 MB / 296.3 MB, free: 0.5469 MB / 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 2.013e-06/2.013e-06, allocations: 0 / 378.7 MB, free: 2.133 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.34e-05/3.542e-05, allocations: 3.156 kB / 378.7 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.004015/0.00405, allocations: 1.975 MB / 380.7 MB, free: 144 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.005055, allocations: 0.5959 MB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.891e-05/0.005154, allocations: 4 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001846/0.005339, allocations: 35.66 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.005454, allocations: 31.77 kB / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.005621, allocations: 51.81 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.00577, allocations: 147.4 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.005905, allocations: 49.7 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.006019, allocations: 83.8 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.166e-05/0.00609, allocations: 47.88 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.006115, allocations: 16 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.873e-05/0.006134, allocations: 16 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/0.006159, allocations: 23.92 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.655e-05/0.006205, allocations: 55.83 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.006364, allocations: 99.64 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.006368, allocations: 0 / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.00637, allocations: 0 / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.006375, allocations: 0 / 382 MB, free: 14.89 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.0005344/0.00691, allocations: 476.3 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.006951, allocations: 8.031 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.391e-05/0.007005, allocations: 24.84 kB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.007194, allocations: 146.5 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.007208, allocations: 16.64 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.00723, allocations: 12.38 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.007425, allocations: 113.2 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.007435, allocations: 4.125 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.007448, allocations: 4.375 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.007459, allocations: 7.938 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.503e-05/0.007544, allocations: 52.81 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006759/0.00822, allocations: 0.5633 MB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.008355, allocations: 51.12 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.542e-05/0.008381, allocations: 11.69 kB / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.008401, allocations: 0 / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.008423, allocations: 41.52 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 7.01e-07/0.008423, allocations: 0 / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001607/0.008584, allocations: 61.58 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.008609, allocations: 55.41 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.008715, allocations: 213.3 kB / 383.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.367e-06/0.008724, allocations: 25.7 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.477e-05/0.008799, allocations: 178.4 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.432e-05/0.008813, allocations: 23.84 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.008851, allocations: 31.38 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.008965, allocations: 0.4922 MB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.263e-05/0.008988, allocations: 8 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.555e-05/0.009033, allocations: 58.42 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.274e-05/0.009106, allocations: 78.34 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.009108, allocations: 0 / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001128/0.009221, allocations: 93.52 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.009234, allocations: 4 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.009239, allocations: 0 / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.009256, allocations: 4 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.947e-05/0.009335, allocations: 27.92 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.009341, allocations: 128 / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.214e-05/0.009383, allocations: 19.88 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.009392, allocations: 4 kB / 384.8 MB, free: 11.75 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 7.731e-05/0.009469, allocations: 164.5 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.009487, allocations: 7.953 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.009516, allocations: 20.39 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.009518, allocations: 0 / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.009522, allocations: 0 / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.009526, allocations: 0 / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.009652, allocations: 156.5 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.009653, allocations: 4 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.231e-05/0.009695, allocations: 19.92 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.009697, allocations: 0 / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.009704, allocations: 0 / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.009705, allocations: 0 / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.009707, allocations: 256 / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.00982, allocations: 211.8 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.147e-05/0.009831, allocations: 7.953 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.009842, allocations: 0 / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.932e-05/0.009881, allocations: 8 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.009915, allocations: 3.984 kB / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.009919, allocations: 8 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.302e-05/0.009972, allocations: 143.2 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009972, allocations: 0 / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001654/0.01014, allocations: 31.89 kB / 385.6 MB, free: 10.92 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.614e-05/0.01021, allocations: 95.19 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001179/0.01033, allocations: 43.61 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01033, allocations: 0 / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.293e-05/0.01036, allocations: 19.69 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.01054, allocations: 20.17 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003905/0.01094, allocations: 255 kB / 386 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.936e-05/0.01097, allocations: 63.34 kB / 386.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.915e-05/0.011, allocations: 11.98 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.01103, allocations: 12.5 kB / 386.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01103, allocations: 0 / 386.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of Templates: time 0.002274/0.01331, allocations: 0.6788 MB / 386.8 MB, free: 9.672 MB / 362.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: 3.128826439846307]