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.0008833/0.0008833, allocations: 181.5 kB / 17.41 MB, free: 4.402 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.28/1.28, allocations: 205.4 MB / 223.6 MB, free: 8.945 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.0007381/0.000738, allocations: 87.39 kB / 271.9 MB, free: 8.238 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.3055/0.3055, allocations: 43.55 MB / 363.7 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004467/0.0004468, allocations: 12 kB / 432.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1223, allocations: 58.85 MB / 491.4 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.446/1.568, allocations: 0.6076 GB / 1.088 GB, free: 154.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003489/1.569, allocations: 89.08 kB / 1.088 GB, free: 154.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.205/1.774, allocations: 103.4 MB / 1.189 GB, free: 61.23 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.324e-06/1.774, allocations: 4 kB / 1.189 GB, free: 61.23 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.427e-05/1.774, allocations: 15.94 kB / 1.189 GB, free: 61.21 MB / 0.4948 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.001774/1.776, allocations: 0.8743 MB / 1.19 GB, free: 60.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/1.776, allocations: 8.031 kB / 1.19 GB, free: 60.28 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003829/1.776, allocations: 72.27 kB / 1.19 GB, free: 60.21 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005858/1.777, allocations: 415.6 kB / 1.19 GB, free: 59.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.81e-05/1.777, allocations: 67.23 kB / 1.19 GB, free: 59.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.576e-05/1.777, allocations: 36.75 kB / 1.19 GB, free: 59.66 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008605/1.778, allocations: 0.533 MB / 1.191 GB, free: 59.08 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/1.778, allocations: 4 kB / 1.191 GB, free: 59.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.086e-05/1.778, allocations: 16 kB / 1.191 GB, free: 59.06 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/1.778, allocations: 16.66 kB / 1.191 GB, free: 59.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007756/1.779, allocations: 426.1 kB / 1.191 GB, free: 58.63 MB / 0.4948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.781, allocations: 2.448 MB / 1.193 GB, free: 56.01 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006779/1.782, allocations: 352.3 kB / 1.194 GB, free: 55.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/1.782, allocations: 177.3 kB / 1.194 GB, free: 55.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.949e-05/1.782, allocations: 4.281 kB / 1.194 GB, free: 55.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004625/1.783, allocations: 281 kB / 1.194 GB, free: 55.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 2.465e-06/1.783, allocations: 0 / 1.194 GB, free: 55.18 MB / 0.4948 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.01097/1.794, allocations: 3.619 MB / 1.198 GB, free: 51.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/1.794, allocations: 162.2 kB / 1.198 GB, free: 51.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004341/1.794, allocations: 381.6 kB / 1.198 GB, free: 50.85 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.2e-05/1.795, allocations: 37.7 kB / 1.198 GB, free: 50.81 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/1.795, allocations: 255.9 kB / 1.199 GB, free: 50.55 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.873e-05/1.795, allocations: 157.8 kB / 1.199 GB, free: 50.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/1.795, allocations: 12 kB / 1.199 GB, free: 50.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.16e-05/1.795, allocations: 362.7 kB / 1.199 GB, free: 50.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005341/1.795, allocations: 245.1 kB / 1.199 GB, free: 49.79 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005944/1.796, allocations: 433.2 kB / 1.2 GB, free: 49.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/1.797, allocations: 0.6785 MB / 1.2 GB, free: 48.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.797, allocations: 0 / 1.2 GB, free: 48.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001516/1.799, allocations: 0.7985 MB / 1.201 GB, free: 47.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.329e-05/1.799, allocations: 40.67 kB / 1.201 GB, free: 47.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/1.799, allocations: 11.92 kB / 1.201 GB, free: 47.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004607/1.799, allocations: 116.8 kB / 1.201 GB, free: 47.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005102/1.8, allocations: 152.1 kB / 1.201 GB, free: 47.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004605/1.8, allocations: 0.6694 MB / 1.202 GB, free: 46.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005655/1.801, allocations: 72 kB / 1.202 GB, free: 46.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.394e-05/1.801, allocations: 47.98 kB / 1.202 GB, free: 46.58 MB / 0.4948 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 () * Number of clocked 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.0003169/1.801, allocations: 201.6 kB / 1.202 GB, free: 46.38 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.795e-05/1.801, allocations: 51.38 kB / 1.203 GB, free: 46.32 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001832/1.803, allocations: 0.7759 MB / 1.203 GB, free: 45.53 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/1.803, allocations: 8 kB / 1.203 GB, free: 45.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/1.803, allocations: 3.938 kB / 1.203 GB, free: 45.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/1.803, allocations: 0 / 1.203 GB, free: 45.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002218/1.805, allocations: 1.308 MB / 1.205 GB, free: 44.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.805, allocations: 3.938 kB / 1.205 GB, free: 44.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004357/1.806, allocations: 124 kB / 1.205 GB, free: 44.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005393/1.806, allocations: 96.77 kB / 1.205 GB, free: 43.91 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.11e-05/1.806, allocations: 27.98 kB / 1.205 GB, free: 43.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/1.808, allocations: 1.691 MB / 1.206 GB, free: 42.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/1.808, allocations: 0 / 1.206 GB, free: 42.06 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/1.81, allocations: 1.051 MB / 1.207 GB, free: 40.97 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002694/1.81, allocations: 164.5 kB / 1.208 GB, free: 40.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/1.81, allocations: 16 kB / 1.208 GB, free: 40.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004532/1.811, allocations: 67.88 kB / 1.208 GB, free: 40.71 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/1.811, allocations: 59.91 kB / 1.208 GB, free: 40.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.299e-05/1.811, allocations: 35.94 kB / 1.208 GB, free: 40.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003062/1.811, allocations: 267.1 kB / 1.208 GB, free: 40.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/1.811, allocations: 4 kB / 1.208 GB, free: 40.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001244/1.813, allocations: 295.8 kB / 1.208 GB, free: 40.07 MB / 0.4948 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) * Number of clocked states: 0 () * 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.00172/1.814, allocations: 0.8015 MB / 1.209 GB, free: 39.26 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001436/1.816, allocations: 0.6462 MB / 1.21 GB, free: 38.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.816, allocations: 0 / 1.21 GB, free: 38.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007446/1.817, allocations: 439.3 kB / 1.21 GB, free: 38.16 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/1.818, allocations: 201.2 kB / 1.21 GB, free: 37.96 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/1.82, allocations: 1.416 MB / 1.212 GB, free: 36.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/1.821, allocations: 0.8553 MB / 1.213 GB, free: 35.62 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003179/1.821, allocations: 79.41 kB / 1.213 GB, free: 35.54 MB / 0.4948 GB Notification: Performance of SimCode: time 1.052e-06/1.821, allocations: 0 / 1.213 GB, free: 35.54 MB / 0.4948 GB Notification: Performance of Templates: time 0.01863/1.84, allocations: 14.49 MB / 1.227 GB, free: 21.07 MB / 0.4948 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