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.001469/0.001469, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.968/1.968, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 89.8 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2892/0.2892, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.993e-05/2.006e-05, allocations: 0 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.3983, allocations: 58.84 MB / 477.1 MB, free: 5.258 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1609/0.5593, allocations: 86.69 MB / 0.5505 GB, free: 12.63 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.5596, allocations: 59.48 kB / 0.5506 GB, free: 12.57 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01187/0.5715, allocations: 2.789 MB / 0.5533 GB, free: 9.781 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.5715, allocations: 4 kB / 0.5533 GB, free: 9.777 MB / 395.1 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.5715, allocations: 0 / 0.5533 GB, free: 9.777 MB / 395.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.0007227/0.5723, allocations: 414.4 kB / 0.5537 GB, free: 9.324 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.5723, allocations: 8.031 kB / 0.5537 GB, free: 9.316 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.38e-05/0.5724, allocations: 11.91 kB / 0.5537 GB, free: 9.305 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.5727, allocations: 215 kB / 0.554 GB, free: 9.055 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.5727, allocations: 4 kB / 0.554 GB, free: 9.051 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.5728, allocations: 8 kB / 0.554 GB, free: 9.043 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002568/0.573, allocations: 68.56 kB / 0.554 GB, free: 8.977 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.5733, allocations: 99.62 kB / 0.5541 GB, free: 8.875 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.5733, allocations: 0 / 0.5541 GB, free: 8.875 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.5734, allocations: 3.938 kB / 0.5541 GB, free: 8.871 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.5734, allocations: 7.938 kB / 0.5541 GB, free: 8.863 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.5745, allocations: 0.5294 MB / 0.5547 GB, free: 8.281 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.5747, allocations: 54.64 kB / 0.5547 GB, free: 8.219 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.767e-05/0.5748, allocations: 16.92 kB / 0.5547 GB, free: 8.199 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.5749, allocations: 11.98 kB / 0.5547 GB, free: 8.188 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.5749, allocations: 30.56 kB / 0.5548 GB, free: 8.148 MB / 395.1 MB Notification: Performance of pre-optimization done (n=5): time 1.943e-06/0.5749, allocations: 0 / 0.5548 GB, free: 8.148 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.000245/0.5752, allocations: 61.59 kB / 0.5548 GB, free: 8.082 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.5752, allocations: 51.41 kB / 0.5549 GB, free: 8.02 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.5754, allocations: 128.7 kB / 0.555 GB, free: 7.887 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.5754, allocations: 25.7 kB / 0.555 GB, free: 7.855 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.5755, allocations: 209.9 kB / 0.5552 GB, free: 7.648 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.5756, allocations: 15.73 kB / 0.5552 GB, free: 7.633 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/0.5756, allocations: 4 kB / 0.5552 GB, free: 7.629 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.5757, allocations: 314.8 kB / 0.5555 GB, free: 7.312 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.16e-05/0.5758, allocations: 12 kB / 0.5555 GB, free: 7.301 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.076e-05/0.5759, allocations: 48.23 kB / 0.5556 GB, free: 7.238 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.491e-05/0.576, allocations: 27.98 kB / 0.5556 GB, free: 7.211 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.576, allocations: 0 / 0.5556 GB, free: 7.211 MB / 395.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002198/0.5762, allocations: 81.62 kB / 0.5557 GB, free: 7.125 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.5763, allocations: 4 kB / 0.5557 GB, free: 7.121 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.5763, allocations: 0 / 0.5557 GB, free: 7.121 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.5763, allocations: 4 kB / 0.5557 GB, free: 7.117 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.5766, allocations: 36.03 kB / 0.5557 GB, free: 7.082 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.5766, allocations: 4 kB / 0.5557 GB, free: 7.078 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.5768, allocations: 19.84 kB / 0.5558 GB, free: 7.059 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.5768, allocations: 4 kB / 0.5558 GB, free: 7.055 MB / 395.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 () * 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.583e-05/0.5769, allocations: 104.9 kB / 0.5559 GB, free: 6.945 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.5769, allocations: 7.906 kB / 0.5559 GB, free: 6.938 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.959e-05/0.577, allocations: 12.41 kB / 0.5559 GB, free: 6.926 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.577, allocations: 7.938 kB / 0.5559 GB, free: 6.918 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.577, allocations: 0 / 0.5559 GB, free: 6.918 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.577, allocations: 0 / 0.5559 GB, free: 6.918 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002525/0.5773, allocations: 182.1 kB / 0.5561 GB, free: 6.703 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.5773, allocations: 0 / 0.5561 GB, free: 6.703 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.5775, allocations: 19.92 kB / 0.5561 GB, free: 6.684 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.5775, allocations: 4 kB / 0.5561 GB, free: 6.68 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.5775, allocations: 0 / 0.5561 GB, free: 6.68 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5775, allocations: 0 / 0.5561 GB, free: 6.68 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.5775, allocations: 0 / 0.5561 GB, free: 6.68 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.5777, allocations: 167.5 kB / 0.5562 GB, free: 6.5 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.477e-05/0.5778, allocations: 85.02 kB / 0.5563 GB, free: 6.398 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.5779, allocations: 7.922 kB / 0.5563 GB, free: 6.391 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.578, allocations: 4 kB / 0.5563 GB, free: 6.387 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.5781, allocations: 7.984 kB / 0.5563 GB, free: 6.379 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.5781, allocations: 0 / 0.5563 GB, free: 6.379 MB / 395.1 MB Notification: Performance of sorting global known variables: time 9.318e-05/0.5782, allocations: 103.3 kB / 0.5564 GB, free: 6.277 MB / 395.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5782, allocations: 0 / 0.5564 GB, free: 6.277 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003552/0.5786, allocations: 27.84 kB / 0.5565 GB, free: 6.25 MB / 395.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 () * 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.0001362/0.5787, allocations: 95.23 kB / 0.5566 GB, free: 6.148 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.5789, allocations: 43.94 kB / 0.5566 GB, free: 6.105 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5789, allocations: 0 / 0.5566 GB, free: 6.105 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.964e-05/0.579, allocations: 28.19 kB / 0.5566 GB, free: 6.078 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.5792, allocations: 3.953 kB / 0.5566 GB, free: 6.074 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004737/0.5797, allocations: 158.5 kB / 0.5568 GB, free: 5.891 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.5801, allocations: 0.708 MB / 0.5575 GB, free: 5.156 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.247e-05/0.5802, allocations: 11.44 kB / 0.5575 GB, free: 5.145 MB / 395.1 MB Notification: Performance of SimCode: time 7.42e-07/0.5802, allocations: 7.938 kB / 0.5575 GB, free: 5.137 MB / 395.1 MB Notification: Performance of Templates: time 0.003762/0.5839, allocations: 1.234 MB / 0.5587 GB, free: 3.902 MB / 395.1 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