Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 115.6 kB / 20.43 MB, free: 1.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 212 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.621/1.621, allocations: 230.6 MB / 257.5 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2555/0.2555, allocations: 46.93 MB / 360.8 MB, free: 4.277 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 63.91 kB / 0.4966 GB, free: 7.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4375/0.4396, allocations: 66.03 MB / 0.5611 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.005257/0.4449, allocations: 1.96 MB / 0.563 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.4466, allocations: 0.6115 MB / 0.5636 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.4468, allocations: 0 / 0.5636 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000276/0.4471, allocations: 39.7 kB / 0.5637 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.4473, allocations: 31.7 kB / 0.5637 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.4476, allocations: 55.88 kB / 0.5637 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003247/0.4479, allocations: 143.5 kB / 0.5639 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.4481, allocations: 57.34 kB / 0.5639 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.4483, allocations: 55.8 kB / 0.564 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.4485, allocations: 67.69 kB / 0.564 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.153e-05/0.4485, allocations: 16 kB / 0.5641 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.622e-05/0.4485, allocations: 12 kB / 0.5641 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.216e-05/0.4486, allocations: 27.92 kB / 0.5641 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.4487, allocations: 63.67 kB / 0.5642 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003315/0.449, allocations: 166 kB / 0.5643 GB, free: 1.129 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.4491, allocations: 4 kB / 0.5643 GB, free: 1.125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4491, allocations: 0 / 0.5643 GB, free: 1.125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.853e-05/0.4491, allocations: 3.938 kB / 0.5643 GB, free: 1.121 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.0008503/0.4499, allocations: 370 kB / 0.5647 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.45, allocations: 15.97 kB / 0.5647 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.073e-05/0.45, allocations: 12.84 kB / 0.5647 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.4504, allocations: 150.3 kB / 0.5648 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.4504, allocations: 20.59 kB / 0.5649 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.4504, allocations: 12.38 kB / 0.5649 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.4508, allocations: 144.1 kB / 0.565 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.4508, allocations: 0 / 0.565 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.4508, allocations: 7.938 kB / 0.565 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.4508, allocations: 4 kB / 0.565 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002966/0.4511, allocations: 100.8 kB / 0.5651 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.4523, allocations: 0.5708 MB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.4526, allocations: 62.58 kB / 0.5657 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.4527, allocations: 33 kB / 0.5658 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.4527, allocations: 4 kB / 0.5658 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.4528, allocations: 34.5 kB / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.4528, allocations: 4 kB / 0.5658 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004484/0.4532, allocations: 105.6 kB / 0.5659 GB, free: 15.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.4533, allocations: 51.41 kB / 0.566 GB, free: 15.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.4535, allocations: 167.9 kB / 0.5661 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.4535, allocations: 25.7 kB / 0.5661 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.4536, allocations: 135.8 kB / 0.5663 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.4536, allocations: 11.91 kB / 0.5663 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.4e-05/0.4537, allocations: 29.66 kB / 0.5663 GB, free: 14.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.4539, allocations: 318.8 kB / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.454, allocations: 31.97 kB / 0.5667 GB, free: 14.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.4541, allocations: 72.14 kB / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/0.4544, allocations: 96.17 kB / 0.5668 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4544, allocations: 4 kB / 0.5668 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003022/0.4547, allocations: 117.5 kB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.4547, allocations: 7.938 kB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.4547, allocations: 4 kB / 0.5669 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.4548, allocations: 0 / 0.5669 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.4549, allocations: 35.97 kB / 0.567 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.4549, allocations: 8 kB / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.455, allocations: 11.89 kB / 0.567 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.455, allocations: 4 kB / 0.567 GB, free: 14.14 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.000118/0.4552, allocations: 125.8 kB / 0.5671 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.4552, allocations: 7.953 kB / 0.5671 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.941e-05/0.4552, allocations: 12.34 kB / 0.5671 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.4552, allocations: 7.938 kB / 0.5671 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.4552, allocations: 0 / 0.5671 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4552, allocations: 4 kB / 0.5671 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.4555, allocations: 180.9 kB / 0.5673 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.4555, allocations: 4 kB / 0.5673 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.562e-05/0.4556, allocations: 19.98 kB / 0.5673 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4556, allocations: 0 / 0.5673 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.4556, allocations: 0 / 0.5673 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.4556, allocations: 7.938 kB / 0.5674 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4556, allocations: 0 / 0.5674 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.4559, allocations: 183.4 kB / 0.5675 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.4559, allocations: 11.89 kB / 0.5675 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.456, allocations: 3.984 kB / 0.5675 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.465e-05/0.4561, allocations: 11.94 kB / 0.5676 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.4561, allocations: 11.92 kB / 0.5676 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.4561, allocations: 0 / 0.5676 GB, free: 13.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001032/0.4562, allocations: 113.7 kB / 0.5677 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4562, allocations: 4 kB / 0.5677 GB, free: 13.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.4565, allocations: 23.95 kB / 0.5677 GB, free: 13.36 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.0001233/0.4566, allocations: 95.23 kB / 0.5678 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002896/0.4569, allocations: 67.89 kB / 0.5679 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.4569, allocations: 4 kB / 0.5679 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.775e-05/0.457, allocations: 28.23 kB / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.4573, allocations: 14.64 kB / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006328/0.4579, allocations: 268.5 kB / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.4583, allocations: 0.708 MB / 0.5688 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.367e-05/0.4583, allocations: 8.609 kB / 0.5689 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.962e-05/0.4584, allocations: 11.44 kB / 0.5689 GB, free: 12.1 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4584, allocations: 0 / 0.5689 GB, free: 12.1 MB / 414.1 MB Notification: Performance of Templates: time 0.004222/0.4626, allocations: 0.7799 MB / 0.5696 GB, free: 11.33 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.510441662976518]