Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.00161/0.00161, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001901/0.001901, allocations: 210.5 kB / 24.48 MB, free: 3.934 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.513/1.513, allocations: 230.5 MB / 258.1 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2466/0.2466, allocations: 46.95 MB / 361.6 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002363, allocations: 83.86 kB / 0.4974 GB, free: 7.055 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3933, allocations: 66.09 MB / 0.5619 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.195/0.5882, allocations: 141.4 MB / 0.7 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003663/0.5919, allocations: 1.578 MB / 0.7015 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005588/0.5925, allocations: 23.81 kB / 0.7015 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008341/0.5933, allocations: 202.6 kB / 0.7017 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002623/0.5959, allocations: 0.796 MB / 0.7025 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002005/0.5979, allocations: 0.6772 MB / 0.7032 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001728/0.5996, allocations: 1.158 MB / 0.7043 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006617/0.6003, allocations: 282.2 kB / 0.7046 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.6015, allocations: 498.2 kB / 0.705 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008115/0.6023, allocations: 378.4 kB / 0.7054 GB, free: 492 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001706/0.6025, allocations: 47.94 kB / 0.7054 GB, free: 444 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.6038, allocations: 498.6 kB / 0.7059 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002868/0.6041, allocations: 167.4 kB / 0.7061 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004179/0.6045, allocations: 227 kB / 0.7063 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001927/0.6065, allocations: 0.9614 MB / 0.7072 GB, free: 14.6 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.6065, allocations: 0 / 0.7072 GB, free: 14.6 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6065, allocations: 0 / 0.7072 GB, free: 14.6 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.546e-05/0.6065, allocations: 0 / 0.7072 GB, free: 14.6 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.002215/0.6087, allocations: 0.8416 MB / 0.708 GB, free: 13.72 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.6088, allocations: 12.03 kB / 0.7081 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004635/0.6092, allocations: 79.61 kB / 0.7081 GB, free: 13.63 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007907/0.61, allocations: 344.8 kB / 0.7085 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.6101, allocations: 96.33 kB / 0.7086 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.793e-05/0.6102, allocations: 43.94 kB / 0.7086 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.6114, allocations: 0.7425 MB / 0.7093 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.6114, allocations: 0 / 0.7093 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.585e-05/0.6114, allocations: 19.98 kB / 0.7093 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.502e-05/0.6115, allocations: 16.66 kB / 0.7094 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009192/0.6124, allocations: 402.1 kB / 0.7097 GB, free: 11.85 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.00321/0.6156, allocations: 1.938 MB / 0.7116 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008503/0.6165, allocations: 325.8 kB / 0.7119 GB, free: 9.512 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003887/0.6168, allocations: 161.2 kB / 0.7121 GB, free: 9.352 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.797e-05/0.6169, allocations: 12.22 kB / 0.7121 GB, free: 9.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007298/0.6176, allocations: 418.1 kB / 0.7125 GB, free: 8.875 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 2.014e-06/0.6176, allocations: 0 / 0.7125 GB, free: 8.875 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.01249/0.6301, allocations: 3.012 MB / 0.7154 GB, free: 5.785 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.6302, allocations: 140.4 kB / 0.7156 GB, free: 5.617 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005137/0.6307, allocations: 377.5 kB / 0.7159 GB, free: 5.242 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.512e-05/0.6308, allocations: 37.7 kB / 0.716 GB, free: 5.199 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/0.6311, allocations: 260.4 kB / 0.7162 GB, free: 4.941 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.6312, allocations: 162.6 kB / 0.7164 GB, free: 4.781 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.6314, allocations: 126.3 kB / 0.7165 GB, free: 4.652 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.6316, allocations: 350.8 kB / 0.7168 GB, free: 4.301 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006609/0.6323, allocations: 250.8 kB / 0.7171 GB, free: 4.051 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008855/0.6332, allocations: 0.4952 MB / 0.7176 GB, free: 3.453 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.6346, allocations: 0.6394 MB / 0.7182 GB, free: 2.742 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.6346, allocations: 4 kB / 0.7182 GB, free: 2.738 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002173/0.6368, allocations: 0.8156 MB / 0.719 GB, free: 1.898 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.14e-05/0.6369, allocations: 37.7 kB / 0.719 GB, free: 1.855 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/0.6369, allocations: 8.656 kB / 0.719 GB, free: 1.848 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000552/0.6375, allocations: 112.8 kB / 0.7191 GB, free: 1.734 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/0.6381, allocations: 135.8 kB / 0.7193 GB, free: 1.602 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008113/0.6389, allocations: 0.6811 MB / 0.7199 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006434/0.6395, allocations: 43.95 kB / 0.72 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.6397, allocations: 52.05 kB / 0.72 GB, free: 0.8008 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.0005688/0.6402, allocations: 196.4 kB / 0.7202 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.6404, allocations: 55.73 kB / 0.7203 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002153/0.6426, allocations: 0.7249 MB / 0.721 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.6426, allocations: 8 kB / 0.721 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.6426, allocations: 4 kB / 0.721 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.6426, allocations: 3.984 kB / 0.721 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002842/0.6455, allocations: 1.128 MB / 0.7221 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/0.6455, allocations: 4 kB / 0.7221 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005283/0.646, allocations: 103.9 kB / 0.7222 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006174/0.6466, allocations: 108.8 kB / 0.7223 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.198e-05/0.6467, allocations: 23.98 kB / 0.7223 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002131/0.6488, allocations: 1.679 MB / 0.724 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6488, allocations: 4 kB / 0.724 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/0.6514, allocations: 0.9674 MB / 0.7249 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003292/0.6517, allocations: 87.64 kB / 0.725 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.6518, allocations: 12 kB / 0.725 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005029/0.6524, allocations: 51.95 kB / 0.725 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.6525, allocations: 63.83 kB / 0.7251 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-05/0.6526, allocations: 35.98 kB / 0.7251 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003459/0.6529, allocations: 255.2 kB / 0.7254 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.6529, allocations: 0 / 0.7254 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000901/0.6538, allocations: 231.7 kB / 0.7256 GB, free: 10.86 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.0008009/0.6546, allocations: 278.7 kB / 0.7259 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001748/0.6564, allocations: 0.6203 MB / 0.7265 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.6564, allocations: 4 kB / 0.7265 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009378/0.6573, allocations: 394.3 kB / 0.7269 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.6585, allocations: 206.1 kB / 0.7271 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/0.661, allocations: 1.185 MB / 0.7282 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.6613, allocations: 260.8 kB / 0.7285 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003083/0.6616, allocations: 83.41 kB / 0.7285 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of SimCode: time 8.92e-07/0.6616, allocations: 0 / 0.7285 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of Templates: time 0.2864/0.948, allocations: 11.77 MB / 0.74 GB, free: 173.3 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.311704421881586]