Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors") translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001132, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001086, allocations: 115.1 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4441/0.4441, allocations: 44.13 MB / 386.1 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 55.92 kB / 457.7 MB, free: 2.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.346, allocations: 60.79 MB / 0.5064 GB, free: 38.19 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003075/0.3492, allocations: 1.972 MB / 0.5083 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008088/0.35, allocations: 0.5543 MB / 0.5089 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.418e-05/0.3501, allocations: 2.688 kB / 0.5089 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001963/0.3503, allocations: 29.84 kB / 0.5089 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.3505, allocations: 24.72 kB / 0.5089 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.3506, allocations: 32.27 kB / 0.5089 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.3508, allocations: 153.2 kB / 0.5091 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.351, allocations: 57.53 kB / 0.5091 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.3511, allocations: 58.58 kB / 0.5092 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.769e-05/0.3512, allocations: 59.83 kB / 0.5093 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.3512, allocations: 11.5 kB / 0.5093 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.401e-05/0.3513, allocations: 8.656 kB / 0.5093 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.04e-05/0.3513, allocations: 25.5 kB / 0.5093 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.156e-05/0.3514, allocations: 62.95 kB / 0.5094 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.3515, allocations: 162 kB / 0.5095 GB, free: 36.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3515, allocations: 4 kB / 0.5095 GB, free: 36.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3516, allocations: 0 / 0.5095 GB, free: 36.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.3516, allocations: 0 / 0.5095 GB, free: 36.11 MB / 378.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.0005883/0.3522, allocations: 438.6 kB / 0.5099 GB, free: 35.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.3522, allocations: 11.62 kB / 0.5099 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/0.3523, allocations: 14.34 kB / 0.51 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.3525, allocations: 197.4 kB / 0.5101 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.3525, allocations: 15.5 kB / 0.5102 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.3525, allocations: 17 kB / 0.5102 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.3528, allocations: 154 kB / 0.5103 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3528, allocations: 0 / 0.5103 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.3528, allocations: 4 kB / 0.5103 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.3529, allocations: 5.625 kB / 0.5103 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002651/0.3531, allocations: 99.41 kB / 0.5104 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008882/0.354, allocations: 0.6067 MB / 0.511 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.3543, allocations: 74.62 kB / 0.5111 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.387e-05/0.3544, allocations: 31.12 kB / 0.5111 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.3544, allocations: 3.984 kB / 0.5111 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.3544, allocations: 34.47 kB / 0.5112 GB, free: 34.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3544, allocations: 0 / 0.5112 GB, free: 34.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003699/0.3548, allocations: 113.4 kB / 0.5113 GB, free: 34.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.061e-05/0.3548, allocations: 51.41 kB / 0.5113 GB, free: 34.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.866e-05/0.3549, allocations: 160.1 kB / 0.5115 GB, free: 34.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.246e-06/0.355, allocations: 25.7 kB / 0.5115 GB, free: 34.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/0.355, allocations: 138.5 kB / 0.5116 GB, free: 34.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.186e-05/0.355, allocations: 14.34 kB / 0.5116 GB, free: 34.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.3551, allocations: 22.39 kB / 0.5117 GB, free: 34.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.253e-05/0.3552, allocations: 325 kB / 0.512 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.652e-05/0.3553, allocations: 29.95 kB / 0.512 GB, free: 34.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.3554, allocations: 60.27 kB / 0.5121 GB, free: 33.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.3556, allocations: 92.27 kB / 0.5121 GB, free: 33.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3556, allocations: 0 / 0.5121 GB, free: 33.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002482/0.3558, allocations: 125.1 kB / 0.5123 GB, free: 33.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3559, allocations: 13.55 kB / 0.5123 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3559, allocations: 0 / 0.5123 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.3559, allocations: 2.938 kB / 0.5123 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.356, allocations: 31.73 kB / 0.5123 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.356, allocations: 3.938 kB / 0.5123 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.783e-05/0.3561, allocations: 19.83 kB / 0.5123 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.3561, allocations: 2.812 kB / 0.5123 GB, free: 33.81 MB / 378.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 6.913e-05/0.3562, allocations: 119.8 kB / 0.5124 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.3563, allocations: 14.72 kB / 0.5125 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.503e-05/0.3563, allocations: 14.86 kB / 0.5125 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3563, allocations: 7.922 kB / 0.5125 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3563, allocations: 0 / 0.5125 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3563, allocations: 2.75 kB / 0.5125 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.3565, allocations: 207.9 kB / 0.5127 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3565, allocations: 2.656 kB / 0.5127 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.277e-05/0.3566, allocations: 18.08 kB / 0.5127 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3566, allocations: 0 / 0.5127 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.3566, allocations: 4 kB / 0.5127 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.3566, allocations: 10.62 kB / 0.5127 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3566, allocations: 0 / 0.5127 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004463/0.3571, allocations: 0.764 MB / 0.5135 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.715e-05/0.3571, allocations: 84.95 kB / 0.5135 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.3572, allocations: 6.562 kB / 0.5135 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.944e-05/0.3573, allocations: 9.953 kB / 0.5136 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.3573, allocations: 6.125 kB / 0.5136 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.3573, allocations: 0 / 0.5136 GB, free: 32.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.755e-05/0.3574, allocations: 107.5 kB / 0.5137 GB, free: 32.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3574, allocations: 0 / 0.5137 GB, free: 32.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003292/0.3577, allocations: 29.88 kB / 0.5137 GB, free: 32.5 MB / 378.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.584e-05/0.3578, allocations: 95.03 kB / 0.5138 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002422/0.358, allocations: 74.05 kB / 0.5139 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3581, allocations: 0 / 0.5139 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.942e-05/0.3582, allocations: 31.45 kB / 0.5139 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.3585, allocations: 10.12 kB / 0.5139 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005355/0.359, allocations: 421.5 kB / 0.5143 GB, free: 32.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.3591, allocations: 0.7141 MB / 0.515 GB, free: 31.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.124e-05/0.3592, allocations: 3.328 kB / 0.515 GB, free: 31.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.3592, allocations: 13.41 kB / 0.515 GB, free: 31.32 MB / 378.7 MB Notification: Performance of SimCode: time 2.01e-07/0.3592, allocations: 0 / 0.515 GB, free: 31.32 MB / 378.7 MB Notification: Performance of Templates: time 0.002675/0.3619, allocations: 0.6527 MB / 0.5156 GB, free: 31.23 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches