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.001513/0.001513, allocations: 181.2 kB / 17.41 MB, free: 4.406 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.673/2.673, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0008769/0.0008773, allocations: 93.06 kB / 271.9 MB, free: 8.25 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.5187/0.5187, allocations: 43.56 MB / 363.8 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006345/0.0006347, allocations: 12 kB / 432.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2608, allocations: 58.84 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5652/0.8261, allocations: 87.47 MB / 0.5653 GB, free: 14.81 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003427/0.8265, allocations: 63.97 kB / 0.5654 GB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0119/0.8385, allocations: 2.822 MB / 0.5682 GB, free: 11.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.796e-06/0.8385, allocations: 0 / 0.5682 GB, free: 11.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.8386, allocations: 4 kB / 0.5682 GB, free: 11.96 MB / 394.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.0008043/0.8394, allocations: 427.6 kB / 0.5686 GB, free: 11.49 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.243e-05/0.8395, allocations: 12.03 kB / 0.5686 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.534e-05/0.8395, allocations: 20.12 kB / 0.5686 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.8399, allocations: 204.4 kB / 0.5688 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.8399, allocations: 13.31 kB / 0.5688 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.84, allocations: 16.31 kB / 0.5688 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000473/0.8405, allocations: 144.4 kB / 0.569 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.8405, allocations: 4.172 kB / 0.569 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.8405, allocations: 7.938 kB / 0.569 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.8405, allocations: 4 kB / 0.569 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004476/0.841, allocations: 116.7 kB / 0.5691 GB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.8423, allocations: 0.5633 MB / 0.5696 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000391/0.8427, allocations: 78.61 kB / 0.5697 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.8429, allocations: 32.97 kB / 0.5697 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.843, allocations: 4 kB / 0.5697 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.843, allocations: 38.5 kB / 0.5698 GB, free: 10.13 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.594e-06/0.843, allocations: 1.031 kB / 0.5698 GB, free: 10.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005786/0.8436, allocations: 125.5 kB / 0.5699 GB, free: 10 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.8437, allocations: 51.41 kB / 0.5699 GB, free: 9.938 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.8439, allocations: 157.6 kB / 0.5701 GB, free: 9.777 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.8439, allocations: 25.7 kB / 0.5701 GB, free: 9.746 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.844, allocations: 135.5 kB / 0.5703 GB, free: 9.609 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.8441, allocations: 11.81 kB / 0.5703 GB, free: 9.598 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.328e-06/0.8441, allocations: 4 kB / 0.5703 GB, free: 9.594 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.8443, allocations: 322.8 kB / 0.5706 GB, free: 9.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.8444, allocations: 31.97 kB / 0.5706 GB, free: 9.238 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.8446, allocations: 65.2 kB / 0.5707 GB, free: 9.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003341/0.845, allocations: 117 kB / 0.5708 GB, free: 9.031 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.845, allocations: 0 / 0.5708 GB, free: 9.031 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000457/0.8455, allocations: 134.5 kB / 0.5709 GB, free: 8.895 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.8455, allocations: 8.125 kB / 0.5709 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.8455, allocations: 4 kB / 0.5709 GB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.8455, allocations: 0 / 0.5709 GB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.8458, allocations: 31.92 kB / 0.571 GB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.8458, allocations: 3.938 kB / 0.571 GB, free: 8.848 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.846, allocations: 30.27 kB / 0.571 GB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.8461, allocations: 4 kB / 0.571 GB, free: 8.816 MB / 394.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 0.0001473/0.8462, allocations: 121.8 kB / 0.5711 GB, free: 8.688 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.8463, allocations: 7.906 kB / 0.5711 GB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.235e-05/0.8463, allocations: 20.23 kB / 0.5711 GB, free: 8.66 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.8464, allocations: 7.922 kB / 0.5711 GB, free: 8.652 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.8464, allocations: 3.938 kB / 0.5711 GB, free: 8.648 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.8464, allocations: 0 / 0.5711 GB, free: 8.648 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003507/0.8468, allocations: 201.6 kB / 0.5713 GB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.8468, allocations: 0 / 0.5713 GB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.8469, allocations: 19.98 kB / 0.5714 GB, free: 8.383 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.847, allocations: 7.984 kB / 0.5714 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.847, allocations: 0 / 0.5714 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.847, allocations: 0 / 0.5714 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.847, allocations: 3.938 kB / 0.5714 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000458/0.8475, allocations: 191.4 kB / 0.5715 GB, free: 8.168 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.419e-05/0.8476, allocations: 85.02 kB / 0.5716 GB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.8476, allocations: 4.625 kB / 0.5716 GB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.8478, allocations: 11.98 kB / 0.5716 GB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.8479, allocations: 7.875 kB / 0.5717 GB, free: 8.043 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.8479, allocations: 4 kB / 0.5717 GB, free: 8.039 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001285/0.848, allocations: 111.2 kB / 0.5718 GB, free: 7.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.848, allocations: 0 / 0.5718 GB, free: 7.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004615/0.8485, allocations: 31.84 kB / 0.5718 GB, free: 7.898 MB / 394.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 0.000176/0.8487, allocations: 99.23 kB / 0.5719 GB, free: 7.793 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004134/0.8491, allocations: 84.2 kB / 0.572 GB, free: 7.711 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8492, allocations: 0 / 0.572 GB, free: 7.711 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.8493, allocations: 39.97 kB / 0.572 GB, free: 7.672 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005097/0.8499, allocations: 9.422 kB / 0.572 GB, free: 7.664 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008917/0.8508, allocations: 361.7 kB / 0.5724 GB, free: 7.289 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.8512, allocations: 0.7041 MB / 0.573 GB, free: 6.559 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.056e-05/0.8513, allocations: 19.31 kB / 0.5731 GB, free: 6.539 MB / 394.7 MB Notification: Performance of SimCode: time 5.31e-07/0.8513, allocations: 0 / 0.5731 GB, free: 6.539 MB / 394.7 MB Notification: Performance of Templates: time 0.006117/0.8574, allocations: 1.27 MB / 0.5743 GB, free: 5.273 MB / 394.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/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_cpp_ModelicaTest.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches