Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001396/0.001396, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001718/0.001718, allocations: 159.9 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9421/0.9421, allocations: 177 MB / 205.2 MB, free: 5.035 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2472/0.2472, allocations: 34.85 MB / 296.6 MB, free: 484 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.308e-05, allocations: 2.312 kB / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3341/0.3341, allocations: 147.1 MB / 473 MB, free: 16.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002671/0.3367, allocations: 1.67 MB / 474.7 MB, free: 16.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003261/0.3371, allocations: 20.66 kB / 474.7 MB, free: 16.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004592/0.3375, allocations: 157.3 kB / 474.9 MB, free: 16.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.3393, allocations: 0.8077 MB / 475.7 MB, free: 16.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.3406, allocations: 0.6337 MB / 476.3 MB, free: 16.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001177/0.3418, allocations: 1.19 MB / 477.5 MB, free: 16.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004193/0.3422, allocations: 311 kB / 477.8 MB, free: 16.06 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008928/0.3431, allocations: 0.612 MB / 478.4 MB, free: 16.06 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004566/0.3436, allocations: 327.4 kB / 478.7 MB, free: 16.06 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.1e-05/0.3437, allocations: 44.03 kB / 478.8 MB, free: 16.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008108/0.3445, allocations: 492.7 kB / 479.3 MB, free: 16.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.3446, allocations: 165.7 kB / 479.4 MB, free: 16.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.3448, allocations: 195 kB / 479.6 MB, free: 16.01 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.3459, allocations: 0.841 MB / 480.5 MB, free: 15.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3459, allocations: 2.906 kB / 480.5 MB, free: 15.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3459, allocations: 0 / 480.5 MB, free: 15.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.3459, allocations: 0 / 480.5 MB, free: 15.92 MB / 410.7 MB 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.001085/0.347, allocations: 0.7884 MB / 481.3 MB, free: 15.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.347, allocations: 12.25 kB / 481.3 MB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000346/0.3473, allocations: 112 kB / 481.4 MB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004391/0.3478, allocations: 312 kB / 481.7 MB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.516e-05/0.3478, allocations: 91.45 kB / 481.8 MB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.204e-05/0.3479, allocations: 50.67 kB / 481.8 MB, free: 15.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004805/0.3484, allocations: 0.61 MB / 482.4 MB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.3484, allocations: 0 / 482.4 MB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.885e-05/0.3484, allocations: 17.75 kB / 482.4 MB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.997e-05/0.3485, allocations: 21.12 kB / 482.5 MB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002256/0.3487, allocations: 144.6 kB / 482.6 MB, free: 14.73 MB / 410.7 MB 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.001474/0.3502, allocations: 1.573 MB / 484.2 MB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.3504, allocations: 168.3 kB / 484.3 MB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.065e-05/0.3505, allocations: 57.11 kB / 484.4 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.3505, allocations: 9.234 kB / 484.4 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002188/0.3507, allocations: 299.4 kB / 484.7 MB, free: 13.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.844e-06/0.3508, allocations: 0 / 484.7 MB, free: 13.39 MB / 410.7 MB 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.004501/0.3553, allocations: 1.795 MB / 486.5 MB, free: 12.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.3553, allocations: 110.9 kB / 486.6 MB, free: 12.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.3555, allocations: 354.6 kB / 487 MB, free: 12.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.3555, allocations: 34.48 kB / 487 MB, free: 12.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.084e-05/0.3556, allocations: 222.7 kB / 487.2 MB, free: 12.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.914e-05/0.3557, allocations: 168.4 kB / 487.4 MB, free: 12.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.3558, allocations: 114.3 kB / 487.5 MB, free: 12.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.176e-05/0.3559, allocations: 358.2 kB / 487.8 MB, free: 12.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.356, allocations: 83.94 kB / 487.9 MB, free: 12.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.3562, allocations: 318 kB / 488.2 MB, free: 11.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.3565, allocations: 376 kB / 488.6 MB, free: 11.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.3565, allocations: 2.781 kB / 488.6 MB, free: 11.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005761/0.357, allocations: 437.3 kB / 489 MB, free: 11.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.3571, allocations: 34.09 kB / 489.1 MB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.3571, allocations: 6.062 kB / 489.1 MB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002797/0.3574, allocations: 82.64 kB / 489.1 MB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.3577, allocations: 122.8 kB / 489.3 MB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000234/0.3579, allocations: 0.5659 MB / 489.8 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.3581, allocations: 40.36 kB / 489.9 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.283e-05/0.3582, allocations: 33.72 kB / 489.9 MB, free: 10.79 MB / 410.7 MB 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.inFlow[1],sweptVolume.regularFlow[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.0001309/0.3583, allocations: 159.2 kB / 490.1 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.348e-05/0.3584, allocations: 46.83 kB / 490.1 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005692/0.3589, allocations: 379.2 kB / 490.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.359, allocations: 9.156 kB / 490.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.359, allocations: 0 / 490.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.359, allocations: 1.969 kB / 490.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008302/0.3598, allocations: 0.6281 MB / 491.1 MB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.3598, allocations: 2.938 kB / 491.1 MB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.36, allocations: 84.77 kB / 491.2 MB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003083/0.3603, allocations: 91.05 kB / 491.3 MB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.3604, allocations: 22.45 kB / 491.3 MB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007476/0.3611, allocations: 1.352 MB / 492.7 MB, free: 9.129 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3611, allocations: 2.906 kB / 492.7 MB, free: 9.129 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000561/0.3617, allocations: 484.8 kB / 493.1 MB, free: 8.922 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.3618, allocations: 57.44 kB / 493.2 MB, free: 8.895 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.269e-05/0.3618, allocations: 12.12 kB / 493.2 MB, free: 8.895 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.3621, allocations: 30.39 kB / 493.2 MB, free: 8.895 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.3622, allocations: 57.03 kB / 493.3 MB, free: 8.891 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.3622, allocations: 19.55 kB / 493.3 MB, free: 8.891 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001081/0.3623, allocations: 132 kB / 493.4 MB, free: 8.871 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3623, allocations: 0 / 493.4 MB, free: 8.871 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006234/0.3629, allocations: 239.6 kB / 493.7 MB, free: 8.848 MB / 410.7 MB 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 (40): * Single equations (assignments): 37 * 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.000489/0.3634, allocations: 274.5 kB / 493.9 MB, free: 8.758 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004307/0.3638, allocations: 345.2 kB / 494.3 MB, free: 8.641 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/0.3639, allocations: 9.844 kB / 494.3 MB, free: 8.637 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.3641, allocations: 258.8 kB / 494.5 MB, free: 8.512 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006458/0.3647, allocations: 225 kB / 494.8 MB, free: 8.484 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.3663, allocations: 0.9509 MB / 495.7 MB, free: 7.984 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.642e-05/0.3663, allocations: 133.5 kB / 495.8 MB, free: 7.906 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003312/0.3667, allocations: 111.7 kB / 495.9 MB, free: 7.855 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004365/0.3671, allocations: 229.2 kB / 496.2 MB, free: 7.805 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.3671, allocations: 0 / 496.2 MB, free: 7.805 MB / 410.7 MB Notification: Performance of Templates: time 0.01391/0.381, allocations: 13.6 MB / 0.4978 GB, free: 1.707 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6623282809741795]