Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors") translateModel(ModelicaTest.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001126, allocations: 107.3 kB / 16.64 MB, free: 6.812 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.001227/0.001227, allocations: 190 kB / 17.56 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1977/0.1977, allocations: 43.52 MB / 314.3 MB, free: 0.7109 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 73.64 kB / 382.9 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09696/0.09928, allocations: 57.78 MB / 440.7 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.003003/0.1023, allocations: 1.935 MB / 442.6 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008635/0.1032, allocations: 0.593 MB / 443.2 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.1034, allocations: 4 kB / 443.2 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.1036, allocations: 27.78 kB / 443.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.1038, allocations: 23.83 kB / 443.2 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.104, allocations: 39.97 kB / 443.3 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.1042, allocations: 151.4 kB / 443.4 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.1043, allocations: 69.66 kB / 443.5 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.1045, allocations: 63.78 kB / 443.6 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.196e-05/0.1046, allocations: 59.77 kB / 443.6 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.1046, allocations: 12 kB / 443.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.486e-05/0.1047, allocations: 12 kB / 443.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.835e-05/0.1047, allocations: 31.86 kB / 443.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.191e-05/0.1048, allocations: 67.66 kB / 443.7 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.1049, allocations: 119.7 kB / 443.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1049, allocations: 0 / 443.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1049, allocations: 0 / 443.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.1049, allocations: 0 / 443.9 MB, free: 4.148 MB / 318.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.0005476/0.1055, allocations: 447.2 kB / 444.3 MB, free: 3.664 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.1055, allocations: 12.02 kB / 444.3 MB, free: 3.652 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.1056, allocations: 16.75 kB / 444.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.1058, allocations: 207.6 kB / 444.5 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.1058, allocations: 8.656 kB / 444.5 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.1058, allocations: 12.38 kB / 444.5 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.1061, allocations: 152.1 kB / 444.7 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1061, allocations: 7.922 kB / 444.7 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.1061, allocations: 4 kB / 444.7 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1062, allocations: 4 kB / 444.7 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/0.1064, allocations: 104.2 kB / 444.8 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007784/0.1072, allocations: 0.6064 MB / 445.4 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.1074, allocations: 66.61 kB / 445.5 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.485e-05/0.1075, allocations: 36.97 kB / 445.5 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.1075, allocations: 0 / 445.5 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.3e-05/0.1076, allocations: 30.56 kB / 445.5 MB, free: 2.281 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.1076, allocations: 3.938 kB / 445.5 MB, free: 2.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003419/0.1079, allocations: 117.5 kB / 445.7 MB, free: 2.156 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.1079, allocations: 55.41 kB / 445.7 MB, free: 2.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.493e-05/0.108, allocations: 146.7 kB / 445.9 MB, free: 1.938 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.1081, allocations: 25.7 kB / 445.9 MB, free: 1.906 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.654e-05/0.1081, allocations: 135.5 kB / 446 MB, free: 1.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.251e-05/0.1081, allocations: 19.66 kB / 446 MB, free: 1.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.1082, allocations: 29.7 kB / 446.1 MB, free: 1.715 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.36e-05/0.1082, allocations: 314.8 kB / 446.4 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.214e-05/0.1083, allocations: 31.97 kB / 446.4 MB, free: 1.367 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.419e-05/0.1084, allocations: 64.27 kB / 446.5 MB, free: 1.289 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.1086, allocations: 96.19 kB / 446.6 MB, free: 1.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1086, allocations: 0 / 446.6 MB, free: 1.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002442/0.1089, allocations: 121.4 kB / 446.7 MB, free: 1.055 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1089, allocations: 8 kB / 446.7 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1089, allocations: 0 / 446.7 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1089, allocations: 4.125 kB / 446.7 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.109, allocations: 43.84 kB / 446.7 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.109, allocations: 0 / 446.7 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.881e-05/0.1091, allocations: 15.84 kB / 446.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.1092, allocations: 7.984 kB / 446.8 MB, free: 0.9766 MB / 318.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 6.315e-05/0.1092, allocations: 121.8 kB / 446.9 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.1093, allocations: 7.906 kB / 446.9 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.967e-05/0.1093, allocations: 12.31 kB / 446.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1093, allocations: 7.938 kB / 446.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1093, allocations: 0 / 446.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1093, allocations: 0 / 446.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.1095, allocations: 205.6 kB / 447.1 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1095, allocations: 0 / 447.1 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.212e-05/0.1096, allocations: 24.11 kB / 447.1 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1096, allocations: 0 / 447.1 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.1096, allocations: 8 kB / 447.1 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1096, allocations: 3.938 kB / 447.1 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1096, allocations: 3.938 kB / 447.1 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.1098, allocations: 187.4 kB / 447.3 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.225e-05/0.1098, allocations: 85 kB / 447.4 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.1099, allocations: 0 / 447.4 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.92e-05/0.11, allocations: 7.938 kB / 447.4 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.11, allocations: 7.984 kB / 447.4 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.11, allocations: 4 kB / 447.4 MB, free: 220 kB / 318.1 MB Notification: Performance of sorting global known variables: time 4.902e-05/0.1101, allocations: 116 kB / 447.5 MB, free: 104 kB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1101, allocations: 0 / 447.5 MB, free: 104 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002406/0.1103, allocations: 31.84 kB / 447.6 MB, free: 72 kB / 318.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.975e-05/0.1104, allocations: 103.2 kB / 447.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000251/0.1107, allocations: 67.89 kB / 447.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1107, allocations: 0 / 447.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.098e-05/0.1108, allocations: 28.23 kB / 447.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.1111, allocations: 8 kB / 447.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005525/0.1117, allocations: 341.3 kB / 448.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.112, allocations: 0.7041 MB / 448.8 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.112, allocations: 15.44 kB / 448.8 MB, free: 14.74 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.112, allocations: 4 kB / 448.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of Templates: time 0.002791/0.1148, allocations: 1.257 MB / 450.1 MB, free: 13.48 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sensors/Sensors.csv","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches