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.0009462/0.0009462, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.0009526/0.0009526, allocations: 169.1 kB / 24.91 MB, free: 9.191 MB / 18.57 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 0.9476/0.9476, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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.2739/0.2739, allocations: 34.25 MB / 296.1 MB, free: 0.7227 MB / 266.7 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 1.884e-06/1.884e-06, allocations: 0 / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.967e-05/3.155e-05, allocations: 3.891 kB / 325.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3523/0.3523, allocations: 147.2 MB / 472.4 MB, free: 16.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002928/0.3552, allocations: 1.683 MB / 474.1 MB, free: 16.24 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003861/0.3556, allocations: 19.53 kB / 474.2 MB, free: 16.24 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004821/0.3561, allocations: 163.2 kB / 474.3 MB, free: 16.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001806/0.3579, allocations: 0.782 MB / 475.1 MB, free: 16.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.3591, allocations: 0.6002 MB / 475.7 MB, free: 16.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.3602, allocations: 1.182 MB / 476.9 MB, free: 16.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00037/0.3606, allocations: 298.6 kB / 477.2 MB, free: 16.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000788/0.3614, allocations: 0.6139 MB / 477.8 MB, free: 16.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004093/0.3618, allocations: 325.5 kB / 478.1 MB, free: 16.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.383e-05/0.3618, allocations: 42.84 kB / 478.1 MB, free: 16.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008762/0.3627, allocations: 0.5134 MB / 478.7 MB, free: 16.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.3628, allocations: 173 kB / 478.8 MB, free: 16.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.363, allocations: 190.6 kB / 479 MB, free: 16.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009016/0.3639, allocations: 0.8298 MB / 479.8 MB, free: 16.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3639, allocations: 0 / 479.8 MB, free: 16.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3639, allocations: 2.688 kB / 479.8 MB, free: 16.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3639, allocations: 0 / 479.8 MB, free: 16.02 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.0009826/0.3649, allocations: 0.7938 MB / 480.6 MB, free: 15.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.3649, allocations: 9.219 kB / 480.6 MB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003444/0.3684, allocations: 120.9 kB / 480.8 MB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000482/0.3689, allocations: 318.6 kB / 481.1 MB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.8e-05/0.3689, allocations: 91.36 kB / 481.2 MB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.631e-05/0.369, allocations: 45.39 kB / 481.2 MB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005061/0.3695, allocations: 0.6179 MB / 481.8 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.3695, allocations: 6.312 kB / 481.8 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.678e-05/0.3696, allocations: 13.62 kB / 481.8 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.202e-05/0.3696, allocations: 17.64 kB / 481.9 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002253/0.3698, allocations: 137.9 kB / 482 MB, free: 14.8 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.004628/0.3744, allocations: 1.573 MB / 483.6 MB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.3747, allocations: 166.7 kB / 483.7 MB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.27e-05/0.3748, allocations: 61.16 kB / 483.8 MB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.3748, allocations: 10.84 kB / 483.8 MB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002335/0.375, allocations: 298.7 kB / 484.1 MB, free: 13.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.915e-06/0.375, allocations: 0 / 484.1 MB, free: 13.47 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.01107/0.3861, allocations: 1.8 MB / 485.9 MB, free: 13.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.3862, allocations: 108.2 kB / 486 MB, free: 12.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.3864, allocations: 344.1 kB / 486.3 MB, free: 12.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.3864, allocations: 34.61 kB / 486.4 MB, free: 12.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.699e-05/0.3865, allocations: 231.6 kB / 486.6 MB, free: 12.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.358e-05/0.3866, allocations: 163.5 kB / 486.8 MB, free: 12.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.3868, allocations: 120.2 kB / 486.9 MB, free: 12.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.477e-05/0.3868, allocations: 356.6 kB / 487.2 MB, free: 12.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.3869, allocations: 83.06 kB / 487.3 MB, free: 12.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.3871, allocations: 324.3 kB / 487.6 MB, free: 11.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/0.3874, allocations: 371.6 kB / 488 MB, free: 11.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3874, allocations: 0 / 488 MB, free: 11.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005574/0.388, allocations: 432.1 kB / 488.4 MB, free: 11.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003045/0.391, allocations: 42.03 kB / 488.4 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.391, allocations: 5.438 kB / 488.4 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000395/0.3914, allocations: 86.47 kB / 488.5 MB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004278/0.3919, allocations: 139.2 kB / 488.7 MB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002982/0.3921, allocations: 0.5682 MB / 489.2 MB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003333/0.3925, allocations: 35.83 kB / 489.3 MB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.043e-05/0.3925, allocations: 30.06 kB / 489.3 MB, free: 10.87 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.0001848/0.3927, allocations: 159.5 kB / 489.5 MB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.783e-05/0.3928, allocations: 46.25 kB / 489.5 MB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006772/0.3935, allocations: 367.7 kB / 489.9 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.3935, allocations: 5.469 kB / 489.9 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.3935, allocations: 2.906 kB / 489.9 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.3935, allocations: 2.578 kB / 489.9 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.3946, allocations: 0.6371 MB / 490.5 MB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.3946, allocations: 0 / 490.5 MB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000314/0.3949, allocations: 95.02 kB / 490.6 MB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002955/0.3952, allocations: 101.9 kB / 490.7 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.3953, allocations: 14.42 kB / 490.7 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007455/0.396, allocations: 1.351 MB / 492.1 MB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.396, allocations: 8.969 kB / 492.1 MB, free: 9.211 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004782/0.3965, allocations: 475.2 kB / 492.5 MB, free: 9.016 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.3966, allocations: 59 kB / 492.6 MB, free: 8.984 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.3966, allocations: 16.28 kB / 492.6 MB, free: 8.984 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.3968, allocations: 29.58 kB / 492.6 MB, free: 8.984 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.843e-05/0.3969, allocations: 57.81 kB / 492.7 MB, free: 8.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/0.3969, allocations: 21.47 kB / 492.7 MB, free: 8.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.427e-05/0.397, allocations: 133 kB / 492.8 MB, free: 8.965 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.397, allocations: 0 / 492.8 MB, free: 8.965 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005557/0.3976, allocations: 235.1 kB / 493.1 MB, free: 8.945 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.0004946/0.3981, allocations: 276.1 kB / 493.3 MB, free: 8.852 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004214/0.3985, allocations: 345.6 kB / 493.7 MB, free: 8.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/0.3985, allocations: 5.969 kB / 493.7 MB, free: 8.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.3987, allocations: 264.5 kB / 494 MB, free: 8.605 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005142/0.3993, allocations: 216 kB / 494.2 MB, free: 8.582 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.4006, allocations: 0.9648 MB / 495.1 MB, free: 8.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.713e-05/0.4007, allocations: 128.9 kB / 495.3 MB, free: 7.992 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002843/0.401, allocations: 106.4 kB / 495.4 MB, free: 7.949 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003783/0.4014, allocations: 230.4 kB / 495.6 MB, free: 7.895 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.4014, allocations: 0 / 495.6 MB, free: 7.895 MB / 410.7 MB Notification: Performance of Templates: time 0.01581/0.4172, allocations: 13.66 MB / 0.4973 GB, free: 1.82 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 240] 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","",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.655093968845904]