Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.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.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002184/0.002184, allocations: 179.2 kB / 8.363 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.948/1.948, 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.001098/0.001098, allocations: 93.64 kB / 262.1 MB, free: 13.87 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.2869/0.2869, allocations: 43.48 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.194e-05/2.193e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.3978, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.745/2.143, allocations: 0.574 GB / 1.04 GB, free: 141.3 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/2.143, allocations: 82.7 kB / 1.04 GB, free: 141.3 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.3547/2.498, allocations: 100.5 MB / 1.138 GB, free: 72.5 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.595e-06/2.498, allocations: 0 / 1.138 GB, free: 72.5 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 5.271e-05/2.498, allocations: 12 kB / 1.138 GB, free: 72.48 MB / 0.4952 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002894/2.501, allocations: 0.8093 MB / 1.139 GB, free: 71.62 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/2.501, allocations: 8.031 kB / 1.139 GB, free: 71.61 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007577/2.502, allocations: 75.34 kB / 1.139 GB, free: 71.54 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/2.503, allocations: 411.4 kB / 1.139 GB, free: 71.1 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/2.503, allocations: 46.47 kB / 1.14 GB, free: 71.05 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/2.503, allocations: 24 kB / 1.14 GB, free: 71.02 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001163/2.505, allocations: 293.5 kB / 1.14 GB, free: 70.73 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/2.506, allocations: 449.8 kB / 1.14 GB, free: 70.25 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.208e-05/2.506, allocations: 0 / 1.14 GB, free: 70.25 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-05/2.506, allocations: 4 kB / 1.14 GB, free: 70.25 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.242e-05/2.506, allocations: 16.72 kB / 1.14 GB, free: 70.23 MB / 0.4952 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005982/2.512, allocations: 2.376 MB / 1.143 GB, free: 67.7 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008497/2.513, allocations: 242.9 kB / 1.143 GB, free: 67.45 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003893/2.514, allocations: 104.8 kB / 1.143 GB, free: 67.35 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 4.955e-05/2.514, allocations: 7.984 kB / 1.143 GB, free: 67.34 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005995/2.514, allocations: 211.2 kB / 1.143 GB, free: 67.11 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=32): time 4.579e-06/2.514, allocations: 0 / 1.143 GB, free: 67.11 MB / 0.4952 GB Notification: Performance of matching and sorting (n=44): time 0.01479/2.529, allocations: 1.935 MB / 1.145 GB, free: 65.05 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/2.529, allocations: 166.2 kB / 1.145 GB, free: 64.85 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006259/2.53, allocations: 313.2 kB / 1.145 GB, free: 64.54 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 8.083e-05/2.53, allocations: 29.7 kB / 1.145 GB, free: 64.5 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/2.53, allocations: 310.2 kB / 1.146 GB, free: 64.2 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/2.53, allocations: 149.8 kB / 1.146 GB, free: 64.05 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-05/2.53, allocations: 0 / 1.146 GB, free: 64.05 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 9.824e-05/2.531, allocations: 326.8 kB / 1.146 GB, free: 63.72 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005679/2.531, allocations: 153.5 kB / 1.146 GB, free: 63.57 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007167/2.532, allocations: 325.4 kB / 1.147 GB, free: 63.18 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008902/2.533, allocations: 211.3 kB / 1.147 GB, free: 62.98 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/2.533, allocations: 4 kB / 1.147 GB, free: 62.97 MB / 0.4952 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002195/2.535, allocations: 0.5515 MB / 1.147 GB, free: 62.41 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 4.944e-05/2.535, allocations: 37.8 kB / 1.147 GB, free: 62.37 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/2.535, allocations: 4 kB / 1.147 GB, free: 62.36 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007985/2.536, allocations: 104.7 kB / 1.148 GB, free: 62.26 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/2.538, allocations: 147.8 kB / 1.148 GB, free: 62.11 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000902/2.538, allocations: 0.6889 MB / 1.148 GB, free: 61.4 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/2.54, allocations: 56.02 kB / 1.148 GB, free: 61.34 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/2.54, allocations: 43.98 kB / 1.148 GB, free: 61.3 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (sweptVolume.regularFlow[1],$whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002532/2.54, allocations: 132.7 kB / 1.149 GB, free: 61.16 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/2.54, allocations: 47.44 kB / 1.149 GB, free: 61.12 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002715/2.543, allocations: 0.5283 MB / 1.149 GB, free: 60.58 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/2.543, allocations: 4 kB / 1.149 GB, free: 60.58 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/2.543, allocations: 4 kB / 1.149 GB, free: 60.57 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/2.543, allocations: 3.984 kB / 1.149 GB, free: 60.57 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003512/2.547, allocations: 1.034 MB / 1.15 GB, free: 59.47 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/2.547, allocations: 4 kB / 1.15 GB, free: 59.47 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/2.548, allocations: 111.9 kB / 1.15 GB, free: 59.36 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001287/2.55, allocations: 100.9 kB / 1.15 GB, free: 59.26 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.501e-05/2.55, allocations: 12 kB / 1.15 GB, free: 59.25 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00292/2.553, allocations: 1.627 MB / 1.152 GB, free: 57.5 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/2.553, allocations: 0 / 1.152 GB, free: 57.5 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002628/2.555, allocations: 0.7841 MB / 1.153 GB, free: 56.66 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003711/2.556, allocations: 156.5 kB / 1.153 GB, free: 56.48 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/2.556, allocations: 4 kB / 1.153 GB, free: 56.48 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/2.557, allocations: 55.94 kB / 1.153 GB, free: 56.43 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002891/2.557, allocations: 63.8 kB / 1.153 GB, free: 56.36 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/2.558, allocations: 39.98 kB / 1.153 GB, free: 56.32 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0004689/2.558, allocations: 239 kB / 1.153 GB, free: 56.09 MB / 0.4952 GB Notification: Performance of sort global known variables: time 9.62e-07/2.558, allocations: 0 / 1.153 GB, free: 56.09 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.001935/2.56, allocations: 275.8 kB / 1.154 GB, free: 55.82 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (sweptVolume.medium.T,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002681/2.563, allocations: 0.9159 MB / 1.154 GB, free: 54.9 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.001619/2.564, allocations: 454.7 kB / 1.155 GB, free: 54.45 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/2.564, allocations: 4 kB / 1.155 GB, free: 54.45 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0008948/2.565, allocations: 325.3 kB / 1.155 GB, free: 54.12 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002147/2.567, allocations: 162.8 kB / 1.155 GB, free: 53.96 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/2.57, allocations: 0.8319 MB / 1.156 GB, free: 53.08 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/2.571, allocations: 0.8629 MB / 1.157 GB, free: 52.19 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007021/2.572, allocations: 79.42 kB / 1.157 GB, free: 52.11 MB / 0.4952 GB Notification: Performance of SimCode: time 1.323e-06/2.572, allocations: 0 / 1.157 GB, free: 52.11 MB / 0.4952 GB Notification: Performance of Templates: time 0.03374/2.605, allocations: 14.56 MB / 1.171 GB, free: 37.56 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches