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.001319/0.001319, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.001391/0.001391, allocations: 161.9 kB / 24.5 MB, free: 3.711 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.503/1.503, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.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.2086/0.2086, allocations: 34.27 MB / 295.5 MB, free: 14.55 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.002074/0.002074, allocations: 71.88 kB / 443.2 MB, free: 6.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3107, allocations: 66 MB / 0.4972 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1704/0.481, allocations: 141.4 MB / 0.6353 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003462/0.4845, allocations: 1.575 MB / 0.6368 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004589/0.485, allocations: 19.81 kB / 0.6368 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000751/0.4857, allocations: 206.6 kB / 0.637 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002426/0.4881, allocations: 0.8003 MB / 0.6378 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.49, allocations: 0.6757 MB / 0.6385 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001657/0.4917, allocations: 1.162 MB / 0.6396 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004845/0.4922, allocations: 280.8 kB / 0.6399 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009252/0.4931, allocations: 498 kB / 0.6404 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005974/0.4937, allocations: 382.4 kB / 0.6407 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.307e-05/0.4938, allocations: 48 kB / 0.6408 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.4949, allocations: 499.2 kB / 0.6412 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002067/0.4951, allocations: 163.4 kB / 0.6414 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002946/0.4954, allocations: 227 kB / 0.6416 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.4967, allocations: 0.9578 MB / 0.6426 GB, free: 460 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4968, allocations: 0 / 0.6426 GB, free: 460 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4968, allocations: 3.938 kB / 0.6426 GB, free: 456 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.4968, allocations: 3.984 kB / 0.6426 GB, free: 452 kB / 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.001877/0.4986, allocations: 0.8378 MB / 0.6434 GB, free: 15.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.4987, allocations: 12.03 kB / 0.6434 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003938/0.4991, allocations: 75.61 kB / 0.6435 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006487/0.4997, allocations: 348.8 kB / 0.6438 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.99e-05/0.4998, allocations: 92.33 kB / 0.6439 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.603e-05/0.4999, allocations: 39.95 kB / 0.6439 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.501, allocations: 0.7503 MB / 0.6447 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.5011, allocations: 4 kB / 0.6447 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.769e-05/0.5011, allocations: 16 kB / 0.6447 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-05/0.5012, allocations: 12.66 kB / 0.6447 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000971/0.5021, allocations: 402.1 kB / 0.6451 GB, free: 13.7 MB / 0.545 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.003157/0.5053, allocations: 1.93 MB / 0.647 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008654/0.5062, allocations: 335.3 kB / 0.6473 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004122/0.5066, allocations: 149.3 kB / 0.6474 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.913e-05/0.5066, allocations: 12.2 kB / 0.6474 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006862/0.5073, allocations: 422.1 kB / 0.6478 GB, free: 10.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 2.625e-06/0.5073, allocations: 0 / 0.6478 GB, free: 10.73 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.01305/0.5203, allocations: 3.013 MB / 0.6508 GB, free: 7.641 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.5205, allocations: 144.4 kB / 0.6509 GB, free: 7.469 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005277/0.521, allocations: 377.5 kB / 0.6513 GB, free: 7.094 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.686e-05/0.5211, allocations: 33.7 kB / 0.6513 GB, free: 7.055 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.5213, allocations: 260.4 kB / 0.6516 GB, free: 6.797 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.5215, allocations: 166.6 kB / 0.6517 GB, free: 6.633 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.5217, allocations: 122.3 kB / 0.6518 GB, free: 6.508 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.5219, allocations: 358.8 kB / 0.6522 GB, free: 6.148 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006796/0.5226, allocations: 242.8 kB / 0.6524 GB, free: 5.906 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008768/0.5234, allocations: 0.5037 MB / 0.6529 GB, free: 5.301 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.525, allocations: 0.6326 MB / 0.6535 GB, free: 4.594 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-05/0.525, allocations: 4 kB / 0.6535 GB, free: 4.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002158/0.5271, allocations: 0.8171 MB / 0.6543 GB, free: 3.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.923e-05/0.5272, allocations: 38.62 kB / 0.6543 GB, free: 3.707 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.5272, allocations: 4 kB / 0.6544 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004728/0.5277, allocations: 117.4 kB / 0.6545 GB, free: 3.586 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005752/0.5282, allocations: 143.7 kB / 0.6546 GB, free: 3.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007253/0.529, allocations: 0.685 MB / 0.6553 GB, free: 2.734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005081/0.5295, allocations: 47.95 kB / 0.6553 GB, free: 2.688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.712e-05/0.5295, allocations: 43.98 kB / 0.6554 GB, free: 2.645 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.0003071/0.5299, allocations: 197.7 kB / 0.6555 GB, free: 2.441 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.235e-05/0.5299, allocations: 47.72 kB / 0.6556 GB, free: 2.395 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002086/0.532, allocations: 0.7342 MB / 0.6563 GB, free: 1.652 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.532, allocations: 4 kB / 0.6563 GB, free: 1.648 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.532, allocations: 4 kB / 0.6563 GB, free: 1.645 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.5321, allocations: 7.969 kB / 0.6563 GB, free: 1.637 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00269/0.5348, allocations: 1.128 MB / 0.6574 GB, free: 460 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.5348, allocations: 0 / 0.6574 GB, free: 460 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005043/0.5353, allocations: 103.9 kB / 0.6575 GB, free: 356 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005883/0.5359, allocations: 116.8 kB / 0.6576 GB, free: 236 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.324e-05/0.5359, allocations: 12 kB / 0.6576 GB, free: 224 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.5379, allocations: 1.683 MB / 0.6593 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.5379, allocations: 4.031 kB / 0.6593 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.5404, allocations: 0.9693 MB / 0.6602 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002913/0.5407, allocations: 91.64 kB / 0.6603 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.511e-05/0.5408, allocations: 12 kB / 0.6603 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004675/0.5413, allocations: 39.95 kB / 0.6604 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.5414, allocations: 63.83 kB / 0.6604 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.836e-05/0.5415, allocations: 35.98 kB / 0.6605 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003422/0.5418, allocations: 263.2 kB / 0.6607 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5418, allocations: 0 / 0.6607 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000847/0.5427, allocations: 231.7 kB / 0.6609 GB, free: 12.7 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.0007084/0.5434, allocations: 286.5 kB / 0.6612 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001841/0.5452, allocations: 0.6164 MB / 0.6618 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.5452, allocations: 4 kB / 0.6618 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009699/0.5462, allocations: 391.5 kB / 0.6622 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.5473, allocations: 218.3 kB / 0.6624 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/0.5499, allocations: 1.161 MB / 0.6635 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.5502, allocations: 256.8 kB / 0.6638 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005277/0.5507, allocations: 148.5 kB / 0.6639 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.5509, allocations: 80.47 kB / 0.664 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of SimCode: time 8.61e-07/0.5509, allocations: 0 / 0.664 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of Templates: time 0.02324/0.5742, allocations: 13.01 MB / 0.6767 GB, free: 12.63 MB / 0.5762 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 -s ida -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: 5.86731568002142]