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.001101/0.001101, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001077/0.001077, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.32/1.32, allocations: 222.9 MB / 242.9 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.2058/0.2058, allocations: 44.18 MB / 337.3 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 68.3 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1062, allocations: 60.83 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003293/0.1096, allocations: 1.899 MB / 471.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008764/0.1105, allocations: 0.5649 MB / 472.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.237e-05/0.1106, allocations: 0 / 472.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000192/0.1108, allocations: 27.73 kB / 472.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.111, allocations: 47.69 kB / 472.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.1111, allocations: 35.95 kB / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.1113, allocations: 147.4 kB / 472.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.1115, allocations: 73.42 kB / 472.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.1116, allocations: 55.84 kB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.61e-05/0.1117, allocations: 63.7 kB / 472.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.1118, allocations: 12 kB / 472.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.615e-05/0.1118, allocations: 16 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.376e-05/0.1118, allocations: 35.91 kB / 472.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.868e-05/0.1119, allocations: 71.66 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.1121, allocations: 155.7 kB / 473.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1121, allocations: 0 / 473.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.776e-06/0.1121, allocations: 0 / 473.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1121, allocations: 3.938 kB / 473.1 MB, free: 11.14 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.0006249/0.1128, allocations: 442.2 kB / 473.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.1128, allocations: 19.97 kB / 473.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/0.1128, allocations: 16.69 kB / 473.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.113, allocations: 200.1 kB / 473.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.1131, allocations: 12.59 kB / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.1131, allocations: 12.38 kB / 473.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.1134, allocations: 144.1 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1134, allocations: 0 / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.1135, allocations: 8 kB / 474 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1135, allocations: 4 kB / 474 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002796/0.1138, allocations: 108.8 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009748/0.1147, allocations: 0.5988 MB / 474.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.115, allocations: 70.61 kB / 474.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.1151, allocations: 32.95 kB / 474.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.1152, allocations: 0 / 474.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.1152, allocations: 38.5 kB / 474.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.1152, allocations: 4 kB / 474.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004099/0.1156, allocations: 109.5 kB / 474.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.1157, allocations: 51.41 kB / 475 MB, free: 9.102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.1158, allocations: 155.4 kB / 475.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.1158, allocations: 29.7 kB / 475.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.475e-05/0.1159, allocations: 143.4 kB / 475.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.1159, allocations: 15.75 kB / 475.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-05/0.116, allocations: 29.7 kB / 475.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1161, allocations: 318.8 kB / 475.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.1162, allocations: 27.97 kB / 475.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.1164, allocations: 64.2 kB / 475.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.1166, allocations: 96.19 kB / 475.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1166, allocations: 0 / 475.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002895/0.1169, allocations: 121.8 kB / 475.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.1169, allocations: 4 kB / 476 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1169, allocations: 3.938 kB / 476 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.117, allocations: 8 kB / 476 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.1171, allocations: 39.84 kB / 476 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1171, allocations: 0 / 476 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.487e-05/0.1172, allocations: 11.91 kB / 476 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.1173, allocations: 8.125 kB / 476 MB, free: 7.977 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 9.217e-05/0.1173, allocations: 125.8 kB / 476.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.1174, allocations: 7.906 kB / 476.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.1174, allocations: 16.25 kB / 476.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1174, allocations: 3.938 kB / 476.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1174, allocations: 0 / 476.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1174, allocations: 0 / 476.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.1177, allocations: 209.5 kB / 476.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1177, allocations: 4 kB / 476.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.115e-05/0.1178, allocations: 19.98 kB / 476.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1178, allocations: 0 / 476.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.1178, allocations: 0 / 476.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1178, allocations: 3.938 kB / 476.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1178, allocations: 0 / 476.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.1181, allocations: 183.4 kB / 476.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/0.1182, allocations: 81.02 kB / 476.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.1182, allocations: 11.98 kB / 476.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.784e-05/0.1183, allocations: 7.938 kB / 476.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.1183, allocations: 7.922 kB / 476.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.1184, allocations: 0 / 476.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.577e-05/0.1184, allocations: 112.8 kB / 476.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1184, allocations: 0 / 476.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.1187, allocations: 31.84 kB / 476.8 MB, free: 7.078 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.0001052/0.1188, allocations: 95.25 kB / 476.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002739/0.1191, allocations: 79.86 kB / 477 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1191, allocations: 0 / 477 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.547e-05/0.1192, allocations: 23.98 kB / 477 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.1196, allocations: 12 kB / 477 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005571/0.1201, allocations: 293.6 kB / 477.3 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.1204, allocations: 0.7041 MB / 478 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.1205, allocations: 11.44 kB / 478 MB, free: 5.801 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1205, allocations: 7.938 kB / 478 MB, free: 5.793 MB / 350.1 MB Notification: Performance of Templates: time 0.002692/0.1232, allocations: 1.256 MB / 479.3 MB, free: 4.539 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/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