Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001414/0.001414, allocations: 108.3 kB / 20.37 MB, free: 2.098 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00172/0.00172, allocations: 213.9 kB / 23.54 MB, free: 5.395 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 230.2 MB / 256.8 MB, free: 8.625 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2265/0.2265, allocations: 46.89 MB / 359.9 MB, free: 5 MB / 286.1 MB [Timeout remaining time 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660] Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 79.81 kB / 0.4949 GB, free: 8.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3415, allocations: 65.98 MB / 0.5594 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003691/0.3452, allocations: 1.932 MB / 0.5613 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.3463, allocations: 0.6037 MB / 0.5619 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.284e-05/0.3464, allocations: 8 kB / 0.5619 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.3466, allocations: 35.7 kB / 0.5619 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.3468, allocations: 39.7 kB / 0.5619 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.3469, allocations: 47.88 kB / 0.562 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.3471, allocations: 151.4 kB / 0.5621 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.3473, allocations: 53.17 kB / 0.5622 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.3474, allocations: 55.78 kB / 0.5622 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.996e-05/0.3475, allocations: 63.7 kB / 0.5623 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.694e-05/0.3475, allocations: 20 kB / 0.5623 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.545e-05/0.3476, allocations: 12 kB / 0.5623 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.528e-05/0.3476, allocations: 27.92 kB / 0.5623 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.752e-05/0.3477, allocations: 71.66 kB / 0.5624 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.3479, allocations: 154.1 kB / 0.5626 GB, free: 1.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3479, allocations: 0 / 0.5626 GB, free: 1.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3479, allocations: 0 / 0.5626 GB, free: 1.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.3479, allocations: 0 / 0.5626 GB, free: 1.93 MB / 398.1 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.0006921/0.3486, allocations: 459 kB / 0.563 GB, free: 1.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.3486, allocations: 12.03 kB / 0.563 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.3487, allocations: 12.84 kB / 0.563 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.349, allocations: 211.9 kB / 0.5632 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.349, allocations: 8.656 kB / 0.5632 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.744e-05/0.349, allocations: 20.31 kB / 0.5633 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000326/0.3494, allocations: 137 kB / 0.5634 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3494, allocations: 0 / 0.5634 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.3494, allocations: 15.98 kB / 0.5634 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.3494, allocations: 4 kB / 0.5634 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003114/0.3497, allocations: 100.8 kB / 0.5635 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.3508, allocations: 0.599 MB / 0.5641 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.351, allocations: 74.61 kB / 0.5642 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.941e-05/0.3511, allocations: 24.97 kB / 0.5642 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.3511, allocations: 0 / 0.5642 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.3512, allocations: 42.5 kB / 0.5642 GB, free: 56 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 7.91e-07/0.3512, allocations: 0 / 0.5642 GB, free: 56 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004842/0.3517, allocations: 113.8 kB / 0.5643 GB, free: 15.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.3517, allocations: 51.41 kB / 0.5644 GB, free: 15.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.3519, allocations: 165.6 kB / 0.5645 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.3519, allocations: 25.7 kB / 0.5646 GB, free: 15.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.397e-05/0.352, allocations: 135.8 kB / 0.5647 GB, free: 15.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.457e-05/0.3521, allocations: 11.91 kB / 0.5647 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.812e-05/0.3521, allocations: 29.66 kB / 0.5647 GB, free: 15.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3523, allocations: 326.8 kB / 0.565 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.3524, allocations: 23.98 kB / 0.5651 GB, free: 15.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.3525, allocations: 68.2 kB / 0.5651 GB, free: 15.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.3527, allocations: 96.19 kB / 0.5652 GB, free: 14.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3527, allocations: 0 / 0.5652 GB, free: 14.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003064/0.353, allocations: 125.6 kB / 0.5653 GB, free: 14.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3531, allocations: 15.92 kB / 0.5654 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3531, allocations: 0 / 0.5654 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3531, allocations: 3.938 kB / 0.5654 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.3532, allocations: 31.92 kB / 0.5654 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.3532, allocations: 4 kB / 0.5654 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.3533, allocations: 15.88 kB / 0.5654 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.3533, allocations: 4 kB / 0.5654 GB, free: 14.74 MB / 414.1 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 0.0001116/0.3535, allocations: 125.9 kB / 0.5655 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.3535, allocations: 7.953 kB / 0.5655 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.793e-05/0.3535, allocations: 12.31 kB / 0.5656 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.3535, allocations: 3.938 kB / 0.5656 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.3535, allocations: 3.938 kB / 0.5656 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.3535, allocations: 3.984 kB / 0.5656 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.3538, allocations: 201.6 kB / 0.5658 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3538, allocations: 0 / 0.5658 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.535e-05/0.3539, allocations: 15.98 kB / 0.5658 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.3539, allocations: 0 / 0.5658 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.3539, allocations: 8 kB / 0.5658 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.3539, allocations: 3.938 kB / 0.5658 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3539, allocations: 0 / 0.5658 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.3543, allocations: 187.8 kB / 0.566 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/0.3543, allocations: 81.06 kB / 0.566 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.3543, allocations: 0 / 0.566 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.3544, allocations: 19.92 kB / 0.5661 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.3545, allocations: 4 kB / 0.5661 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.3545, allocations: 4 kB / 0.5661 GB, free: 13.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001014/0.3546, allocations: 115.2 kB / 0.5662 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3546, allocations: 0 / 0.5662 GB, free: 13.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.3549, allocations: 31.89 kB / 0.5662 GB, free: 13.83 MB / 414.1 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 0.0001083/0.355, allocations: 91.25 kB / 0.5663 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002724/0.3552, allocations: 71.89 kB / 0.5664 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3552, allocations: 0 / 0.5664 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.3554, allocations: 27.97 kB / 0.5664 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.3557, allocations: 8 kB / 0.5664 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000594/0.3563, allocations: 293.6 kB / 0.5667 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.3567, allocations: 0.7118 MB / 0.5674 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/0.3568, allocations: 11.44 kB / 0.5674 GB, free: 12.56 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3568, allocations: 0 / 0.5674 GB, free: 12.56 MB / 414.1 MB Notification: Performance of Templates: time 0.003218/0.36, allocations: 1.293 MB / 0.5686 GB, free: 11.27 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches