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.002245/0.002245, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.994/1.994, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001085/0.001085, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2781/0.2781, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.267e-05/3.277e-05, allocations: 0 / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1114, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.759/1.87, allocations: 0.5747 GB / 1.047 GB, free: 59.67 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/1.871, allocations: 90.36 kB / 1.048 GB, free: 59.62 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.6781/2.549, allocations: 101.9 MB / 1.147 GB, free: 159.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.853e-06/2.549, allocations: 0 / 1.147 GB, free: 159.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.831e-05/2.549, allocations: 11.45 kB / 1.147 GB, free: 159.4 MB / 0.5105 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.002131/2.551, allocations: 0.813 MB / 1.148 GB, free: 158.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/2.551, allocations: 11.34 kB / 1.148 GB, free: 158.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005144/2.552, allocations: 76.86 kB / 1.148 GB, free: 158.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000886/2.552, allocations: 403.2 kB / 1.148 GB, free: 158.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.618e-05/2.553, allocations: 56.92 kB / 1.148 GB, free: 158.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.801e-05/2.553, allocations: 41.03 kB / 1.148 GB, free: 158.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/2.554, allocations: 498.5 kB / 1.149 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/2.554, allocations: 0 / 1.149 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.93e-05/2.554, allocations: 20.03 kB / 1.149 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.983e-05/2.554, allocations: 18.5 kB / 1.149 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008238/2.555, allocations: 336 kB / 1.149 GB, free: 158.1 MB / 0.5105 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.004238/2.559, allocations: 2.445 MB / 1.152 GB, free: 156.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006459/2.56, allocations: 281.1 kB / 1.152 GB, free: 156.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003049/2.56, allocations: 121.7 kB / 1.152 GB, free: 156 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.945e-05/2.56, allocations: 13.7 kB / 1.152 GB, free: 156 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004767/2.561, allocations: 223.4 kB / 1.152 GB, free: 155.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 3.666e-06/2.561, allocations: 0 / 1.152 GB, free: 155.9 MB / 0.5105 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: sweptVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.0146/2.575, allocations: 2.662 MB / 1.155 GB, free: 154.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/2.575, allocations: 158.2 kB / 1.155 GB, free: 154.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004927/2.576, allocations: 333.1 kB / 1.155 GB, free: 154.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.656e-05/2.576, allocations: 41.61 kB / 1.155 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/2.576, allocations: 308.7 kB / 1.156 GB, free: 154.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/2.576, allocations: 159.5 kB / 1.156 GB, free: 154 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.894e-05/2.576, allocations: 11.91 kB / 1.156 GB, free: 154 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.926e-05/2.576, allocations: 333.7 kB / 1.156 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004411/2.577, allocations: 153.9 kB / 1.156 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005378/2.577, allocations: 346.5 kB / 1.157 GB, free: 153.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005143/2.578, allocations: 231.8 kB / 1.157 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/2.578, allocations: 3.188 kB / 1.157 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001447/2.579, allocations: 0.6146 MB / 1.157 GB, free: 153 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.11e-05/2.579, allocations: 32.95 kB / 1.157 GB, free: 153 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/2.579, allocations: 10.97 kB / 1.157 GB, free: 153 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006308/2.58, allocations: 112.8 kB / 1.158 GB, free: 152.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/2.581, allocations: 149.2 kB / 1.158 GB, free: 152.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006479/2.582, allocations: 0.6722 MB / 1.158 GB, free: 152.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/2.583, allocations: 64.58 kB / 1.158 GB, free: 152.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.615e-05/2.583, allocations: 51.58 kB / 1.159 GB, free: 152.3 MB / 0.5105 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 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,sweptVolume.regularFlow[1],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.0002129/2.583, allocations: 142.7 kB / 1.159 GB, free: 152.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/2.583, allocations: 47.12 kB / 1.159 GB, free: 152.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002118/2.585, allocations: 0.6208 MB / 1.159 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/2.585, allocations: 6.531 kB / 1.159 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/2.586, allocations: 0 / 1.159 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/2.586, allocations: 0 / 1.159 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002698/2.588, allocations: 1.164 MB / 1.16 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/2.588, allocations: 0 / 1.16 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009009/2.589, allocations: 117.6 kB / 1.161 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008981/2.59, allocations: 102.8 kB / 1.161 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.726e-05/2.59, allocations: 15.81 kB / 1.161 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002251/2.592, allocations: 1.678 MB / 1.162 GB, free: 149.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/2.593, allocations: 3.719 kB / 1.162 GB, free: 149.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002158/2.595, allocations: 0.8574 MB / 1.163 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003582/2.595, allocations: 158.3 kB / 1.163 GB, free: 149 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/2.595, allocations: 11.94 kB / 1.163 GB, free: 149 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008635/2.596, allocations: 62.33 kB / 1.163 GB, free: 149 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/2.596, allocations: 63.31 kB / 1.163 GB, free: 149 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.17e-05/2.596, allocations: 34.7 kB / 1.163 GB, free: 149 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000444/2.597, allocations: 263.3 kB / 1.164 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.01e-07/2.597, allocations: 0 / 1.164 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001473/2.598, allocations: 309 kB / 1.164 GB, free: 148.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (41): * Single equations (assignments): 38 * 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.001918/2.6, allocations: 0.8172 MB / 1.165 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001498/2.602, allocations: 494.6 kB / 1.165 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/2.602, allocations: 0 / 1.165 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007491/2.603, allocations: 343.7 kB / 1.166 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/2.604, allocations: 172 kB / 1.166 GB, free: 148 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/2.607, allocations: 0.8748 MB / 1.167 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/2.607, allocations: 0.8616 MB / 1.167 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005413/2.608, allocations: 85.88 kB / 1.168 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.202e-06/2.608, allocations: 0 / 1.168 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.02906/2.637, allocations: 14.71 MB / 1.182 GB, free: 139 MB / 0.5105 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