Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00136/0.00136, allocations: 79.75 kB / 20.52 MB, free: 1.121 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.001498/0.001498, allocations: 162.8 kB / 23.76 MB, free: 4.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 158.6 MB / 185.5 MB, free: 6.211 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2083/0.2083, allocations: 32.39 MB / 270.1 MB, free: 2.703 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003419/0.003419, allocations: 67.91 kB / 407.8 MB, free: 5.531 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.169, allocations: 61.03 MB / 468.8 MB, free: 8.309 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3933/0.5623, allocations: 141 MB / 0.5955 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006572/0.5689, allocations: 3.82 MB / 0.5992 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004476/0.5693, allocations: 23.81 kB / 0.5992 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007067/0.57, allocations: 202.6 kB / 0.5994 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002519/0.5726, allocations: 0.8531 MB / 0.6002 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.5744, allocations: 0.6831 MB / 0.6009 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00151/0.5759, allocations: 1.154 MB / 0.602 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004815/0.5764, allocations: 289.6 kB / 0.6023 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000812/0.5772, allocations: 486.2 kB / 0.6028 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000559/0.5778, allocations: 378.4 kB / 0.6031 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.907e-05/0.5779, allocations: 48 kB / 0.6032 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.579, allocations: 0.5169 MB / 0.6037 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.5792, allocations: 159.5 kB / 0.6038 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002987/0.5795, allocations: 235 kB / 0.6041 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.5809, allocations: 0.9732 MB / 0.605 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5809, allocations: 0 / 0.605 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5809, allocations: 0 / 0.605 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.425e-06/0.5809, allocations: 0 / 0.605 GB, free: 2.527 MB / 0.4981 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.001744/0.5826, allocations: 0.834 MB / 0.6058 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.5827, allocations: 8.031 kB / 0.6058 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004005/0.5831, allocations: 75.64 kB / 0.6059 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006617/0.5837, allocations: 354.1 kB / 0.6063 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.722e-05/0.5838, allocations: 84.41 kB / 0.6063 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.098e-05/0.5839, allocations: 39.94 kB / 0.6064 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.585, allocations: 0.7871 MB / 0.6071 GB, free: 188 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.5851, allocations: 0 / 0.6071 GB, free: 188 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.201e-05/0.5851, allocations: 16 kB / 0.6072 GB, free: 172 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.459e-05/0.5852, allocations: 16.66 kB / 0.6072 GB, free: 152 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009624/0.5861, allocations: 402.2 kB / 0.6076 GB, free: 15.75 MB / 0.5137 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.003052/0.5892, allocations: 1.939 MB / 0.6094 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008615/0.59, allocations: 327.4 kB / 0.6098 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003911/0.5904, allocations: 156.4 kB / 0.6099 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.204e-05/0.5905, allocations: 8.266 kB / 0.6099 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006723/0.5911, allocations: 452.1 kB / 0.6103 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=34): time 2.395e-06/0.5911, allocations: 0 / 0.6103 GB, free: 12.75 MB / 0.5137 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.0127/0.6038, allocations: 3.011 MB / 0.6133 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.604, allocations: 162.2 kB / 0.6134 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004486/0.6044, allocations: 373.5 kB / 0.6138 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.248e-05/0.6045, allocations: 41.7 kB / 0.6138 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.6047, allocations: 268.3 kB / 0.6141 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.6048, allocations: 162.6 kB / 0.6143 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/0.605, allocations: 126.2 kB / 0.6144 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.6052, allocations: 362.7 kB / 0.6147 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006709/0.6059, allocations: 242.8 kB / 0.6149 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008996/0.6068, allocations: 0.5305 MB / 0.6155 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.6082, allocations: 0.6378 MB / 0.6161 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.6082, allocations: 4 kB / 0.6161 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00211/0.6103, allocations: 0.817 MB / 0.6169 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.935e-05/0.6104, allocations: 37.69 kB / 0.6169 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.6104, allocations: 8 kB / 0.6169 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004959/0.6109, allocations: 117.5 kB / 0.617 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005873/0.6115, allocations: 143.7 kB / 0.6172 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007134/0.6122, allocations: 0.6695 MB / 0.6178 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005678/0.6128, allocations: 51.89 kB / 0.6179 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.179e-05/0.6129, allocations: 47.98 kB / 0.6179 GB, free: 4.594 MB / 0.5137 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.0003979/0.6133, allocations: 194.9 kB / 0.6181 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.6134, allocations: 47.72 kB / 0.6182 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002121/0.6155, allocations: 0.7374 MB / 0.6189 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.6155, allocations: 4 kB / 0.6189 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.6155, allocations: 0 / 0.6189 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.6155, allocations: 7.984 kB / 0.6189 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002891/0.6184, allocations: 1.128 MB / 0.62 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.954e-06/0.6184, allocations: 0 / 0.62 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005431/0.619, allocations: 99.86 kB / 0.6201 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006895/0.6197, allocations: 120.9 kB / 0.6202 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.244e-05/0.6197, allocations: 12 kB / 0.6202 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00248/0.6222, allocations: 1.686 MB / 0.6219 GB, free: 396 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.6222, allocations: 64 / 0.6219 GB, free: 396 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002577/0.6248, allocations: 0.9733 MB / 0.6228 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003309/0.6251, allocations: 83.72 kB / 0.6229 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.6252, allocations: 19.94 kB / 0.6229 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005478/0.6258, allocations: 39.89 kB / 0.623 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.626, allocations: 67.84 kB / 0.623 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.746e-05/0.6261, allocations: 35.98 kB / 0.6231 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003594/0.6264, allocations: 259.2 kB / 0.6233 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6264, allocations: 0 / 0.6233 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009424/0.6274, allocations: 239.7 kB / 0.6235 GB, free: 14.65 MB / 0.5294 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.0009664/0.6283, allocations: 320.1 kB / 0.6238 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00176/0.6301, allocations: 0.6168 MB / 0.6244 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.6301, allocations: 0 / 0.6244 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.6311, allocations: 405 kB / 0.6248 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.6323, allocations: 202.2 kB / 0.625 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/0.6349, allocations: 1.166 MB / 0.6262 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.6352, allocations: 252.7 kB / 0.6264 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000589/0.6358, allocations: 155.6 kB / 0.6265 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/0.636, allocations: 72.48 kB / 0.6266 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of SimCode: time 9.02e-07/0.636, allocations: 0 / 0.6266 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of Templates: time 0.02638/0.6624, allocations: 13.44 MB / 0.6397 GB, free: 14.04 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.8150703279534355]