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.001204/0.001204, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001505/0.001505, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.339/1.339, allocations: 222.9 MB / 242.2 MB, free: 15.2 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.2119/0.2119, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 55.28 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1195, allocations: 60.83 MB / 469.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.00362/0.1232, allocations: 1.902 MB / 471.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009807/0.1242, allocations: 0.5648 MB / 471.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.1243, allocations: 8 kB / 471.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.1245, allocations: 27.73 kB / 471.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.1247, allocations: 35.7 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.1249, allocations: 43.94 kB / 471.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000192/0.1251, allocations: 147.4 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.1252, allocations: 69.42 kB / 472 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.1254, allocations: 55.84 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.324e-05/0.1255, allocations: 67.7 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.1255, allocations: 12 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.655e-05/0.1255, allocations: 12 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.202e-05/0.1256, allocations: 31.91 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.725e-05/0.1257, allocations: 75.59 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.1258, allocations: 155.7 kB / 472.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1259, allocations: 0 / 472.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1259, allocations: 3.938 kB / 472.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1259, allocations: 0 / 472.4 MB, free: 11.13 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.0006883/0.1266, allocations: 447.3 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.1266, allocations: 8.031 kB / 472.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.1267, allocations: 16.75 kB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.1269, allocations: 200.1 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.1269, allocations: 12.66 kB / 473.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.1269, allocations: 12.38 kB / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.1272, allocations: 144.1 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.1272, allocations: 4 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.1273, allocations: 4 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.1273, allocations: 4 kB / 473.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.1275, allocations: 104.8 kB / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009068/0.1284, allocations: 0.6066 MB / 474 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.1287, allocations: 70.61 kB / 474.1 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.1288, allocations: 36.97 kB / 474.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.1288, allocations: 4 kB / 474.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.1289, allocations: 34.5 kB / 474.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1289, allocations: 0 / 474.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003922/0.1293, allocations: 113.5 kB / 474.2 MB, free: 9.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.1293, allocations: 51.41 kB / 474.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.1294, allocations: 153.7 kB / 474.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.1295, allocations: 29.7 kB / 474.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.876e-05/0.1295, allocations: 139.4 kB / 474.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.1296, allocations: 19.73 kB / 474.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/0.1296, allocations: 29.7 kB / 474.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.1297, allocations: 314.8 kB / 475 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.1298, allocations: 27.97 kB / 475 MB, free: 8.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.13, allocations: 72.14 kB / 475.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.1302, allocations: 96.19 kB / 475.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.1302, allocations: 4 kB / 475.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002816/0.1305, allocations: 121.4 kB / 475.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1305, allocations: 8 kB / 475.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1305, allocations: 0 / 475.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1306, allocations: 0 / 475.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.1307, allocations: 35.84 kB / 475.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1307, allocations: 8.125 kB / 475.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.644e-05/0.1308, allocations: 15.91 kB / 475.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.1308, allocations: 0 / 475.3 MB, free: 7.957 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.0001132/0.131, allocations: 125.8 kB / 475.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.131, allocations: 15.83 kB / 475.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.131, allocations: 8.312 kB / 475.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.131, allocations: 7.938 kB / 475.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1311, allocations: 0 / 475.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.1311, allocations: 0 / 475.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.1313, allocations: 209.6 kB / 475.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1313, allocations: 0 / 475.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.75e-05/0.1314, allocations: 15.98 kB / 475.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.1314, allocations: 0 / 475.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.1314, allocations: 0 / 475.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.1314, allocations: 7.938 kB / 475.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1314, allocations: 0 / 475.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.1318, allocations: 187.7 kB / 475.9 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.566e-05/0.1318, allocations: 85.02 kB / 476 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.1319, allocations: 0 / 476 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.807e-05/0.132, allocations: 15.86 kB / 476 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.132, allocations: 11.92 kB / 476 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/0.1321, allocations: 0 / 476 MB, free: 7.191 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.826e-05/0.1321, allocations: 113 kB / 476.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1322, allocations: 0 / 476.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1324, allocations: 31.84 kB / 476.2 MB, free: 7.051 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 0.00011/0.1325, allocations: 95.25 kB / 476.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002727/0.1328, allocations: 71.88 kB / 476.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1328, allocations: 0 / 476.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.519e-05/0.1329, allocations: 23.98 kB / 476.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.1333, allocations: 16.25 kB / 476.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005747/0.1339, allocations: 271.5 kB / 476.6 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.1342, allocations: 0.7079 MB / 477.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.737e-05/0.1342, allocations: 4.656 kB / 477.3 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.1343, allocations: 15.44 kB / 477.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1343, allocations: 0 / 477.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of Templates: time 0.003134/0.1374, allocations: 0.7085 MB / 478.1 MB, free: 5.086 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 -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","/var/lib/jenkins/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