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.0009864/0.0009862, allocations: 178.2 kB / 16.77 MB, free: 4.805 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.53/1.53, allocations: 205.4 MB / 222.9 MB, free: 9.004 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.0007701/0.0007704, allocations: 90.36 kB / 271.3 MB, free: 8.23 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.4627/0.4627, allocations: 43.57 MB / 363.1 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004083/0.0004084, allocations: 12 kB / 432.6 MB, free: 4.941 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1265, allocations: 58.84 MB / 491.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.671/1.797, allocations: 0.6077 GB / 1.088 GB, free: 177.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/1.798, allocations: 90.17 kB / 1.088 GB, free: 177.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.2461/2.044, allocations: 103.5 MB / 1.189 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.928e-06/2.044, allocations: 0 / 1.189 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.449e-05/2.044, allocations: 16 kB / 1.189 GB, free: 109.8 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.003249/2.047, allocations: 0.8627 MB / 1.19 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.392e-05/2.047, allocations: 12.03 kB / 1.19 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007281/2.048, allocations: 80.2 kB / 1.19 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009924/2.049, allocations: 415.6 kB / 1.19 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.866e-05/2.049, allocations: 59.27 kB / 1.19 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/2.049, allocations: 36.75 kB / 1.19 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009778/2.05, allocations: 0.5408 MB / 1.191 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/2.05, allocations: 4 kB / 1.191 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.049e-05/2.05, allocations: 12 kB / 1.191 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.003e-05/2.05, allocations: 20.64 kB / 1.191 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008025/2.051, allocations: 422.2 kB / 1.191 GB, free: 107.2 MB / 0.5105 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.002736/2.054, allocations: 2.44 MB / 1.193 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006923/2.055, allocations: 364.3 kB / 1.194 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/2.055, allocations: 169.3 kB / 1.194 GB, free: 104 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/2.055, allocations: 4.281 kB / 1.194 GB, free: 104 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004634/2.056, allocations: 285 kB / 1.194 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 2.304e-06/2.056, allocations: 0 / 1.194 GB, free: 103.7 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.01068/2.066, allocations: 3.624 MB / 1.198 GB, free: 99.97 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/2.066, allocations: 174.2 kB / 1.198 GB, free: 99.76 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004242/2.067, allocations: 377.6 kB / 1.198 GB, free: 99.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.628e-05/2.067, allocations: 33.69 kB / 1.198 GB, free: 99.35 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/2.067, allocations: 259.9 kB / 1.199 GB, free: 99.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/2.067, allocations: 157.7 kB / 1.199 GB, free: 98.93 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/2.067, allocations: 19.94 kB / 1.199 GB, free: 98.91 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.109e-05/2.067, allocations: 354.7 kB / 1.199 GB, free: 98.56 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005138/2.068, allocations: 241.1 kB / 1.199 GB, free: 98.32 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005779/2.068, allocations: 441.2 kB / 1.2 GB, free: 97.81 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/2.069, allocations: 0.6746 MB / 1.2 GB, free: 97.06 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/2.069, allocations: 0 / 1.2 GB, free: 97.06 MB / 0.5105 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001468/2.071, allocations: 0.8063 MB / 1.201 GB, free: 96.24 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/2.071, allocations: 33.7 kB / 1.201 GB, free: 96.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/2.071, allocations: 4 kB / 1.201 GB, free: 96.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004175/2.071, allocations: 116.7 kB / 1.201 GB, free: 96.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/2.072, allocations: 148.2 kB / 1.202 GB, free: 95.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004282/2.072, allocations: 0.681 MB / 1.202 GB, free: 95.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005419/2.073, allocations: 68 kB / 1.202 GB, free: 95.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.812e-05/2.073, allocations: 40 kB / 1.202 GB, free: 95.12 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 () * 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.0002766/2.073, allocations: 210.4 kB / 1.202 GB, free: 94.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.297e-05/2.073, allocations: 51.38 kB / 1.203 GB, free: 94.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/2.075, allocations: 0.7681 MB / 1.203 GB, free: 94.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/2.075, allocations: 4 kB / 1.203 GB, free: 94.07 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/2.075, allocations: 3.938 kB / 1.203 GB, free: 94.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/2.075, allocations: 7.984 kB / 1.203 GB, free: 94.06 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002171/2.077, allocations: 1.312 MB / 1.205 GB, free: 92.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/2.077, allocations: 7.938 kB / 1.205 GB, free: 92.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004535/2.078, allocations: 120 kB / 1.205 GB, free: 92.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005036/2.078, allocations: 104.8 kB / 1.205 GB, free: 92.44 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.106e-05/2.078, allocations: 16 kB / 1.205 GB, free: 92.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/2.08, allocations: 1.687 MB / 1.206 GB, free: 90.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/2.08, allocations: 4.031 kB / 1.206 GB, free: 90.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/2.082, allocations: 1.047 MB / 1.207 GB, free: 89.51 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002553/2.082, allocations: 164.5 kB / 1.208 GB, free: 89.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.564e-05/2.082, allocations: 8 kB / 1.208 GB, free: 89.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004734/2.083, allocations: 71.88 kB / 1.208 GB, free: 89.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/2.083, allocations: 59.84 kB / 1.208 GB, free: 89.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.325e-05/2.083, allocations: 35.98 kB / 1.208 GB, free: 89.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002949/2.083, allocations: 267.2 kB / 1.208 GB, free: 88.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/2.083, allocations: 4 kB / 1.208 GB, free: 88.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001269/2.084, allocations: 303.8 kB / 1.208 GB, free: 88.61 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) * 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.001678/2.086, allocations: 0.8037 MB / 1.209 GB, free: 87.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001434/2.088, allocations: 0.6501 MB / 1.21 GB, free: 87.14 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/2.088, allocations: 0 / 1.21 GB, free: 87.14 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007584/2.088, allocations: 431.4 kB / 1.21 GB, free: 86.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/2.089, allocations: 193.3 kB / 1.21 GB, free: 86.51 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/2.091, allocations: 1.397 MB / 1.212 GB, free: 85.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/2.092, allocations: 0.8553 MB / 1.213 GB, free: 84.19 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006809/2.092, allocations: 148.5 kB / 1.213 GB, free: 84.05 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/2.093, allocations: 75.41 kB / 1.213 GB, free: 83.97 MB / 0.5105 GB Notification: Performance of SimCode: time 8.22e-07/2.093, allocations: 4 kB / 1.213 GB, free: 83.97 MB / 0.5105 GB Notification: Performance of Templates: time 0.02892/2.122, allocations: 20.43 MB / 1.233 GB, free: 63.57 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/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_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches