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.001286/0.001286, allocations: 117.4 kB / 18.45 MB, free: 4.562 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.001445/0.001445, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.528/1.528, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2404/0.2404, allocations: 46.92 MB / 357.8 MB, free: 10.38 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.001877/0.001877, allocations: 59.91 kB / 0.4921 GB, free: 7.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1378, allocations: 66 MB / 0.5565 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.5231/0.6609, allocations: 163.9 MB / 0.7166 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003823/0.6647, allocations: 1.661 MB / 0.7182 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004793/0.6652, allocations: 23.81 kB / 0.7182 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007225/0.6659, allocations: 210.6 kB / 0.7184 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002379/0.6683, allocations: 0.7969 MB / 0.7192 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.6701, allocations: 0.6694 MB / 0.7199 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001584/0.6717, allocations: 1.147 MB / 0.721 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004871/0.6722, allocations: 298.1 kB / 0.7213 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008738/0.6731, allocations: 486.3 kB / 0.7217 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005412/0.6736, allocations: 406.4 kB / 0.7221 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.145e-05/0.6737, allocations: 44 kB / 0.7222 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.6749, allocations: 0.5811 MB / 0.7227 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.6751, allocations: 147.5 kB / 0.7229 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000303/0.6754, allocations: 278.6 kB / 0.7231 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.6769, allocations: 0.9667 MB / 0.7241 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.6769, allocations: 4 kB / 0.7241 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.714e-06/0.677, allocations: 0 / 0.7241 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.677, allocations: 0 / 0.7241 GB, free: 5.496 MB / 0.5294 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.001957/0.6789, allocations: 0.9247 MB / 0.725 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.679, allocations: 9.109 kB / 0.725 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003991/0.6794, allocations: 75.61 kB / 0.7251 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000651/0.68, allocations: 407.4 kB / 0.7254 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.879e-05/0.6801, allocations: 62.69 kB / 0.7255 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.026e-05/0.6802, allocations: 43.89 kB / 0.7255 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.6812, allocations: 0.5166 MB / 0.7261 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.6812, allocations: 3.938 kB / 0.7261 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.063e-05/0.6813, allocations: 23.98 kB / 0.7261 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.843e-05/0.6813, allocations: 12.66 kB / 0.7261 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009857/0.6823, allocations: 406.2 kB / 0.7265 GB, free: 2.891 MB / 0.5294 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.003435/0.6857, allocations: 2.455 MB / 0.7289 GB, free: 264 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009082/0.6866, allocations: 335.4 kB / 0.7292 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003958/0.687, allocations: 149.3 kB / 0.7293 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.342e-05/0.6871, allocations: 20.2 kB / 0.7294 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006025/0.6877, allocations: 254.7 kB / 0.7296 GB, free: 15.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 2.114e-06/0.6877, allocations: 0 / 0.7296 GB, free: 15.48 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.01327/0.701, allocations: 3.244 MB / 0.7328 GB, free: 12.11 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.7011, allocations: 144.4 kB / 0.7329 GB, free: 11.94 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004873/0.7015, allocations: 381.6 kB / 0.7333 GB, free: 11.56 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.76e-05/0.7016, allocations: 33.7 kB / 0.7333 GB, free: 11.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002275/0.7018, allocations: 268.4 kB / 0.7336 GB, free: 11.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.702, allocations: 166.6 kB / 0.7337 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/0.7022, allocations: 130.3 kB / 0.7338 GB, free: 10.96 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.7024, allocations: 358.7 kB / 0.7342 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006647/0.7031, allocations: 217.1 kB / 0.7344 GB, free: 10.39 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008009/0.7039, allocations: 407.5 kB / 0.7348 GB, free: 9.914 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001466/0.7053, allocations: 0.6356 MB / 0.7354 GB, free: 9.207 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.7053, allocations: 4 kB / 0.7354 GB, free: 9.203 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002091/0.7074, allocations: 0.7905 MB / 0.7362 GB, free: 8.398 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.166e-05/0.7075, allocations: 38.3 kB / 0.7362 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.7075, allocations: 4 kB / 0.7362 GB, free: 8.352 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004842/0.708, allocations: 120.8 kB / 0.7363 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005852/0.7086, allocations: 135.8 kB / 0.7365 GB, free: 8.098 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007195/0.7093, allocations: 0.667 MB / 0.7371 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005381/0.7098, allocations: 52 kB / 0.7372 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-05/0.7099, allocations: 47.62 kB / 0.7372 GB, free: 7.312 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.0003883/0.7103, allocations: 203.5 kB / 0.7374 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.7104, allocations: 51.67 kB / 0.7375 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002132/0.7125, allocations: 0.7368 MB / 0.7382 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.7125, allocations: 4 kB / 0.7382 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.7125, allocations: 0 / 0.7382 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.7125, allocations: 0 / 0.7382 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002824/0.7154, allocations: 1.277 MB / 0.7394 GB, free: 4.941 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.7154, allocations: 0 / 0.7394 GB, free: 4.941 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004992/0.7159, allocations: 107.9 kB / 0.7395 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005822/0.7165, allocations: 104.9 kB / 0.7396 GB, free: 4.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.686e-05/0.7165, allocations: 19.94 kB / 0.7396 GB, free: 4.711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002294/0.7188, allocations: 1.818 MB / 0.7414 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.7188, allocations: 0.875 kB / 0.7414 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002495/0.7213, allocations: 0.9791 MB / 0.7424 GB, free: 1.738 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002717/0.7216, allocations: 160.8 kB / 0.7425 GB, free: 1.562 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.564e-05/0.7216, allocations: 12 kB / 0.7425 GB, free: 1.551 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004572/0.7221, allocations: 47.95 kB / 0.7426 GB, free: 1.504 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/0.7223, allocations: 55.92 kB / 0.7426 GB, free: 1.449 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.24e-05/0.7223, allocations: 35.92 kB / 0.7427 GB, free: 1.414 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003747/0.7227, allocations: 275.1 kB / 0.7429 GB, free: 1.148 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.7227, allocations: 0 / 0.7429 GB, free: 1.148 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009165/0.7236, allocations: 239.7 kB / 0.7432 GB, free: 0.9141 MB / 0.545 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.0007657/0.7244, allocations: 302.3 kB / 0.7435 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001722/0.7261, allocations: 0.5874 MB / 0.744 GB, free: 16 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.7261, allocations: 0 / 0.744 GB, free: 16 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009606/0.7271, allocations: 398.6 kB / 0.7444 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.7282, allocations: 209.2 kB / 0.7446 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.7306, allocations: 1.204 MB / 0.7458 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005224/0.7312, allocations: 0.8514 MB / 0.7466 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/0.7314, allocations: 83.41 kB / 0.7467 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.212e-06/0.7314, allocations: 0 / 0.7467 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.01836/0.7498, allocations: 11.7 MB / 0.7581 GB, free: 1.527 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins1/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: 10.39780342800077]