Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.007196/0.007196, allocations: 108.3 kB / 21.97 MB, free: 5.184 MB / 14.72 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.001845/0.001845, allocations: 220.3 kB / 25.29 MB, free: 3.203 MB / 14.72 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 1.442/1.442, allocations: 230.5 MB / 258.9 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2267/0.2267, allocations: 46.94 MB / 362.3 MB, free: 4.215 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00241/0.00241, allocations: 83.84 kB / 0.4982 GB, free: 7.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3542, allocations: 66.09 MB / 0.5627 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.212/0.5661, allocations: 164 MB / 0.7229 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003963/0.5701, allocations: 1.676 MB / 0.7246 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005942/0.5707, allocations: 19.81 kB / 0.7246 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008138/0.5715, allocations: 214.6 kB / 0.7248 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002781/0.5743, allocations: 0.7914 MB / 0.7256 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002097/0.5764, allocations: 0.685 MB / 0.7262 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001729/0.5781, allocations: 1.166 MB / 0.7274 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005306/0.5786, allocations: 282.2 kB / 0.7276 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.5797, allocations: 490.3 kB / 0.7281 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006643/0.5804, allocations: 406.4 kB / 0.7285 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.5805, allocations: 48 kB / 0.7285 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001541/0.582, allocations: 0.5929 MB / 0.7291 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002126/0.5823, allocations: 159.5 kB / 0.7293 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003319/0.5826, allocations: 274.7 kB / 0.7295 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.5842, allocations: 0.9655 MB / 0.7305 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.5842, allocations: 0 / 0.7305 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5842, allocations: 0 / 0.7305 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.5842, allocations: 0 / 0.7305 GB, free: 7.996 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.001982/0.5862, allocations: 0.8455 MB / 0.7313 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.5863, allocations: 12.03 kB / 0.7313 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004113/0.5867, allocations: 71.61 kB / 0.7314 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006757/0.5874, allocations: 340.9 kB / 0.7317 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.039e-05/0.5875, allocations: 66.58 kB / 0.7318 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.5876, allocations: 43.94 kB / 0.7318 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.5886, allocations: 0.5244 MB / 0.7323 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.5886, allocations: 4 kB / 0.7323 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.166e-05/0.5887, allocations: 16 kB / 0.7323 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-05/0.5887, allocations: 16.64 kB / 0.7323 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009204/0.5896, allocations: 402.2 kB / 0.7327 GB, free: 5.559 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.003455/0.5931, allocations: 2.419 MB / 0.7351 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008514/0.594, allocations: 343.3 kB / 0.7354 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003636/0.5943, allocations: 145.3 kB / 0.7356 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.392e-05/0.5944, allocations: 12.27 kB / 0.7356 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005579/0.5949, allocations: 256 kB / 0.7358 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.903e-06/0.5949, allocations: 0 / 0.7358 GB, free: 2.203 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.3242/0.9191, allocations: 3.013 MB / 0.7388 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/0.9192, allocations: 134.7 kB / 0.7389 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006042/0.9198, allocations: 385.3 kB / 0.7393 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.204e-05/0.9198, allocations: 37.39 kB / 0.7393 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.92, allocations: 266.2 kB / 0.7395 GB, free: 176 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.9201, allocations: 166.6 kB / 0.7397 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002396/0.9204, allocations: 123.2 kB / 0.7398 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.9205, allocations: 356.8 kB / 0.7402 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006849/0.9212, allocations: 225.8 kB / 0.7404 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007444/0.9219, allocations: 398.3 kB / 0.7408 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.923, allocations: 0.6355 MB / 0.7414 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.923, allocations: 3.25 kB / 0.7414 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001805/0.9249, allocations: 0.7871 MB / 0.7421 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/0.9249, allocations: 39.59 kB / 0.7422 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.9249, allocations: 3.969 kB / 0.7422 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004356/0.9253, allocations: 122.2 kB / 0.7423 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005424/0.9259, allocations: 134.3 kB / 0.7424 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004658/0.9263, allocations: 0.6742 MB / 0.7431 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005205/0.9269, allocations: 56.42 kB / 0.7431 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.974e-05/0.9269, allocations: 43.11 kB / 0.7432 GB, free: 173.8 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.0002757/0.9272, allocations: 196.8 kB / 0.7434 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.16e-05/0.9273, allocations: 50.95 kB / 0.7434 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/0.929, allocations: 0.7361 MB / 0.7441 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.929, allocations: 12.44 kB / 0.7442 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.929, allocations: 4 kB / 0.7442 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.929, allocations: 3.844 kB / 0.7442 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002164/0.9312, allocations: 1.242 MB / 0.7454 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.9312, allocations: 0 / 0.7454 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004356/0.9316, allocations: 111.1 kB / 0.7455 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005619/0.9322, allocations: 100.7 kB / 0.7456 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/0.9322, allocations: 19.98 kB / 0.7456 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/0.9336, allocations: 1.715 MB / 0.7473 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.9336, allocations: 7.922 kB / 0.7473 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.9355, allocations: 0.9724 MB / 0.7482 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.9357, allocations: 93.08 kB / 0.7483 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.511e-05/0.9358, allocations: 15.98 kB / 0.7483 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004355/0.9362, allocations: 39.95 kB / 0.7484 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.9364, allocations: 76.3 kB / 0.7484 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.384e-05/0.9364, allocations: 32 kB / 0.7485 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002394/0.9366, allocations: 275.1 kB / 0.7487 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.9366, allocations: 0 / 0.7487 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007495/0.9374, allocations: 236.2 kB / 0.749 GB, free: 169 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.0005791/0.938, allocations: 290.5 kB / 0.7492 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001326/0.9393, allocations: 0.5864 MB / 0.7498 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.9393, allocations: 0 / 0.7498 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007124/0.94, allocations: 394.6 kB / 0.7502 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009278/0.9409, allocations: 208.5 kB / 0.7504 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.9426, allocations: 1.199 MB / 0.7516 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.9429, allocations: 0.8589 MB / 0.7524 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002347/0.9431, allocations: 83.42 kB / 0.7525 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of SimCode: time 7.62e-07/0.9431, allocations: 0 / 0.7525 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.01275/0.9559, allocations: 11.71 MB / 0.7639 GB, free: 153.7 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.014166645007208]