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.001384/0.001384, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001593/0.001593, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.47/1.47, allocations: 230.6 MB / 258.3 MB, free: 7.73 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.237/0.237, allocations: 46.96 MB / 361.6 MB, free: 4.023 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.002171/0.002171, allocations: 67.91 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3801, allocations: 66.04 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1866/0.5667, allocations: 141.4 MB / 0.6999 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003749/0.5705, allocations: 1.583 MB / 0.7014 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005612/0.571, allocations: 15.88 kB / 0.7014 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008357/0.5719, allocations: 198.6 kB / 0.7016 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00268/0.5745, allocations: 0.7991 MB / 0.7024 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002089/0.5766, allocations: 0.6848 MB / 0.7031 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00169/0.5783, allocations: 1.162 MB / 0.7042 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006179/0.5789, allocations: 274.2 kB / 0.7045 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.5801, allocations: 498.2 kB / 0.7049 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007352/0.5808, allocations: 374.5 kB / 0.7053 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.581, allocations: 44 kB / 0.7053 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.5823, allocations: 0.4914 MB / 0.7058 GB, free: 156 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002628/0.5825, allocations: 163.5 kB / 0.706 GB, free: 15.99 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003768/0.5829, allocations: 223 kB / 0.7062 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.5847, allocations: 0.9614 MB / 0.7071 GB, free: 14.81 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.5847, allocations: 0 / 0.7071 GB, free: 14.81 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5847, allocations: 3.938 kB / 0.7071 GB, free: 14.81 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.5847, allocations: 4 kB / 0.7071 GB, free: 14.8 MB / 0.545 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.001739/0.5864, allocations: 0.8416 MB / 0.708 GB, free: 13.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.5865, allocations: 12.03 kB / 0.708 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003792/0.5868, allocations: 83.61 kB / 0.708 GB, free: 13.83 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006665/0.5875, allocations: 352.8 kB / 0.7084 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-05/0.5876, allocations: 84.34 kB / 0.7085 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.344e-05/0.5877, allocations: 43.94 kB / 0.7085 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.5888, allocations: 0.7386 MB / 0.7092 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.5888, allocations: 7.938 kB / 0.7092 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.313e-05/0.5888, allocations: 19.98 kB / 0.7093 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-05/0.5889, allocations: 20.59 kB / 0.7093 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009081/0.5898, allocations: 398.2 kB / 0.7097 GB, free: 12.05 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.003014/0.5928, allocations: 1.938 MB / 0.7115 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008176/0.5936, allocations: 325.1 kB / 0.7119 GB, free: 9.715 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003817/0.594, allocations: 153.3 kB / 0.712 GB, free: 9.562 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.011e-05/0.594, allocations: 16.16 kB / 0.712 GB, free: 9.547 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006892/0.5947, allocations: 406.2 kB / 0.7124 GB, free: 9.094 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 2.605e-06/0.5947, allocations: 0 / 0.7124 GB, free: 9.094 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.01232/0.6071, allocations: 3.02 MB / 0.7154 GB, free: 5.996 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.6072, allocations: 148.4 kB / 0.7155 GB, free: 5.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004813/0.6076, allocations: 369.5 kB / 0.7158 GB, free: 5.453 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.936e-05/0.6077, allocations: 37.7 kB / 0.7159 GB, free: 5.41 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.6079, allocations: 260.4 kB / 0.7161 GB, free: 5.152 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.6081, allocations: 170.6 kB / 0.7163 GB, free: 4.984 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/0.6083, allocations: 122.3 kB / 0.7164 GB, free: 4.859 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.6085, allocations: 354.8 kB / 0.7167 GB, free: 4.504 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006648/0.6092, allocations: 250.8 kB / 0.717 GB, free: 4.254 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008832/0.61, allocations: 0.4913 MB / 0.7175 GB, free: 3.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.6115, allocations: 0.6316 MB / 0.7181 GB, free: 2.957 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.6115, allocations: 8 kB / 0.7181 GB, free: 2.949 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002022/0.6135, allocations: 0.8117 MB / 0.7189 GB, free: 2.113 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.068e-05/0.6136, allocations: 34.36 kB / 0.7189 GB, free: 2.074 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.6136, allocations: 8 kB / 0.7189 GB, free: 2.066 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004457/0.614, allocations: 128.7 kB / 0.719 GB, free: 1.938 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005599/0.6146, allocations: 139.7 kB / 0.7192 GB, free: 1.801 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006505/0.6152, allocations: 0.6734 MB / 0.7198 GB, free: 1.102 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004956/0.6157, allocations: 55.95 kB / 0.7199 GB, free: 1.047 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.015e-05/0.6158, allocations: 44 kB / 0.7199 GB, free: 1.004 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.0002964/0.6161, allocations: 196.3 kB / 0.7201 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.136e-05/0.6162, allocations: 47.72 kB / 0.7202 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001984/0.6182, allocations: 0.7288 MB / 0.7209 GB, free: 16 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.6182, allocations: 12 kB / 0.7209 GB, free: 4 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.6182, allocations: 0 / 0.7209 GB, free: 4 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.6182, allocations: 0 / 0.7209 GB, free: 4 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002601/0.6208, allocations: 1.136 MB / 0.722 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.6208, allocations: 3.938 kB / 0.722 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004836/0.6213, allocations: 107.9 kB / 0.7221 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005746/0.6219, allocations: 100.9 kB / 0.7222 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.349e-05/0.6219, allocations: 19.98 kB / 0.7222 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/0.6239, allocations: 1.683 MB / 0.7239 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.6239, allocations: 4.031 kB / 0.7239 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002523/0.6264, allocations: 0.9674 MB / 0.7248 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003311/0.6267, allocations: 87.66 kB / 0.7249 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.911e-05/0.6268, allocations: 15.98 kB / 0.7249 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004734/0.6273, allocations: 43.95 kB / 0.725 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/0.6275, allocations: 59.91 kB / 0.725 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.345e-05/0.6275, allocations: 35.98 kB / 0.725 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003699/0.6279, allocations: 255.2 kB / 0.7253 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6279, allocations: 0 / 0.7253 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009505/0.6289, allocations: 231.7 kB / 0.7255 GB, free: 11.07 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.0007531/0.6296, allocations: 294.8 kB / 0.7258 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001706/0.6313, allocations: 0.6125 MB / 0.7264 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.6313, allocations: 0 / 0.7264 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008933/0.6322, allocations: 394.3 kB / 0.7268 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.6333, allocations: 206.4 kB / 0.727 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.6357, allocations: 1.201 MB / 0.7281 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.636, allocations: 248.9 kB / 0.7284 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/0.6363, allocations: 83.41 kB / 0.7285 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of SimCode: time 9.92e-07/0.6363, allocations: 0 / 0.7285 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of Templates: time 0.2676/0.904, allocations: 11.77 MB / 0.7399 GB, free: 173.6 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.227905259933323]