Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 174.2 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 225.7 MB / 243.9 MB, free: 8.449 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000994/0.000994, allocations: 98.11 kB / 295.1 MB, free: 9.484 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3865/0.3865, allocations: 44.32 MB / 390.5 MB, free: 38.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003508, allocations: 15.98 kB / 463.1 MB, free: 456 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3371, allocations: 61.89 MB / 0.5127 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.001834/0.339, allocations: 1.591 MB / 0.5143 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000672/0.3397, allocations: 0.5291 MB / 0.5148 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.333e-05/0.3398, allocations: 2.75 kB / 0.5148 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.34, allocations: 26.59 kB / 0.5148 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.3401, allocations: 32.81 kB / 0.5149 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001507/0.3403, allocations: 36.56 kB / 0.5149 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.3404, allocations: 136.9 kB / 0.515 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.3405, allocations: 59.02 kB / 0.5151 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.3407, allocations: 53.19 kB / 0.5151 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.166e-05/0.3407, allocations: 55.77 kB / 0.5152 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.3408, allocations: 8.469 kB / 0.5152 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.98e-05/0.3408, allocations: 9.312 kB / 0.5152 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.828e-05/0.3408, allocations: 24.84 kB / 0.5152 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.193e-05/0.3409, allocations: 88.53 kB / 0.5153 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.341, allocations: 148.8 kB / 0.5154 GB, free: 36.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.341, allocations: 2.656 kB / 0.5155 GB, free: 36.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3411, allocations: 0 / 0.5155 GB, free: 36.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.3411, allocations: 0 / 0.5155 GB, free: 36.02 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.0004955/0.3416, allocations: 423.8 kB / 0.5159 GB, free: 35.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.3416, allocations: 12.94 kB / 0.5159 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.3417, allocations: 17.97 kB / 0.5159 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.3418, allocations: 194.5 kB / 0.5161 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.3418, allocations: 10.56 kB / 0.5161 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.3419, allocations: 16.66 kB / 0.5161 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.3422, allocations: 139.2 kB / 0.5162 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3422, allocations: 0 / 0.5162 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.3422, allocations: 10.53 kB / 0.5162 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3422, allocations: 2.438 kB / 0.5162 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.3425, allocations: 115.3 kB / 0.5164 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007983/0.3433, allocations: 0.6167 MB / 0.517 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.3435, allocations: 82.14 kB / 0.517 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.927e-05/0.3436, allocations: 36.95 kB / 0.5171 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.3436, allocations: 0 / 0.5171 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.3437, allocations: 41.59 kB / 0.5171 GB, free: 34.69 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.3437, allocations: 0 / 0.5171 GB, free: 34.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003757/0.3441, allocations: 123.7 kB / 0.5172 GB, free: 34.63 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.3441, allocations: 52.69 kB / 0.5173 GB, free: 34.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.3442, allocations: 159.6 kB / 0.5174 GB, free: 34.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.3442, allocations: 26.86 kB / 0.5175 GB, free: 34.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.339e-05/0.3443, allocations: 133.8 kB / 0.5176 GB, free: 34.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.3443, allocations: 14.38 kB / 0.5176 GB, free: 34.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.3443, allocations: 4 kB / 0.5176 GB, free: 34.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.759e-05/0.3444, allocations: 320.3 kB / 0.5179 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.3445, allocations: 36.33 kB / 0.5179 GB, free: 33.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.3447, allocations: 72.77 kB / 0.518 GB, free: 33.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/0.3449, allocations: 103.2 kB / 0.5181 GB, free: 33.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3449, allocations: 4 kB / 0.5181 GB, free: 33.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002935/0.3452, allocations: 138.3 kB / 0.5182 GB, free: 33.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.3452, allocations: 5.953 kB / 0.5182 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3452, allocations: 1.125 kB / 0.5182 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3453, allocations: 6.375 kB / 0.5183 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.3454, allocations: 31.27 kB / 0.5183 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.3454, allocations: 2.797 kB / 0.5183 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.3455, allocations: 29.17 kB / 0.5183 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.3456, allocations: 7.188 kB / 0.5183 GB, free: 33.74 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 8.14e-05/0.3456, allocations: 119.5 kB / 0.5184 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.3457, allocations: 15.94 kB / 0.5185 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/0.3457, allocations: 12.58 kB / 0.5185 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3457, allocations: 5.156 kB / 0.5185 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3457, allocations: 1.031 kB / 0.5185 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3457, allocations: 1.031 kB / 0.5185 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.3459, allocations: 200.2 kB / 0.5187 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.346, allocations: 0 / 0.5187 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.3461, allocations: 22.62 kB / 0.5187 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3461, allocations: 0 / 0.5187 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.3461, allocations: 5.719 kB / 0.5187 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3461, allocations: 3.938 kB / 0.5187 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3461, allocations: 1.125 kB / 0.5187 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.3464, allocations: 195.9 kB / 0.5189 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.106e-05/0.3464, allocations: 89.09 kB / 0.519 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.3465, allocations: 5.719 kB / 0.519 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.834e-05/0.3466, allocations: 12.94 kB / 0.519 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.602e-05/0.3466, allocations: 5.438 kB / 0.519 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.3466, allocations: 0 / 0.519 GB, free: 33.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.618e-05/0.3467, allocations: 112.3 kB / 0.5191 GB, free: 33.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3467, allocations: 0 / 0.5191 GB, free: 33.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002317/0.347, allocations: 23 kB / 0.5191 GB, free: 33.03 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 8.254e-05/0.347, allocations: 103.8 kB / 0.5192 GB, free: 32.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002518/0.3473, allocations: 79.23 kB / 0.5193 GB, free: 32.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3473, allocations: 4.188 kB / 0.5193 GB, free: 32.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.541e-05/0.3474, allocations: 39.88 kB / 0.5193 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.3477, allocations: 2.703 kB / 0.5193 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005659/0.3483, allocations: 342.8 kB / 0.5197 GB, free: 32.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.3484, allocations: 0.7083 MB / 0.5204 GB, free: 31.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.02e-05/0.3485, allocations: 6.094 kB / 0.5204 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.3485, allocations: 11.38 kB / 0.5204 GB, free: 31.96 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.3485, allocations: 0 / 0.5204 GB, free: 31.96 MB / 378.7 MB Notification: Performance of Templates: time 0.00258/0.3511, allocations: 0.6353 MB / 0.521 GB, free: 31.86 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/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