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.001088/0.001088, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00153/0.002617, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001098/0.001098, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001402/0.0025, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9406/0.9406, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08574/1.026, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.2765/0.2765, allocations: 34.86 MB / 279.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02298/0.2994, allocations: 13.23 MB / 292.6 MB, free: 6.469 MB / 282.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.533e-06/1.533e-06, allocations: 0 / 293.8 MB, free: 5.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.128e-05, allocations: 9.625 kB / 293.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002443/0.002464, allocations: 2.012 MB / 295.9 MB, free: 3.188 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007314/0.003196, allocations: 0.6006 MB / 296.5 MB, free: 2.582 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.487e-05/0.003261, allocations: 4 kB / 296.5 MB, free: 2.578 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.003362, allocations: 35.73 kB / 296.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.694e-05/0.003429, allocations: 35.64 kB / 296.5 MB, free: 2.508 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001145/0.003543, allocations: 43.92 kB / 296.6 MB, free: 2.465 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.003672, allocations: 152.1 kB / 296.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.003778, allocations: 54.34 kB / 296.8 MB, free: 2.266 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.003883, allocations: 87.86 kB / 296.9 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.337e-05/0.003946, allocations: 51.81 kB / 296.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.003968, allocations: 16 kB / 296.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.527e-05/0.003984, allocations: 12 kB / 296.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.021e-05/0.004004, allocations: 23.94 kB / 297 MB, free: 2.078 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.004043, allocations: 39.88 kB / 297 MB, free: 2.039 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.004166, allocations: 99.61 kB / 297.1 MB, free: 1.941 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.309e-05/0.004179, allocations: 0 / 297.1 MB, free: 1.941 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.00418, allocations: 0 / 297.1 MB, free: 1.941 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.00419, allocations: 0 / 297.1 MB, free: 1.941 MB / 282.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.0004373/0.004627, allocations: 369.5 kB / 297.5 MB, free: 1.555 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.00466, allocations: 12.92 kB / 297.5 MB, free: 1.543 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.004697, allocations: 20.92 kB / 297.5 MB, free: 1.523 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.004839, allocations: 137.6 kB / 297.6 MB, free: 1.363 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.00485, allocations: 12.66 kB / 297.6 MB, free: 1.352 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.004864, allocations: 12.38 kB / 297.6 MB, free: 1.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.005007, allocations: 121.6 kB / 297.8 MB, free: 1.215 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.005013, allocations: 192 / 297.8 MB, free: 1.215 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.005021, allocations: 4.375 kB / 297.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.005027, allocations: 7.938 kB / 297.8 MB, free: 1.203 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.524e-05/0.005072, allocations: 28.83 kB / 297.8 MB, free: 1.176 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000458/0.00553, allocations: 463 kB / 298.3 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.806e-05/0.005628, allocations: 38.56 kB / 298.3 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.479e-05/0.005643, allocations: 8.859 kB / 298.3 MB, free: 0.625 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.00566, allocations: 4 kB / 298.3 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.005678, allocations: 42.62 kB / 298.4 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.005679, allocations: 0 / 298.4 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001001/0.005779, allocations: 45.69 kB / 298.4 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.005805, allocations: 51.41 kB / 298.4 MB, free: 468 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.992e-05/0.005875, allocations: 150.6 kB / 298.6 MB, free: 304 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.005886, allocations: 33.7 kB / 298.6 MB, free: 264 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.005932, allocations: 135.7 kB / 298.8 MB, free: 124 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.356e-06/0.00594, allocations: 11.84 kB / 298.8 MB, free: 112 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.005975, allocations: 25.67 kB / 298.8 MB, free: 80 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.172e-05/0.006057, allocations: 326.8 kB / 299.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.006071, allocations: 4 kB / 299.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.205e-05/0.006103, allocations: 49.31 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.096e-05/0.006154, allocations: 68.12 kB / 299.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.006156, allocations: 0 / 299.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.093e-05/0.006227, allocations: 77.53 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.006237, allocations: 4 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.006244, allocations: 7.984 kB / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.422e-06/0.006251, allocations: 0 / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.006353, allocations: 27.98 kB / 299.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.006356, allocations: 3.938 kB / 299.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.287e-05/0.006389, allocations: 8.125 kB / 299.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.006396, allocations: 4 kB / 299.4 MB, free: 15.46 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.93e-05/0.006455, allocations: 125.7 kB / 299.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.00647, allocations: 7.984 kB / 299.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.006492, allocations: 8.469 kB / 299.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.006494, allocations: 4 kB / 299.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.006495, allocations: 0 / 299.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.006498, allocations: 0 / 299.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.874e-05/0.006587, allocations: 97.8 kB / 299.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.006588, allocations: 0 / 299.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.784e-05/0.006626, allocations: 19.94 kB / 299.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.038e-05/0.006636, allocations: 11.94 kB / 299.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.006638, allocations: 0 / 299.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-06/0.006642, allocations: 0 / 299.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.006642, allocations: 0 / 299.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.006643, allocations: 0 / 299.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.058e-05/0.006714, allocations: 147.7 kB / 299.8 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.006724, allocations: 12 kB / 299.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.401e-05/0.006758, allocations: 3.984 kB / 299.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.00678, allocations: 4 kB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-06/0.006782, allocations: 4 kB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.252e-05/0.006805, allocations: 30.72 kB / 299.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006805, allocations: 0 / 299.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001294/0.006934, allocations: 31.89 kB / 299.9 MB, free: 14.92 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 5.65e-05/0.006991, allocations: 72.42 kB / 299.9 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.682e-05/0.007057, allocations: 40.77 kB / 300 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.007061, allocations: 0 / 300 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.538e-05/0.007077, allocations: 12.86 kB / 300 MB, free: 14.78 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.007216, allocations: 20.19 kB / 300 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007879/0.008004, allocations: 266.1 kB / 300.3 MB, free: 14.47 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.537e-05/0.00804, allocations: 67.33 kB / 300.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.122e-05/0.008071, allocations: 8 kB / 300.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.008112, allocations: 55.38 kB / 300.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of SimCode: time 6.72e-07/0.008113, allocations: 0 / 300.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of Templates: time 0.002009/0.01012, allocations: 0.6817 MB / 301.1 MB, free: 13.65 MB / 298.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 -ignoreHideResult -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.6593192517757416]