Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001589/0.001589, allocations: 178.1 kB / 16.08 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.852/1.852, allocations: 205.6 MB / 222.4 MB, free: 13.67 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008838/0.0008838, allocations: 86.3 kB / 270.8 MB, free: 13.2 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1901/0.1901, allocations: 43.69 MB / 362.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003205, allocations: 8 kB / 432.3 MB, free: 19.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1177, allocations: 58.85 MB / 491.2 MB, free: 8.148 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.002174/0.1199, allocations: 1.551 MB / 492.7 MB, free: 6.578 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009228/0.1209, allocations: 0.5623 MB / 493.3 MB, free: 6.008 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.121, allocations: 7.938 kB / 493.3 MB, free: 6 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.1212, allocations: 27.84 kB / 493.3 MB, free: 5.973 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.1213, allocations: 23.83 kB / 493.3 MB, free: 5.949 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.1215, allocations: 47.91 kB / 493.4 MB, free: 5.902 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.1217, allocations: 135.5 kB / 493.5 MB, free: 5.77 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.1219, allocations: 57.77 kB / 493.6 MB, free: 5.707 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.1221, allocations: 51.78 kB / 493.6 MB, free: 5.656 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.1222, allocations: 55.7 kB / 493.7 MB, free: 5.602 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.1222, allocations: 8 kB / 493.7 MB, free: 5.594 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.629e-05/0.1223, allocations: 8 kB / 493.7 MB, free: 5.586 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.703e-05/0.1223, allocations: 19.92 kB / 493.7 MB, free: 5.566 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.1224, allocations: 81.38 kB / 493.8 MB, free: 5.48 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.1227, allocations: 155.6 kB / 493.9 MB, free: 5.328 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.1227, allocations: 0 / 493.9 MB, free: 5.328 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1227, allocations: 3.938 kB / 493.9 MB, free: 5.324 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.1227, allocations: 0 / 493.9 MB, free: 5.324 MB / 330.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.0007039/0.1234, allocations: 423.5 kB / 494.4 MB, free: 4.863 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.1235, allocations: 8.031 kB / 494.4 MB, free: 4.855 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.948e-05/0.1235, allocations: 20.75 kB / 494.4 MB, free: 4.836 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.1238, allocations: 204.1 kB / 494.6 MB, free: 4.598 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.1238, allocations: 12.66 kB / 494.6 MB, free: 4.586 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.1239, allocations: 12.38 kB / 494.6 MB, free: 4.574 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/0.1243, allocations: 148.1 kB / 494.8 MB, free: 4.426 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1243, allocations: 0 / 494.8 MB, free: 4.426 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.1243, allocations: 8 kB / 494.8 MB, free: 4.418 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.1243, allocations: 8 kB / 494.8 MB, free: 4.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003098/0.1246, allocations: 112.2 kB / 494.9 MB, free: 4.301 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.1257, allocations: 0.6142 MB / 495.5 MB, free: 3.617 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.1259, allocations: 78.56 kB / 495.6 MB, free: 3.531 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.1261, allocations: 37.02 kB / 495.6 MB, free: 3.492 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.1261, allocations: 11.92 kB / 495.6 MB, free: 3.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.1261, allocations: 38.5 kB / 495.7 MB, free: 3.434 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.1261, allocations: 0 / 495.7 MB, free: 3.434 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003908/0.1265, allocations: 121.5 kB / 495.8 MB, free: 3.309 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.1266, allocations: 55.41 kB / 495.8 MB, free: 3.242 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.1267, allocations: 149.8 kB / 496 MB, free: 3.086 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.1268, allocations: 25.7 kB / 496 MB, free: 3.055 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.975e-05/0.1269, allocations: 135.5 kB / 496.1 MB, free: 2.918 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.1269, allocations: 15.73 kB / 496.2 MB, free: 2.902 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/0.1269, allocations: 4 kB / 496.2 MB, free: 2.898 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.127, allocations: 318.8 kB / 496.5 MB, free: 2.578 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.1272, allocations: 35.97 kB / 496.5 MB, free: 2.543 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.1273, allocations: 68.2 kB / 496.6 MB, free: 2.461 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.1276, allocations: 104.2 kB / 496.7 MB, free: 2.344 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.1276, allocations: 0 / 496.7 MB, free: 2.344 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003139/0.1279, allocations: 141.5 kB / 496.8 MB, free: 2.199 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1279, allocations: 4 kB / 496.8 MB, free: 2.195 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1279, allocations: 4 kB / 496.8 MB, free: 2.191 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.128, allocations: 0 / 496.8 MB, free: 2.191 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.1281, allocations: 43.97 kB / 496.9 MB, free: 2.148 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1281, allocations: 0 / 496.9 MB, free: 2.148 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.1282, allocations: 19.84 kB / 496.9 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.1282, allocations: 4 kB / 496.9 MB, free: 2.125 MB / 330.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 9.193e-05/0.1283, allocations: 125.8 kB / 497 MB, free: 1.992 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.1284, allocations: 11.84 kB / 497 MB, free: 1.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.016e-05/0.1284, allocations: 12.31 kB / 497 MB, free: 1.973 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.1284, allocations: 7.938 kB / 497 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1284, allocations: 0 / 497 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1284, allocations: 0 / 497 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.1287, allocations: 201.6 kB / 497.2 MB, free: 1.719 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1287, allocations: 3.938 kB / 497.2 MB, free: 1.715 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.711e-05/0.1288, allocations: 23.98 kB / 497.3 MB, free: 1.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1288, allocations: 0 / 497.3 MB, free: 1.691 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.1288, allocations: 0 / 497.3 MB, free: 1.691 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1288, allocations: 7.875 kB / 497.3 MB, free: 1.684 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1288, allocations: 4 kB / 497.3 MB, free: 1.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.1291, allocations: 187.4 kB / 497.5 MB, free: 1.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/0.1292, allocations: 89 kB / 497.5 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.1292, allocations: 8.312 kB / 497.6 MB, free: 1.367 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.495e-05/0.1293, allocations: 11.94 kB / 497.6 MB, free: 1.355 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.1294, allocations: 7.922 kB / 497.6 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.1294, allocations: 8 kB / 497.6 MB, free: 1.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.486e-05/0.1295, allocations: 108.8 kB / 497.7 MB, free: 1.234 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1295, allocations: 0 / 497.7 MB, free: 1.234 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002348/0.1297, allocations: 27.84 kB / 497.7 MB, free: 1.207 MB / 330.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 0.0001077/0.1298, allocations: 108.9 kB / 497.8 MB, free: 1.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002612/0.1301, allocations: 79.89 kB / 497.9 MB, free: 1.012 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1301, allocations: 0 / 497.9 MB, free: 1.012 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.939e-05/0.1302, allocations: 36.23 kB / 497.9 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.1305, allocations: 8 kB / 497.9 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005706/0.1311, allocations: 337.6 kB / 498.3 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.1314, allocations: 0.7002 MB / 499 MB, free: 15.89 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.574e-05/0.1314, allocations: 12.66 kB / 499 MB, free: 15.88 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.946e-05/0.1315, allocations: 11.44 kB / 499 MB, free: 15.86 MB / 346.7 MB Notification: Performance of SimCode: time 2.9e-07/0.1315, allocations: 0 / 499 MB, free: 15.86 MB / 346.7 MB Notification: Performance of Templates: time 0.002719/0.1342, allocations: 0.6245 MB / 499.6 MB, free: 15.24 MB / 346.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/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