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.001453/0.001453, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.00156/0.00156, allocations: 193.3 kB / 18.91 MB, free: 4.477 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.314/1.314, allocations: 222.9 MB / 242.6 MB, free: 15.44 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.2016/0.2016, allocations: 44.18 MB / 336.9 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 70.8 kB / 408.5 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1109, allocations: 60.82 MB / 469.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003285/0.1142, allocations: 1.968 MB / 471.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008139/0.115, allocations: 0.5532 MB / 471.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.576e-05/0.1151, allocations: 7.938 kB / 471.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.1153, allocations: 31.78 kB / 471.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.1154, allocations: 23.83 kB / 472 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.1156, allocations: 31.97 kB / 472 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.1158, allocations: 159.4 kB / 472.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.1159, allocations: 57.44 kB / 472.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.116, allocations: 67.83 kB / 472.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.92e-05/0.1161, allocations: 63.7 kB / 472.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.1162, allocations: 16 kB / 472.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.173e-05/0.1162, allocations: 12 kB / 472.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.854e-05/0.1162, allocations: 23.92 kB / 472.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.975e-05/0.1163, allocations: 75.59 kB / 472.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.1165, allocations: 119.9 kB / 472.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1165, allocations: 4 kB / 472.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1165, allocations: 0 / 472.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1165, allocations: 0 / 472.6 MB, free: 11.53 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.0006619/0.1172, allocations: 446.2 kB / 473 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1172, allocations: 8.031 kB / 473 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.1173, allocations: 16.75 kB / 473 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.1175, allocations: 200.1 kB / 473.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1175, allocations: 12.66 kB / 473.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.1175, allocations: 12.38 kB / 473.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.1178, allocations: 148.1 kB / 473.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1178, allocations: 0 / 473.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.1179, allocations: 8 kB / 473.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1179, allocations: 7.984 kB / 473.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/0.1182, allocations: 100.8 kB / 473.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009989/0.1192, allocations: 0.6027 MB / 474.1 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.1194, allocations: 70.61 kB / 474.2 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.543e-05/0.1195, allocations: 28.97 kB / 474.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.1196, allocations: 8 kB / 474.2 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.1196, allocations: 30.56 kB / 474.2 MB, free: 9.676 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1196, allocations: 0 / 474.2 MB, free: 9.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003865/0.12, allocations: 117.6 kB / 474.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.1201, allocations: 63.39 kB / 474.4 MB, free: 9.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.1203, allocations: 151.2 kB / 474.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.1203, allocations: 25.7 kB / 474.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.276e-05/0.1204, allocations: 143.4 kB / 474.7 MB, free: 9.148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.1204, allocations: 15.75 kB / 474.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.1204, allocations: 25.7 kB / 474.8 MB, free: 9.102 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1206, allocations: 318.8 kB / 475.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.1207, allocations: 27.97 kB / 475.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.1208, allocations: 72.14 kB / 475.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.121, allocations: 100.2 kB / 475.3 MB, free: 8.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.121, allocations: 3.938 kB / 475.3 MB, free: 8.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002688/0.1213, allocations: 113.5 kB / 475.4 MB, free: 8.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1213, allocations: 4 kB / 475.4 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1213, allocations: 4 kB / 475.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.1214, allocations: 128 / 475.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.1215, allocations: 39.84 kB / 475.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1215, allocations: 4 kB / 475.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.134e-05/0.1216, allocations: 11.91 kB / 475.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.1216, allocations: 4 kB / 475.5 MB, free: 8.367 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.156e-05/0.1217, allocations: 129.8 kB / 475.6 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.1218, allocations: 7.906 kB / 475.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.1218, allocations: 8.312 kB / 475.6 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1218, allocations: 7.938 kB / 475.6 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1218, allocations: 4 kB / 475.6 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1218, allocations: 0 / 475.6 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.1221, allocations: 209.6 kB / 475.8 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1221, allocations: 0 / 475.8 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.179e-05/0.1222, allocations: 19.92 kB / 475.8 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1222, allocations: 0 / 475.8 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1222, allocations: 0 / 475.8 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.1222, allocations: 3.938 kB / 475.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1222, allocations: 0 / 475.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.1225, allocations: 187.5 kB / 476 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.353e-05/0.1225, allocations: 89 kB / 476.1 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.1225, allocations: 0 / 476.1 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-05/0.1226, allocations: 8.062 kB / 476.1 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.1227, allocations: 3.984 kB / 476.1 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.1227, allocations: 8 kB / 476.1 MB, free: 7.605 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.471e-05/0.1228, allocations: 112.8 kB / 476.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1228, allocations: 0 / 476.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002411/0.123, allocations: 27.84 kB / 476.3 MB, free: 7.469 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.0001436/0.1232, allocations: 107.7 kB / 476.4 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.1235, allocations: 71.83 kB / 476.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1235, allocations: 0 / 476.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.791e-05/0.1236, allocations: 28.23 kB / 476.5 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.1239, allocations: 8 kB / 476.5 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005258/0.1244, allocations: 349.2 kB / 476.8 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.1247, allocations: 0.7079 MB / 477.5 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.64e-05/0.1247, allocations: 11.44 kB / 477.5 MB, free: 6.129 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1247, allocations: 4 kB / 477.5 MB, free: 6.125 MB / 350.1 MB Notification: Performance of Templates: time 0.002894/0.1276, allocations: 1.238 MB / 478.8 MB, free: 4.887 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