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.001362/0.001362, allocations: 113.1 kB / 21.85 MB, free: 64 kB / 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.001502/0.001502, allocations: 201.8 kB / 25.13 MB, free: 3.578 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.415/1.415, allocations: 230.4 MB / 258.7 MB, free: 8.047 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.2268/0.2268, allocations: 46.92 MB / 362 MB, free: 4.242 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.002303/0.002303, allocations: 79.86 kB / 0.4978 GB, free: 7.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3244, allocations: 66.09 MB / 0.5623 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1985/0.5228, allocations: 161.8 MB / 0.7203 GB, free: 1.812 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003143/0.526, allocations: 1.665 MB / 0.722 GB, free: 140 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003014/0.5263, allocations: 19.81 kB / 0.722 GB, free: 120 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006634/0.527, allocations: 218.7 kB / 0.7222 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00199/0.5289, allocations: 0.8045 MB / 0.723 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.5305, allocations: 0.6768 MB / 0.7236 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001396/0.5319, allocations: 1.162 MB / 0.7248 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004521/0.5324, allocations: 282.2 kB / 0.725 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008294/0.5332, allocations: 490.3 kB / 0.7255 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005611/0.5338, allocations: 402.3 kB / 0.7259 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.343e-05/0.5339, allocations: 52 kB / 0.7259 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.5349, allocations: 0.5071 MB / 0.7264 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.5351, allocations: 151.5 kB / 0.7266 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003108/0.5354, allocations: 278.6 kB / 0.7269 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.5367, allocations: 0.9566 MB / 0.7278 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5367, allocations: 0 / 0.7278 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5367, allocations: 7.938 kB / 0.7278 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.5367, allocations: 0 / 0.7278 GB, free: 10.16 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.001777/0.5385, allocations: 0.8416 MB / 0.7286 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.5385, allocations: 8.031 kB / 0.7286 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003843/0.5389, allocations: 79.61 kB / 0.7287 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006498/0.5396, allocations: 344.9 kB / 0.729 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.743e-05/0.5397, allocations: 88.34 kB / 0.7291 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-05/0.5398, allocations: 39.95 kB / 0.7291 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.5409, allocations: 0.7542 MB / 0.7299 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.5409, allocations: 0 / 0.7299 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.975e-05/0.541, allocations: 20 kB / 0.7299 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.294e-05/0.541, allocations: 20.64 kB / 0.7299 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009301/0.5419, allocations: 398.2 kB / 0.7303 GB, free: 7.41 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.003319/0.5453, allocations: 2.419 MB / 0.7327 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000835/0.5461, allocations: 341.5 kB / 0.733 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003673/0.5465, allocations: 145.3 kB / 0.7331 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.374e-05/0.5465, allocations: 4.281 kB / 0.7331 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006141/0.5471, allocations: 418.1 kB / 0.7335 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.753e-06/0.5471, allocations: 0 / 0.7335 GB, free: 3.871 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.01139/0.5585, allocations: 3.015 MB / 0.7365 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.374e-05/0.5586, allocations: 136.5 kB / 0.7366 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004456/0.5591, allocations: 389.5 kB / 0.737 GB, free: 232 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.976e-05/0.5591, allocations: 33.7 kB / 0.737 GB, free: 192 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.2648/0.8239, allocations: 259.2 kB / 0.7373 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/0.8242, allocations: 174.6 kB / 0.7374 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002436/0.8244, allocations: 125 kB / 0.7375 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.8245, allocations: 353.9 kB / 0.7379 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000748/0.8253, allocations: 247.3 kB / 0.7381 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008238/0.8261, allocations: 0.4914 MB / 0.7386 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.8275, allocations: 0.6415 MB / 0.7392 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.8275, allocations: 4.281 kB / 0.7392 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001983/0.8295, allocations: 0.8201 MB / 0.74 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/0.8295, allocations: 34.81 kB / 0.7401 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.8295, allocations: 6.359 kB / 0.7401 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000453/0.83, allocations: 116.3 kB / 0.7402 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/0.8305, allocations: 138.7 kB / 0.7403 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004684/0.831, allocations: 0.6805 MB / 0.741 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004849/0.8315, allocations: 45.78 kB / 0.741 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-05/0.8315, allocations: 45.42 kB / 0.7411 GB, free: 174.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.000285/0.8318, allocations: 199.6 kB / 0.7413 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.052e-05/0.8319, allocations: 51.31 kB / 0.7413 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/0.8336, allocations: 0.7327 MB / 0.742 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.8336, allocations: 3.219 kB / 0.742 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.8336, allocations: 3.938 kB / 0.742 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.8336, allocations: 9.156 kB / 0.742 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.8358, allocations: 1.25 MB / 0.7433 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.8358, allocations: 3.625 kB / 0.7433 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004291/0.8362, allocations: 108.5 kB / 0.7434 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005188/0.8367, allocations: 104 kB / 0.7435 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.8368, allocations: 12 kB / 0.7435 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/0.8382, allocations: 1.724 MB / 0.7452 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.8383, allocations: 0 / 0.7452 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.8401, allocations: 0.9739 MB / 0.7461 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/0.8403, allocations: 91.66 kB / 0.7462 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.796e-05/0.8404, allocations: 11.72 kB / 0.7462 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004146/0.8408, allocations: 47.95 kB / 0.7463 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.841, allocations: 59.89 kB / 0.7463 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.212e-05/0.841, allocations: 39.92 kB / 0.7463 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002742/0.8413, allocations: 271.2 kB / 0.7466 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.8413, allocations: 0 / 0.7466 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008776/0.8422, allocations: 232.9 kB / 0.7468 GB, free: 170.1 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.0005935/0.8428, allocations: 288.3 kB / 0.7471 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001312/0.8441, allocations: 0.6154 MB / 0.7477 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.8441, allocations: 0 / 0.7477 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000687/0.8448, allocations: 397.4 kB / 0.7481 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009022/0.8457, allocations: 221.6 kB / 0.7483 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.8474, allocations: 1.159 MB / 0.7494 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.8477, allocations: 0.8627 MB / 0.7503 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004337/0.8481, allocations: 152.6 kB / 0.7504 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.8483, allocations: 71.42 kB / 0.7505 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.213e-06/0.8483, allocations: 0 / 0.7505 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.01706/0.8654, allocations: 13.7 MB / 0.7639 GB, free: 152.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 -s gbode -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: 6.022710003890097]