Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_ModelicaTest.FluxTubes.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001958/0.001959, allocations: 179.2 kB / 16.41 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.064/2.064, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0008043/0.0008046, allocations: 96.8 kB / 270.9 MB, free: 8.348 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.3515/0.3515, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003446, allocations: 8 kB / 431.4 MB, free: 5.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.116, allocations: 58.85 MB / 490.2 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.002039/0.1181, allocations: 1.543 MB / 491.8 MB, free: 9.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008133/0.1189, allocations: 0.5621 MB / 492.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.909e-05/0.119, allocations: 0 / 492.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.1192, allocations: 31.78 kB / 492.4 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.1193, allocations: 23.83 kB / 492.4 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.1194, allocations: 35.95 kB / 492.4 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.1196, allocations: 135.5 kB / 492.6 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.1197, allocations: 49.77 kB / 492.6 MB, free: 8.559 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.1198, allocations: 47.84 kB / 492.7 MB, free: 8.512 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.104e-05/0.1199, allocations: 59.69 kB / 492.7 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.12, allocations: 8 kB / 492.7 MB, free: 8.445 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.085e-05/0.12, allocations: 8 kB / 492.7 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/0.12, allocations: 19.92 kB / 492.8 MB, free: 8.418 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.1201, allocations: 49.64 kB / 492.8 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.1202, allocations: 119.9 kB / 492.9 MB, free: 8.246 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1202, allocations: 0 / 492.9 MB, free: 8.246 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1202, allocations: 4 kB / 492.9 MB, free: 8.242 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1202, allocations: 0 / 492.9 MB, free: 8.242 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.000578/0.1208, allocations: 423.2 kB / 493.3 MB, free: 7.781 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.1208, allocations: 8.031 kB / 493.3 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.1209, allocations: 19.77 kB / 493.4 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.1211, allocations: 202.7 kB / 493.6 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.1211, allocations: 16.28 kB / 493.6 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.1211, allocations: 12 kB / 493.6 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.1215, allocations: 143.8 kB / 493.7 MB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.1215, allocations: 4 kB / 493.7 MB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.1215, allocations: 4 kB / 493.7 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1215, allocations: 7.953 kB / 493.8 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002949/0.1218, allocations: 120.1 kB / 493.9 MB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009596/0.1228, allocations: 0.6106 MB / 494.5 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.123, allocations: 78.56 kB / 494.6 MB, free: 6.445 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.1231, allocations: 40.86 kB / 494.6 MB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.1232, allocations: 0 / 494.6 MB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.1232, allocations: 30.56 kB / 494.6 MB, free: 6.363 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.1232, allocations: 0 / 494.6 MB, free: 6.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003828/0.1236, allocations: 129.5 kB / 494.8 MB, free: 6.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.1236, allocations: 55.34 kB / 494.8 MB, free: 6.164 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.1238, allocations: 146.4 kB / 494.9 MB, free: 6.012 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.1238, allocations: 25.7 kB / 495 MB, free: 5.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.493e-05/0.1239, allocations: 135.5 kB / 495.1 MB, free: 5.844 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.1239, allocations: 23.73 kB / 495.1 MB, free: 5.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.1239, allocations: 0 / 495.1 MB, free: 5.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.968e-05/0.124, allocations: 322.8 kB / 495.4 MB, free: 5.496 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.1241, allocations: 39.97 kB / 495.5 MB, free: 5.457 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.1243, allocations: 64.27 kB / 495.5 MB, free: 5.379 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.1244, allocations: 39.98 kB / 495.6 MB, free: 5.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1244, allocations: 0 / 495.6 MB, free: 5.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002851/0.1247, allocations: 141.4 kB / 495.7 MB, free: 5.195 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1247, allocations: 8 kB / 495.7 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1247, allocations: 0 / 495.7 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1247, allocations: 4 kB / 495.7 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.1249, allocations: 27.98 kB / 495.8 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.1249, allocations: 7.938 kB / 495.8 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.732e-05/0.125, allocations: 11.98 kB / 495.8 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.125, allocations: 4 kB / 495.8 MB, free: 5.133 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.457e-05/0.1251, allocations: 129.8 kB / 495.9 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.1251, allocations: 11.86 kB / 495.9 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.394e-05/0.1252, allocations: 16.3 kB / 495.9 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1252, allocations: 0 / 495.9 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1252, allocations: 0 / 495.9 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1252, allocations: 0 / 495.9 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.1254, allocations: 213.5 kB / 496.1 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1254, allocations: 0 / 496.1 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.5e-05/0.1255, allocations: 24.17 kB / 496.2 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1255, allocations: 0 / 496.2 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1255, allocations: 11.95 kB / 496.2 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1255, allocations: 0 / 496.2 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1255, allocations: 3.984 kB / 496.2 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.1258, allocations: 199.4 kB / 496.4 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.1259, allocations: 81.02 kB / 496.5 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.1259, allocations: 4 kB / 496.5 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.757e-05/0.126, allocations: 11.94 kB / 496.5 MB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.013e-05/0.126, allocations: 8 kB / 496.5 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.1261, allocations: 0 / 496.5 MB, free: 4.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.153e-05/0.1261, allocations: 112.6 kB / 496.6 MB, free: 4.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1261, allocations: 4 kB / 496.6 MB, free: 4.227 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002218/0.1264, allocations: 27.94 kB / 496.6 MB, free: 4.199 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.177e-05/0.1264, allocations: 87.25 kB / 496.7 MB, free: 4.105 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.1267, allocations: 83.95 kB / 496.8 MB, free: 4.023 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.045e-05/0.1267, allocations: 0 / 496.8 MB, free: 4.023 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.1269, allocations: 35.91 kB / 496.8 MB, free: 3.988 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.1271, allocations: 8 kB / 496.8 MB, free: 3.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005052/0.1276, allocations: 355.5 kB / 497.2 MB, free: 3.598 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.1279, allocations: 0.7118 MB / 497.9 MB, free: 2.859 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.128, allocations: 11.44 kB / 497.9 MB, free: 2.848 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.128, allocations: 4 kB / 497.9 MB, free: 2.844 MB / 378.7 MB Notification: Performance of Templates: time 0.002426/0.1304, allocations: 1.232 MB / 499.1 MB, free: 1.609 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches