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.001734/0.001734, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002051/0.002051, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.456/1.456, allocations: 230.6 MB / 258.3 MB, free: 7.977 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.2294/0.2294, allocations: 46.93 MB / 361.6 MB, free: 4.332 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.001956/0.001956, allocations: 67.89 kB / 0.4974 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3597, allocations: 66.04 MB / 0.5619 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1991/0.5588, allocations: 164 MB / 0.7221 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003524/0.5623, allocations: 1.68 MB / 0.7237 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004362/0.5627, allocations: 19.81 kB / 0.7237 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007151/0.5634, allocations: 214.5 kB / 0.7239 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002285/0.5657, allocations: 0.8004 MB / 0.7247 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.5675, allocations: 0.6734 MB / 0.7254 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001574/0.5691, allocations: 1.166 MB / 0.7265 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004681/0.5696, allocations: 286.2 kB / 0.7268 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008855/0.5705, allocations: 490.2 kB / 0.7272 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005822/0.5711, allocations: 406.4 kB / 0.7276 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.882e-05/0.5711, allocations: 44 kB / 0.7277 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.5723, allocations: 0.5929 MB / 0.7282 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001971/0.5725, allocations: 159.5 kB / 0.7284 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002908/0.5728, allocations: 270.7 kB / 0.7287 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.5742, allocations: 0.9683 MB / 0.7296 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.778e-06/0.5742, allocations: 0 / 0.7296 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5742, allocations: 0 / 0.7296 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.5743, allocations: 4 kB / 0.7296 GB, free: 7.934 MB / 0.5606 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.001792/0.5761, allocations: 0.8455 MB / 0.7304 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.5761, allocations: 8.031 kB / 0.7304 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003853/0.5765, allocations: 79.61 kB / 0.7305 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006639/0.5771, allocations: 348.8 kB / 0.7309 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.5773, allocations: 88.33 kB / 0.7309 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.173e-05/0.5773, allocations: 39.95 kB / 0.731 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009776/0.5783, allocations: 0.5166 MB / 0.7315 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.5783, allocations: 0 / 0.7315 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.158e-05/0.5784, allocations: 19.97 kB / 0.7315 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.482e-05/0.5784, allocations: 24.66 kB / 0.7315 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008974/0.5793, allocations: 402.1 kB / 0.7319 GB, free: 5.457 MB / 0.5606 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.003247/0.5826, allocations: 2.415 MB / 0.7343 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007962/0.5834, allocations: 333 kB / 0.7346 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003657/0.5837, allocations: 153.3 kB / 0.7347 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.249e-05/0.5838, allocations: 8.281 kB / 0.7347 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005619/0.5843, allocations: 263.9 kB / 0.735 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.833e-06/0.5843, allocations: 0 / 0.735 GB, free: 2.105 MB / 0.5606 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.3908/0.9751, allocations: 3.01 MB / 0.7379 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.9752, allocations: 135.6 kB / 0.7381 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005807/0.9758, allocations: 383.5 kB / 0.7384 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.728e-05/0.9758, allocations: 40.95 kB / 0.7385 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.976, allocations: 259.1 kB / 0.7387 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.9761, allocations: 170.4 kB / 0.7389 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002191/0.9763, allocations: 128.3 kB / 0.739 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.137e-05/0.9764, allocations: 359 kB / 0.7393 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006255/0.977, allocations: 217.9 kB / 0.7395 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007179/0.9778, allocations: 400.3 kB / 0.7399 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.9788, allocations: 0.6379 MB / 0.7405 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.9789, allocations: 3.469 kB / 0.7405 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001715/0.9806, allocations: 0.791 MB / 0.7413 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/0.9806, allocations: 35.66 kB / 0.7414 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.9806, allocations: 4.438 kB / 0.7414 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004028/0.981, allocations: 119.6 kB / 0.7415 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005263/0.9815, allocations: 139.2 kB / 0.7416 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004491/0.982, allocations: 0.6696 MB / 0.7423 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004717/0.9825, allocations: 50.53 kB / 0.7423 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.514e-05/0.9825, allocations: 42.66 kB / 0.7423 GB, free: 9.734 MB / 0.5606 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.0002393/0.9828, allocations: 199.9 kB / 0.7425 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.495e-05/0.9828, allocations: 51.58 kB / 0.7426 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/0.9846, allocations: 0.7318 MB / 0.7433 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.9846, allocations: 7.688 kB / 0.7433 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.9846, allocations: 1.031 kB / 0.7433 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.9846, allocations: 6.328 kB / 0.7433 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002229/0.9868, allocations: 1.247 MB / 0.7445 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.9868, allocations: 0 / 0.7445 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004297/0.9873, allocations: 109.7 kB / 0.7446 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005273/0.9878, allocations: 107.5 kB / 0.7447 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.76e-05/0.9878, allocations: 15.34 kB / 0.7448 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/0.9892, allocations: 1.725 MB / 0.7464 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.9892, allocations: 3.844 kB / 0.7464 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.9912, allocations: 0.9745 MB / 0.7474 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002167/0.9914, allocations: 84.95 kB / 0.7475 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.448e-05/0.9915, allocations: 13.31 kB / 0.7475 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004156/0.9919, allocations: 44.81 kB / 0.7475 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.992, allocations: 60.72 kB / 0.7476 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.741e-05/0.9921, allocations: 36.12 kB / 0.7476 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002504/0.9923, allocations: 278.7 kB / 0.7479 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.9923, allocations: 0 / 0.7479 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007495/0.9931, allocations: 232.8 kB / 0.7481 GB, free: 7.617 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.0005976/0.9937, allocations: 294.2 kB / 0.7484 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001312/0.995, allocations: 0.5888 MB / 0.749 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.995, allocations: 0.9688 kB / 0.749 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006994/0.9957, allocations: 396.4 kB / 0.7493 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009536/0.9966, allocations: 207.4 kB / 0.7495 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.9985, allocations: 1.213 MB / 0.7507 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.9988, allocations: 0.8524 MB / 0.7516 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/0.9991, allocations: 87.64 kB / 0.7516 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.9991, allocations: 0 / 0.7516 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of Templates: time 0.01456/1.014, allocations: 11.69 MB / 0.7631 GB, free: 5.199 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.382563641062006]