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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.00112, allocations: 104.3 kB / 18.4 MB, free: 4.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 187 kB / 19.34 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 222.9 MB / 243 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2388/0.2388, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 60.34 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1356, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003872/0.1396, allocations: 1.906 MB / 472.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1406, allocations: 0.5532 MB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.1408, allocations: 4 kB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002255/0.141, allocations: 43.66 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.1412, allocations: 35.7 kB / 473.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.1414, allocations: 39.89 kB / 473.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.1416, allocations: 155.5 kB / 473.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/0.1418, allocations: 61.45 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.142, allocations: 63.77 kB / 473.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.949e-05/0.1421, allocations: 59.77 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.275e-05/0.1421, allocations: 16 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.929e-05/0.1422, allocations: 12 kB / 473.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.204e-05/0.1422, allocations: 35.8 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.157e-05/0.1423, allocations: 71.66 kB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.1426, allocations: 159.4 kB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.165e-05/0.1426, allocations: 0 / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.1426, allocations: 0 / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.1426, allocations: 0 / 473.9 MB, free: 10.43 MB / 350.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.0007045/0.1433, allocations: 446.2 kB / 474.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.1434, allocations: 12.02 kB / 474.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.1435, allocations: 16.75 kB / 474.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.1438, allocations: 200.1 kB / 474.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.1438, allocations: 8.656 kB / 474.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.1438, allocations: 12.38 kB / 474.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.1442, allocations: 148.1 kB / 474.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1442, allocations: 7.938 kB / 474.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.1442, allocations: 8 kB / 474.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1442, allocations: 0 / 474.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002688/0.1445, allocations: 100.8 kB / 474.9 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.1456, allocations: 0.6144 MB / 475.5 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002629/0.1459, allocations: 66.56 kB / 475.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.386e-05/0.146, allocations: 28.97 kB / 475.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.146, allocations: 4 kB / 475.6 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.146, allocations: 30.56 kB / 475.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.143e-06/0.146, allocations: 4 kB / 475.6 MB, free: 8.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003817/0.1464, allocations: 113.4 kB / 475.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.1465, allocations: 55.41 kB / 475.8 MB, free: 8.387 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.1466, allocations: 151.4 kB / 475.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.1467, allocations: 29.64 kB / 475.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.1469, allocations: 139.4 kB / 476.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.1469, allocations: 19.75 kB / 476.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.367e-05/0.1469, allocations: 25.7 kB / 476.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1471, allocations: 326.8 kB / 476.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.1472, allocations: 27.98 kB / 476.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.1473, allocations: 60.27 kB / 476.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.1475, allocations: 96.19 kB / 476.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1475, allocations: 0 / 476.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002634/0.1478, allocations: 121.4 kB / 476.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.1478, allocations: 4 kB / 476.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.1479, allocations: 7.984 kB / 476.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.1479, allocations: 0 / 476.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.148, allocations: 31.92 kB / 476.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.1481, allocations: 4 kB / 476.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.976e-05/0.1482, allocations: 11.89 kB / 476.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.1482, allocations: 4 kB / 476.8 MB, free: 7.277 MB / 350.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.0001141/0.1483, allocations: 133.8 kB / 476.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.1483, allocations: 7.906 kB / 476.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.1484, allocations: 8.312 kB / 476.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1484, allocations: 4.188 kB / 477 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1484, allocations: 4 kB / 477 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1484, allocations: 4 kB / 477 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.1486, allocations: 209.6 kB / 477.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1486, allocations: 0 / 477.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.342e-05/0.1487, allocations: 15.98 kB / 477.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1487, allocations: 4 kB / 477.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1487, allocations: 0 / 477.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.1487, allocations: 3.938 kB / 477.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1488, allocations: 7.875 kB / 477.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.149, allocations: 187.4 kB / 477.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.093e-05/0.1491, allocations: 89 kB / 477.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.1491, allocations: 4 kB / 477.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.813e-05/0.1492, allocations: 7.938 kB / 477.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.1492, allocations: 7.984 kB / 477.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.1492, allocations: 4 kB / 477.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.234e-05/0.1493, allocations: 105.5 kB / 477.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1493, allocations: 0 / 477.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002413/0.1496, allocations: 31.84 kB / 477.6 MB, free: 6.367 MB / 350.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 9.454e-05/0.1497, allocations: 99.23 kB / 477.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.1499, allocations: 71.89 kB / 477.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1499, allocations: 0 / 477.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.632e-05/0.15, allocations: 23.98 kB / 477.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.1503, allocations: 14.66 kB / 477.8 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005599/0.1509, allocations: 263.8 kB / 478.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.1512, allocations: 0.7002 MB / 478.8 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.591e-05/0.1512, allocations: 8.656 kB / 478.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.1513, allocations: 15.44 kB / 478.8 MB, free: 5.117 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1513, allocations: 0 / 478.8 MB, free: 5.117 MB / 350.1 MB Notification: Performance of Templates: time 0.003353/0.1547, allocations: 0.7208 MB / 479.5 MB, free: 4.402 MB / 350.1 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches