Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001097/0.001097, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.285/1.285, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.000944/0.0009441, allocations: 92.27 kB / 267.1 MB, free: 9.273 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.3416/0.3416, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.59e-05/3.593e-05, allocations: 11.94 kB / 425.3 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1102, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.224/1.335, allocations: 0.5747 GB / 1.047 GB, free: 45.37 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/1.335, allocations: 87.44 kB / 1.048 GB, free: 45.32 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.4457/1.781, allocations: 101.9 MB / 1.147 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.192e-06/1.781, allocations: 0 / 1.147 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.269e-05/1.781, allocations: 8.812 kB / 1.147 GB, free: 141.9 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.001492/1.782, allocations: 0.8146 MB / 1.148 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/1.782, allocations: 9.438 kB / 1.148 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003796/1.783, allocations: 73.98 kB / 1.148 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006332/1.783, allocations: 424.9 kB / 1.148 GB, free: 141 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-05/1.783, allocations: 57.2 kB / 1.148 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.168e-05/1.783, allocations: 40.03 kB / 1.148 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007259/1.784, allocations: 494.7 kB / 1.149 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/1.784, allocations: 1.406 kB / 1.149 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.252e-05/1.784, allocations: 17.09 kB / 1.149 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/1.784, allocations: 18.06 kB / 1.149 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005232/1.785, allocations: 334.6 kB / 1.149 GB, free: 140.5 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.002531/1.787, allocations: 2.44 MB / 1.152 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004305/1.788, allocations: 278.7 kB / 1.152 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/1.788, allocations: 124.3 kB / 1.152 GB, free: 138.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.676e-05/1.788, allocations: 8.031 kB / 1.152 GB, free: 138.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003217/1.788, allocations: 231.8 kB / 1.152 GB, free: 138.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 1.663e-06/1.788, allocations: 0 / 1.152 GB, free: 138.3 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.008185/1.797, allocations: 2.658 MB / 1.155 GB, free: 137.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/1.797, allocations: 164 kB / 1.155 GB, free: 137 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/1.797, allocations: 340.9 kB / 1.155 GB, free: 136.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.958e-05/1.797, allocations: 33.67 kB / 1.155 GB, free: 136.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/1.797, allocations: 257.4 kB / 1.156 GB, free: 136.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.828e-05/1.797, allocations: 157.9 kB / 1.156 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/1.797, allocations: 12 kB / 1.156 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.338e-05/1.797, allocations: 356.8 kB / 1.156 GB, free: 136.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/1.798, allocations: 154.7 kB / 1.156 GB, free: 136 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/1.798, allocations: 344 kB / 1.157 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/1.798, allocations: 231.2 kB / 1.157 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.798, allocations: 3.906 kB / 1.157 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008418/1.799, allocations: 0.6446 MB / 1.157 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/1.799, allocations: 33.58 kB / 1.158 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/1.799, allocations: 3.812 kB / 1.158 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003615/1.799, allocations: 115.8 kB / 1.158 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004922/1.8, allocations: 149.6 kB / 1.158 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003951/1.8, allocations: 0.667 MB / 1.158 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000479/1.801, allocations: 71 kB / 1.158 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.863e-05/1.801, allocations: 45.86 kB / 1.159 GB, free: 134.7 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.0001215/1.801, allocations: 140.3 kB / 1.159 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-05/1.801, allocations: 58.08 kB / 1.159 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/1.802, allocations: 0.6102 MB / 1.159 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/1.802, allocations: 19.33 kB / 1.159 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/1.802, allocations: 0 / 1.159 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/1.802, allocations: 0 / 1.159 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/1.804, allocations: 1.145 MB / 1.16 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/1.804, allocations: 3.438 kB / 1.16 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004324/1.804, allocations: 119.4 kB / 1.161 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004708/1.805, allocations: 106.6 kB / 1.161 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/1.805, allocations: 23.16 kB / 1.161 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001241/1.806, allocations: 1.677 MB / 1.162 GB, free: 132 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.806, allocations: 3.656 kB / 1.162 GB, free: 132 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/1.807, allocations: 0.8534 MB / 1.163 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/1.807, allocations: 159.3 kB / 1.163 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.813e-05/1.808, allocations: 11.56 kB / 1.163 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/1.808, allocations: 65.3 kB / 1.163 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/1.808, allocations: 65.55 kB / 1.163 GB, free: 131.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-05/1.808, allocations: 41.45 kB / 1.163 GB, free: 131.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002278/1.808, allocations: 263.8 kB / 1.164 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/1.808, allocations: 0 / 1.164 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009381/1.809, allocations: 302.6 kB / 1.164 GB, free: 131.1 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.0012/1.811, allocations: 0.803 MB / 1.165 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007195/1.811, allocations: 496.5 kB / 1.165 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.811, allocations: 0 / 1.165 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004379/1.812, allocations: 359.5 kB / 1.166 GB, free: 130.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008635/1.813, allocations: 181.2 kB / 1.166 GB, free: 130.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/1.814, allocations: 0.8214 MB / 1.167 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/1.814, allocations: 0.8701 MB / 1.167 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005908/1.815, allocations: 151.6 kB / 1.168 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/1.815, allocations: 70.27 kB / 1.168 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of SimCode: time 5.21e-07/1.815, allocations: 0 / 1.168 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.0249/1.84, allocations: 21.58 MB / 1.189 GB, free: 119.8 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches