Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00244/0.00244, allocations: 219.9 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.536/1.536, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2374/0.2374, allocations: 46.94 MB / 360.9 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 71.89 kB / 0.4966 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3389, allocations: 66.04 MB / 0.5611 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1948/0.5338, allocations: 141.4 MB / 0.6991 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003656/0.5374, allocations: 1.575 MB / 0.7007 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005865/0.538, allocations: 23.81 kB / 0.7007 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008303/0.5388, allocations: 202.6 kB / 0.7009 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002729/0.5416, allocations: 0.7993 MB / 0.7017 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.5437, allocations: 0.6891 MB / 0.7023 GB, free: 3 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001942/0.5456, allocations: 1.162 MB / 0.7035 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006418/0.5463, allocations: 278.2 kB / 0.7037 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001196/0.5475, allocations: 494.3 kB / 0.7042 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007605/0.5482, allocations: 378.4 kB / 0.7046 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.5484, allocations: 44 kB / 0.7046 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.5497, allocations: 495.3 kB / 0.7051 GB, free: 180 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002768/0.55, allocations: 167.4 kB / 0.7052 GB, free: 12 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005021/0.5505, allocations: 227 kB / 0.7055 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001748/0.5522, allocations: 0.9614 MB / 0.7064 GB, free: 14.83 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.5522, allocations: 3.938 kB / 0.7064 GB, free: 14.82 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5522, allocations: 0 / 0.7064 GB, free: 14.82 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.393e-05/0.5523, allocations: 0 / 0.7064 GB, free: 14.82 MB / 0.545 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.002182/0.5544, allocations: 0.8416 MB / 0.7072 GB, free: 13.95 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.5545, allocations: 12.03 kB / 0.7072 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004696/0.5549, allocations: 79.59 kB / 0.7073 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007979/0.5557, allocations: 344.8 kB / 0.7076 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.5559, allocations: 92.34 kB / 0.7077 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.459e-05/0.5559, allocations: 39.95 kB / 0.7078 GB, free: 13.35 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.5571, allocations: 0.7464 MB / 0.7085 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.5572, allocations: 4 kB / 0.7085 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.85e-05/0.5572, allocations: 19.94 kB / 0.7085 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/0.5573, allocations: 12.66 kB / 0.7085 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009907/0.5582, allocations: 410.1 kB / 0.7089 GB, free: 12.07 MB / 0.545 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.003352/0.5616, allocations: 1.938 MB / 0.7108 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000854/0.5625, allocations: 319.5 kB / 0.7111 GB, free: 9.738 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003912/0.5628, allocations: 153.3 kB / 0.7113 GB, free: 9.586 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.891e-05/0.5629, allocations: 12.22 kB / 0.7113 GB, free: 9.574 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006856/0.5636, allocations: 414.1 kB / 0.7117 GB, free: 9.113 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 2.053e-06/0.5636, allocations: 0 / 0.7117 GB, free: 9.113 MB / 0.545 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.0127/0.5763, allocations: 3.013 MB / 0.7146 GB, free: 6.023 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.5764, allocations: 148.4 kB / 0.7148 GB, free: 5.848 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005131/0.5769, allocations: 377.5 kB / 0.7151 GB, free: 5.473 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.067e-05/0.577, allocations: 37.7 kB / 0.7151 GB, free: 5.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/0.5772, allocations: 260.4 kB / 0.7154 GB, free: 5.172 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/0.5774, allocations: 162.6 kB / 0.7156 GB, free: 5.012 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.5776, allocations: 130.3 kB / 0.7157 GB, free: 4.879 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.5778, allocations: 346.8 kB / 0.716 GB, free: 4.531 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006869/0.5785, allocations: 246.8 kB / 0.7162 GB, free: 4.285 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009041/0.5794, allocations: 0.4991 MB / 0.7167 GB, free: 3.684 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.5809, allocations: 0.6355 MB / 0.7173 GB, free: 2.977 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.5809, allocations: 4 kB / 0.7174 GB, free: 2.973 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002098/0.583, allocations: 0.8156 MB / 0.7181 GB, free: 2.133 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.034e-05/0.583, allocations: 33.7 kB / 0.7182 GB, free: 2.094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.5831, allocations: 4.656 kB / 0.7182 GB, free: 2.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004593/0.5835, allocations: 124.7 kB / 0.7183 GB, free: 1.965 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006312/0.5841, allocations: 139.7 kB / 0.7184 GB, free: 1.828 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007241/0.5849, allocations: 0.6772 MB / 0.7191 GB, free: 1.125 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005421/0.5854, allocations: 43.95 kB / 0.7191 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.983e-05/0.5855, allocations: 51.98 kB / 0.7192 GB, free: 1.031 MB / 0.545 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 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000346/0.5858, allocations: 201.6 kB / 0.7194 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.586, allocations: 47.72 kB / 0.7194 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002079/0.588, allocations: 0.7289 MB / 0.7201 GB, free: 36 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.588, allocations: 8 kB / 0.7201 GB, free: 28 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.588, allocations: 4 kB / 0.7202 GB, free: 24 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.5881, allocations: 3.984 kB / 0.7202 GB, free: 20 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002768/0.5908, allocations: 1.128 MB / 0.7213 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.5908, allocations: 0 / 0.7213 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005052/0.5913, allocations: 107.8 kB / 0.7214 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006163/0.5919, allocations: 104.9 kB / 0.7215 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.223e-05/0.592, allocations: 19.98 kB / 0.7215 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002098/0.5941, allocations: 1.683 MB / 0.7231 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.5941, allocations: 8.031 kB / 0.7231 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/0.5967, allocations: 0.9752 MB / 0.7241 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004089/0.5971, allocations: 83.61 kB / 0.7242 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.5973, allocations: 12 kB / 0.7242 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005964/0.5979, allocations: 51.94 kB / 0.7242 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/0.5981, allocations: 55.91 kB / 0.7243 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.608e-05/0.5981, allocations: 35.98 kB / 0.7243 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004257/0.5986, allocations: 255.2 kB / 0.7246 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5986, allocations: 0 / 0.7246 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001147/0.5997, allocations: 231.7 kB / 0.7248 GB, free: 11.09 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009088/0.6006, allocations: 278.7 kB / 0.725 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001773/0.6024, allocations: 0.6203 MB / 0.7256 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.6024, allocations: 4 kB / 0.7257 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.6034, allocations: 394.3 kB / 0.726 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.6045, allocations: 207.8 kB / 0.7262 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/0.607, allocations: 1.163 MB / 0.7274 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.6073, allocations: 252.8 kB / 0.7276 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005717/0.6079, allocations: 156.4 kB / 0.7278 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.6081, allocations: 75.42 kB / 0.7278 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/0.6081, allocations: 0 / 0.7278 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of Templates: time 0.2823/0.8904, allocations: 13.64 MB / 0.7411 GB, free: 172.6 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.308907808735967]