Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001003/0.001003, allocations: 79.58 kB / 21.18 MB, free: 3.383 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.00117/0.00117, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9717/0.9717, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2664/0.2664, allocations: 32.8 MB / 294.3 MB, free: 1.285 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.52e-07/8.52e-07, allocations: 0 / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/1.944e-05, allocations: 2.312 kB / 376 MB, free: 4.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3123/0.3123, allocations: 147.8 MB / 0.5115 GB, free: 18.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00279/0.3151, allocations: 1.647 MB / 0.5131 GB, free: 17.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003181/0.3155, allocations: 20.22 kB / 0.5131 GB, free: 17.06 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005713/0.316, allocations: 158.3 kB / 0.5133 GB, free: 16.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001867/0.3179, allocations: 0.7991 MB / 0.514 GB, free: 16.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.3192, allocations: 0.633 MB / 0.5147 GB, free: 16.22 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001193/0.3203, allocations: 1.197 MB / 0.5158 GB, free: 15.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004612/0.3208, allocations: 291.7 kB / 0.5161 GB, free: 15.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007765/0.3216, allocations: 0.6211 MB / 0.5167 GB, free: 15.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004336/0.322, allocations: 342.6 kB / 0.517 GB, free: 15.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.51e-05/0.3221, allocations: 49.97 kB / 0.5171 GB, free: 15.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007029/0.3228, allocations: 489.8 kB / 0.5176 GB, free: 14.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.3229, allocations: 167.3 kB / 0.5177 GB, free: 14.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.3231, allocations: 191.6 kB / 0.5179 GB, free: 14.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009047/0.324, allocations: 0.8328 MB / 0.5187 GB, free: 14.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.324, allocations: 0 / 0.5187 GB, free: 14.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.324, allocations: 0 / 0.5187 GB, free: 14.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.324, allocations: 0 / 0.5187 GB, free: 14.5 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.001123/0.3251, allocations: 0.9356 MB / 0.5196 GB, free: 13.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3252, allocations: 12.36 kB / 0.5196 GB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003194/0.3255, allocations: 125.2 kB / 0.5198 GB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/0.3259, allocations: 360.2 kB / 0.5201 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.445e-05/0.326, allocations: 87.78 kB / 0.5202 GB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.049e-05/0.326, allocations: 45.95 kB / 0.5202 GB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005491/0.3266, allocations: 0.6599 MB / 0.5209 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.3266, allocations: 0 / 0.5209 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.765e-05/0.3266, allocations: 26.11 kB / 0.5209 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.074e-05/0.3267, allocations: 18.72 kB / 0.5209 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002951/0.3269, allocations: 191.9 kB / 0.5211 GB, free: 12.81 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.001568/0.3285, allocations: 2.299 MB / 0.5233 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.3288, allocations: 207.1 kB / 0.5235 GB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.3289, allocations: 80.31 kB / 0.5236 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.329, allocations: 10.34 kB / 0.5236 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002532/0.3292, allocations: 365.1 kB / 0.524 GB, free: 10.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.282e-06/0.3292, allocations: 0 / 0.524 GB, free: 10.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.004085/0.3333, allocations: 1.875 MB / 0.5258 GB, free: 9.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.3334, allocations: 134 kB / 0.5259 GB, free: 9.523 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.3336, allocations: 410 kB / 0.5263 GB, free: 9.273 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.3337, allocations: 36.39 kB / 0.5264 GB, free: 9.234 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.3338, allocations: 307.2 kB / 0.5267 GB, free: 8.973 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.544e-05/0.3338, allocations: 167.4 kB / 0.5268 GB, free: 8.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.334, allocations: 123.4 kB / 0.5269 GB, free: 8.773 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.288e-05/0.334, allocations: 0.5287 MB / 0.5275 GB, free: 8.258 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.3342, allocations: 116 kB / 0.5276 GB, free: 8.215 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.3344, allocations: 444.2 kB / 0.528 GB, free: 7.754 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003551/0.3348, allocations: 460 kB / 0.5284 GB, free: 7.371 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3348, allocations: 4 kB / 0.5284 GB, free: 7.367 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006782/0.3354, allocations: 0.5723 MB / 0.529 GB, free: 7.102 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.3355, allocations: 34.42 kB / 0.529 GB, free: 7.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.3355, allocations: 5.688 kB / 0.529 GB, free: 7.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002716/0.3358, allocations: 80.84 kB / 0.5291 GB, free: 7.051 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000355/0.3361, allocations: 125.1 kB / 0.5292 GB, free: 7.039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003256/0.3364, allocations: 0.8563 MB / 0.5301 GB, free: 6.219 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002574/0.3367, allocations: 39.55 kB / 0.5301 GB, free: 6.207 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-05/0.3367, allocations: 35.72 kB / 0.5301 GB, free: 6.203 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.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.000143/0.3369, allocations: 201.2 kB / 0.5303 GB, free: 6.012 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.964e-05/0.337, allocations: 63.12 kB / 0.5304 GB, free: 5.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008089/0.3378, allocations: 485.4 kB / 0.5308 GB, free: 5.781 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/0.3378, allocations: 5.219 kB / 0.5309 GB, free: 5.781 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3378, allocations: 0 / 0.5309 GB, free: 5.781 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.3378, allocations: 2.578 kB / 0.5309 GB, free: 5.781 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.339, allocations: 0.9333 MB / 0.5318 GB, free: 5.203 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.339, allocations: 6.688 kB / 0.5318 GB, free: 5.199 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.3392, allocations: 83.31 kB / 0.5319 GB, free: 5.195 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003752/0.3396, allocations: 103 kB / 0.5319 GB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/0.3396, allocations: 14.39 kB / 0.532 GB, free: 5.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009743/0.3406, allocations: 1.957 MB / 0.5339 GB, free: 3.301 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3406, allocations: 32 / 0.5339 GB, free: 3.301 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008396/0.3415, allocations: 0.6515 MB / 0.5345 GB, free: 2.926 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.3416, allocations: 80.27 kB / 0.5346 GB, free: 2.883 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.434e-05/0.3417, allocations: 15.06 kB / 0.5346 GB, free: 2.871 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.3419, allocations: 28.39 kB / 0.5346 GB, free: 2.867 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.342, allocations: 62.47 kB / 0.5347 GB, free: 2.852 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.11e-05/0.3421, allocations: 26.66 kB / 0.5347 GB, free: 2.848 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001905/0.3422, allocations: 265.7 kB / 0.535 GB, free: 2.691 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3422, allocations: 0 / 0.535 GB, free: 2.691 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006508/0.3429, allocations: 233.4 kB / 0.5352 GB, free: 2.656 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.0005047/0.3434, allocations: 298.9 kB / 0.5355 GB, free: 2.508 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005987/0.344, allocations: 412.3 kB / 0.5359 GB, free: 2.328 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.344, allocations: 3.406 kB / 0.5359 GB, free: 2.328 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003306/0.3443, allocations: 342.6 kB / 0.5362 GB, free: 2.102 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007463/0.3451, allocations: 222 kB / 0.5364 GB, free: 2.043 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.3468, allocations: 0.9988 MB / 0.5374 GB, free: 1.414 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.572e-05/0.3469, allocations: 142.5 kB / 0.5375 GB, free: 1.328 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003779/0.3473, allocations: 122.1 kB / 0.5376 GB, free: 1.293 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.3474, allocations: 56.95 kB / 0.5377 GB, free: 1.281 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3474, allocations: 0 / 0.5377 GB, free: 1.281 MB / 410.7 MB Notification: Performance of Templates: time 0.01778/0.3652, allocations: 12.61 MB / 0.55 GB, free: 10.07 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.9731634273193777]