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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.1 MB / 222.5 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008925/0.0008925, allocations: 100.9 kB / 269.9 MB, free: 8.445 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3243/0.3243, allocations: 43.5 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001196, allocations: 51.92 kB / 429.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1118, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.003295/0.1151, allocations: 1.932 MB / 488.9 MB, free: 10.6 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009468/0.1161, allocations: 0.5929 MB / 489.5 MB, free: 10 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.1162, allocations: 0 / 489.5 MB, free: 10 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001876/0.1165, allocations: 31.78 kB / 489.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.1166, allocations: 27.83 kB / 489.6 MB, free: 9.941 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.1168, allocations: 35.97 kB / 489.6 MB, free: 9.906 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.117, allocations: 147.5 kB / 489.8 MB, free: 9.762 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.1172, allocations: 57.75 kB / 489.8 MB, free: 9.699 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.1173, allocations: 51.8 kB / 489.9 MB, free: 9.648 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.819e-05/0.1174, allocations: 67.67 kB / 489.9 MB, free: 9.582 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.1174, allocations: 12 kB / 490 MB, free: 9.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.334e-05/0.1175, allocations: 8 kB / 490 MB, free: 9.562 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.709e-05/0.1175, allocations: 23.92 kB / 490 MB, free: 9.539 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.177e-05/0.1176, allocations: 63.67 kB / 490.1 MB, free: 9.477 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.1178, allocations: 155.7 kB / 490.2 MB, free: 9.324 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1178, allocations: 4 kB / 490.2 MB, free: 9.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1178, allocations: 0 / 490.2 MB, free: 9.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1178, allocations: 0 / 490.2 MB, free: 9.32 MB / 378.7 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.0006144/0.1184, allocations: 442.9 kB / 490.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.1185, allocations: 12.03 kB / 490.7 MB, free: 8.832 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.1185, allocations: 12.75 kB / 490.7 MB, free: 8.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.1187, allocations: 208.1 kB / 490.9 MB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.1187, allocations: 12.66 kB / 490.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.1188, allocations: 16.31 kB / 490.9 MB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/0.1191, allocations: 152 kB / 491 MB, free: 8.398 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1191, allocations: 0 / 491 MB, free: 8.398 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.1191, allocations: 8 kB / 491.1 MB, free: 8.391 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1191, allocations: 4 kB / 491.1 MB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002745/0.1194, allocations: 108.1 kB / 491.2 MB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009098/0.1203, allocations: 0.5986 MB / 491.8 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.1206, allocations: 74.52 kB / 491.8 MB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.791e-05/0.1207, allocations: 33 kB / 491.9 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.1207, allocations: 0 / 491.9 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.1207, allocations: 34.56 kB / 491.9 MB, free: 7.453 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.1207, allocations: 0 / 491.9 MB, free: 7.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004197/0.1212, allocations: 113.5 kB / 492 MB, free: 7.336 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.1212, allocations: 51.41 kB / 492.1 MB, free: 7.273 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.1213, allocations: 149.8 kB / 492.2 MB, free: 7.117 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.1214, allocations: 29.7 kB / 492.2 MB, free: 7.082 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.222e-05/0.1214, allocations: 135.5 kB / 492.4 MB, free: 6.945 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/0.1215, allocations: 19.73 kB / 492.4 MB, free: 6.926 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.1215, allocations: 25.62 kB / 492.4 MB, free: 6.895 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1216, allocations: 326.8 kB / 492.7 MB, free: 6.566 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.1217, allocations: 31.97 kB / 492.8 MB, free: 6.535 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.1219, allocations: 60.2 kB / 492.8 MB, free: 6.461 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.1221, allocations: 96.19 kB / 492.9 MB, free: 6.352 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1221, allocations: 3.938 kB / 492.9 MB, free: 6.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002812/0.1224, allocations: 125.5 kB / 493 MB, free: 6.219 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1224, allocations: 8.125 kB / 493 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1224, allocations: 0 / 493 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.1224, allocations: 4 kB / 493.1 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.1226, allocations: 31.86 kB / 493.1 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.1226, allocations: 0 / 493.1 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.651e-05/0.1227, allocations: 19.83 kB / 493.1 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.1227, allocations: 4 kB / 493.1 MB, free: 6.152 MB / 378.7 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 7.864e-05/0.1228, allocations: 117.8 kB / 493.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.1228, allocations: 11.91 kB / 493.2 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.412e-05/0.1229, allocations: 16.3 kB / 493.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.1229, allocations: 7.922 kB / 493.3 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1229, allocations: 3.938 kB / 493.3 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1229, allocations: 0 / 493.3 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.1231, allocations: 213.6 kB / 493.5 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1231, allocations: 0 / 493.5 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.792e-05/0.1232, allocations: 19.92 kB / 493.5 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1232, allocations: 0 / 493.5 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.1232, allocations: 3.938 kB / 493.5 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1232, allocations: 7.938 kB / 493.5 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1232, allocations: 0 / 493.5 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005424/0.1238, allocations: 0.7631 MB / 494.3 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/0.1238, allocations: 85.02 kB / 494.3 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.1239, allocations: 7.984 kB / 494.4 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.132e-05/0.124, allocations: 8 kB / 494.4 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.124, allocations: 7.984 kB / 494.4 MB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.124, allocations: 0 / 494.4 MB, free: 4.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.224e-05/0.1241, allocations: 108 kB / 494.5 MB, free: 4.645 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1241, allocations: 0 / 494.5 MB, free: 4.645 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003288/0.1244, allocations: 27.94 kB / 494.5 MB, free: 4.617 MB / 378.7 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 8.187e-05/0.1245, allocations: 103.2 kB / 494.6 MB, free: 4.508 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002343/0.1248, allocations: 71.89 kB / 494.7 MB, free: 4.438 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1248, allocations: 0 / 494.7 MB, free: 4.438 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.526e-05/0.1249, allocations: 27.92 kB / 494.7 MB, free: 4.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.1252, allocations: 11.94 kB / 494.7 MB, free: 4.398 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005251/0.1257, allocations: 430.7 kB / 495.1 MB, free: 3.941 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.1259, allocations: 0.708 MB / 495.8 MB, free: 3.207 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.406e-05/0.126, allocations: 8.656 kB / 495.8 MB, free: 3.199 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.126, allocations: 11.44 kB / 495.9 MB, free: 3.188 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.126, allocations: 0 / 495.9 MB, free: 3.188 MB / 378.7 MB Notification: Performance of Templates: time 0.002409/0.1284, allocations: 0.6497 MB / 496.5 MB, free: 2.539 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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