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.00144/0.00144, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001582/0.001582, allocations: 211.8 kB / 23.74 MB, free: 4.672 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.574/1.574, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.2809/0.2809, allocations: 46.94 MB / 360.9 MB, free: 4.242 MB / 286.1 MB " [Timeout remaining time 179] 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.001954/0.001954, allocations: 67.91 kB / 0.4966 GB, free: 7.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4253/0.4273, allocations: 66.03 MB / 0.5611 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.2299/0.6572, allocations: 164 MB / 0.7213 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004161/0.6613, allocations: 1.672 MB / 0.7229 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005035/0.6619, allocations: 27.81 kB / 0.723 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008577/0.6627, allocations: 210.6 kB / 0.7232 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00278/0.6655, allocations: 0.7956 MB / 0.724 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.6675, allocations: 0.6817 MB / 0.7246 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001708/0.6692, allocations: 1.161 MB / 0.7258 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000556/0.6698, allocations: 294 kB / 0.726 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009681/0.6707, allocations: 490.3 kB / 0.7265 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00064/0.6714, allocations: 402.4 kB / 0.7269 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.413e-05/0.6715, allocations: 44 kB / 0.7269 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/0.673, allocations: 0.5929 MB / 0.7275 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002197/0.6732, allocations: 159.5 kB / 0.7277 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000334/0.6735, allocations: 266.7 kB / 0.7279 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.6752, allocations: 0.9692 MB / 0.7289 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.6753, allocations: 4 kB / 0.7289 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6753, allocations: 0 / 0.7289 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.6753, allocations: 0 / 0.7289 GB, free: 8.008 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.002031/0.6773, allocations: 0.8455 MB / 0.7297 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.6773, allocations: 8.031 kB / 0.7297 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004203/0.6778, allocations: 83.55 kB / 0.7298 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007292/0.6785, allocations: 344.8 kB / 0.7301 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.6786, allocations: 96.33 kB / 0.7302 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-05/0.6787, allocations: 39.95 kB / 0.7302 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.6798, allocations: 0.5205 MB / 0.7307 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.6798, allocations: 7.922 kB / 0.7307 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.42e-05/0.6798, allocations: 16 kB / 0.7308 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.313e-05/0.6799, allocations: 16.66 kB / 0.7308 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009313/0.6808, allocations: 402.2 kB / 0.7312 GB, free: 5.523 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.003633/0.6844, allocations: 2.419 MB / 0.7335 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008756/0.6853, allocations: 331.4 kB / 0.7338 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000375/0.6857, allocations: 149.3 kB / 0.734 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.786e-05/0.6858, allocations: 12.27 kB / 0.734 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006029/0.6864, allocations: 260 kB / 0.7342 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.894e-06/0.6864, allocations: 0 / 0.7342 GB, free: 2.172 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.3466/1.033, allocations: 3.008 MB / 0.7372 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/1.033, allocations: 137.5 kB / 0.7373 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005537/1.034, allocations: 388.9 kB / 0.7377 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.621e-05/1.034, allocations: 37.08 kB / 0.7377 GB, free: 176 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/1.034, allocations: 262.6 kB / 0.738 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/1.034, allocations: 169.4 kB / 0.7381 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002126/1.034, allocations: 122.8 kB / 0.7382 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.796e-05/1.034, allocations: 367 kB / 0.7386 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006834/1.035, allocations: 217.6 kB / 0.7388 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007443/1.036, allocations: 399.2 kB / 0.7392 GB, free: 175 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/1.037, allocations: 0.6377 MB / 0.7398 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/1.037, allocations: 2.922 kB / 0.7398 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001799/1.039, allocations: 0.7879 MB / 0.7406 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/1.039, allocations: 39.47 kB / 0.7406 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.039, allocations: 3.969 kB / 0.7406 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004449/1.039, allocations: 113.1 kB / 0.7407 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005468/1.04, allocations: 140.8 kB / 0.7409 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004528/1.04, allocations: 0.6745 MB / 0.7415 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005001/1.041, allocations: 54.05 kB / 0.7416 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/1.041, allocations: 45.05 kB / 0.7416 GB, free: 173.7 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.0002304/1.041, allocations: 196.1 kB / 0.7418 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.132e-05/1.041, allocations: 50.31 kB / 0.7419 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/1.043, allocations: 0.7299 MB / 0.7426 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/1.043, allocations: 12.91 kB / 0.7426 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.043, allocations: 3.688 kB / 0.7426 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/1.043, allocations: 3.891 kB / 0.7426 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/1.045, allocations: 1.244 MB / 0.7438 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/1.045, allocations: 7.328 kB / 0.7438 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004443/1.045, allocations: 104.2 kB / 0.7439 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005193/1.046, allocations: 102 kB / 0.744 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/1.046, allocations: 27.8 kB / 0.744 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001385/1.047, allocations: 1.706 MB / 0.7457 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/1.047, allocations: 3.938 kB / 0.7457 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/1.049, allocations: 0.9675 MB / 0.7466 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/1.049, allocations: 91.66 kB / 0.7467 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.669e-05/1.049, allocations: 12 kB / 0.7467 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004269/1.05, allocations: 47.95 kB / 0.7468 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/1.05, allocations: 68.84 kB / 0.7469 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-05/1.05, allocations: 31.98 kB / 0.7469 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002297/1.05, allocations: 279 kB / 0.7472 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.05, allocations: 0 / 0.7472 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007756/1.051, allocations: 236.3 kB / 0.7474 GB, free: 168.9 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.0005755/1.052, allocations: 290.1 kB / 0.7477 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001283/1.053, allocations: 0.591 MB / 0.7482 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.053, allocations: 0 / 0.7482 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006914/1.054, allocations: 389.5 kB / 0.7486 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009662/1.055, allocations: 209.3 kB / 0.7488 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/1.056, allocations: 1.165 MB / 0.7499 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/1.056, allocations: 0.8593 MB / 0.7508 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004323/1.057, allocations: 164.5 kB / 0.7509 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/1.057, allocations: 75.36 kB / 0.751 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of SimCode: time 4.81e-07/1.057, allocations: 0 / 0.751 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.01836/1.075, allocations: 13.7 MB / 0.7644 GB, free: 151.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins/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: 6.643479313002899]