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.0008122/0.0008122, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 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.00079/0.00079, allocations: 173.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 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 0.793/0.793, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.1195/0.1195, allocations: 32.37 MB / 270.4 MB, free: 14.98 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 408.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.523e-05, allocations: 5.656 kB / 408.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.2756/0.2756, allocations: 141 MB / 0.5362 GB, free: 10.62 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003711/0.2793, allocations: 3.819 MB / 0.5399 GB, free: 6.797 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000207/0.2795, allocations: 27.81 kB / 0.54 GB, free: 6.77 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004605/0.2799, allocations: 194.6 kB / 0.5402 GB, free: 6.578 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001467/0.2814, allocations: 0.8748 MB / 0.541 GB, free: 5.695 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008205/0.2822, allocations: 0.7016 MB / 0.5417 GB, free: 4.992 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007683/0.283, allocations: 1.177 MB / 0.5428 GB, free: 3.812 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002975/0.2833, allocations: 282.5 kB / 0.5431 GB, free: 3.535 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005933/0.2839, allocations: 0.6232 MB / 0.5437 GB, free: 2.91 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.2842, allocations: 343 kB / 0.544 GB, free: 2.574 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.391e-05/0.2842, allocations: 44 kB / 0.5441 GB, free: 2.531 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005337/0.2848, allocations: 0.5147 MB / 0.5446 GB, free: 2.016 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.2849, allocations: 163.4 kB / 0.5447 GB, free: 1.855 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.285, allocations: 199.5 kB / 0.5449 GB, free: 1.66 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008447/0.2859, allocations: 1.049 MB / 0.546 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2859, allocations: 0 / 0.546 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2859, allocations: 0 / 0.546 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.2859, allocations: 0 / 0.546 GB, free: 0.6094 MB / 442.7 MB 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.001089/0.287, allocations: 0.8339 MB / 0.5468 GB, free: 15.74 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.287, allocations: 8.031 kB / 0.5468 GB, free: 15.73 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002296/0.2872, allocations: 83.59 kB / 0.5469 GB, free: 15.65 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/0.2877, allocations: 344.8 kB / 0.5472 GB, free: 15.29 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.905e-05/0.2877, allocations: 84.41 kB / 0.5473 GB, free: 15.19 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.944e-05/0.2878, allocations: 43.95 kB / 0.5473 GB, free: 15.14 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006446/0.2884, allocations: 0.7715 MB / 0.5481 GB, free: 14.27 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.2884, allocations: 11.94 kB / 0.5481 GB, free: 14.26 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.2885, allocations: 15.94 kB / 0.5481 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.2885, allocations: 16.66 kB / 0.5481 GB, free: 14.23 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004959/0.289, allocations: 398.2 kB / 0.5485 GB, free: 13.84 MB / 458.7 MB 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.001732/0.2907, allocations: 1.941 MB / 0.5504 GB, free: 11.82 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004744/0.2912, allocations: 323.5 kB / 0.5507 GB, free: 11.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.2914, allocations: 155 kB / 0.5508 GB, free: 11.34 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.2914, allocations: 8.219 kB / 0.5509 GB, free: 11.34 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003875/0.2918, allocations: 444.2 kB / 0.5513 GB, free: 10.84 MB / 458.7 MB Notification: Performance of pre-optimization done (n=34): time 1.392e-06/0.2918, allocations: 4 kB / 0.5513 GB, free: 10.83 MB / 458.7 MB 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.005915/0.2977, allocations: 3.008 MB / 0.5542 GB, free: 7.758 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/0.2978, allocations: 170.2 kB / 0.5544 GB, free: 7.555 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.2981, allocations: 373.4 kB / 0.5547 GB, free: 7.18 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.2981, allocations: 45.62 kB / 0.5548 GB, free: 7.129 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.2982, allocations: 264.3 kB / 0.555 GB, free: 6.867 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.703e-05/0.2983, allocations: 166.6 kB / 0.5552 GB, free: 6.703 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.2984, allocations: 126.3 kB / 0.5553 GB, free: 6.574 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.719e-05/0.2985, allocations: 354.7 kB / 0.5556 GB, free: 6.219 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003328/0.2989, allocations: 250.8 kB / 0.5559 GB, free: 5.969 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000466/0.2993, allocations: 0.5251 MB / 0.5564 GB, free: 5.332 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007537/0.3001, allocations: 0.6365 MB / 0.557 GB, free: 4.621 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3001, allocations: 4 kB / 0.557 GB, free: 4.617 MB / 458.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001057/0.3011, allocations: 0.8132 MB / 0.5578 GB, free: 3.781 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.198e-05/0.3012, allocations: 38.3 kB / 0.5579 GB, free: 3.738 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.3012, allocations: 4 kB / 0.5579 GB, free: 3.734 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002579/0.3014, allocations: 116.8 kB / 0.558 GB, free: 3.617 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/0.3017, allocations: 131.8 kB / 0.5581 GB, free: 3.488 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004172/0.3022, allocations: 0.6811 MB / 0.5588 GB, free: 2.781 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.3024, allocations: 56.02 kB / 0.5588 GB, free: 2.727 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/0.3024, allocations: 45.86 kB / 0.5589 GB, free: 2.684 MB / 458.7 MB 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.0001719/0.3026, allocations: 201.5 kB / 0.5591 GB, free: 2.477 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.986e-05/0.3027, allocations: 51.7 kB / 0.5591 GB, free: 2.426 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.3037, allocations: 0.7265 MB / 0.5598 GB, free: 1.684 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3037, allocations: 8 kB / 0.5598 GB, free: 1.676 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3037, allocations: 0 / 0.5598 GB, free: 1.676 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.3037, allocations: 3.984 kB / 0.5598 GB, free: 1.672 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.3051, allocations: 1.128 MB / 0.5609 GB, free: 500 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3051, allocations: 0 / 0.5609 GB, free: 500 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.3053, allocations: 103.9 kB / 0.561 GB, free: 396 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002517/0.3056, allocations: 108.9 kB / 0.5611 GB, free: 284 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.3056, allocations: 16 kB / 0.5611 GB, free: 268 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.3067, allocations: 1.675 MB / 0.5628 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3067, allocations: 4.031 kB / 0.5628 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.3079, allocations: 0.9669 MB / 0.5637 GB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.308, allocations: 95.59 kB / 0.5638 GB, free: 13.38 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.308, allocations: 11.94 kB / 0.5638 GB, free: 13.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.3082, allocations: 47.95 kB / 0.5639 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.3084, allocations: 67.83 kB / 0.5639 GB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.3084, allocations: 32 kB / 0.564 GB, free: 13.23 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001694/0.3086, allocations: 255.1 kB / 0.5642 GB, free: 12.98 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3086, allocations: 0 / 0.5642 GB, free: 12.98 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004759/0.309, allocations: 243.7 kB / 0.5644 GB, free: 12.74 MB / 474.7 MB 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.0005521/0.3096, allocations: 325.7 kB / 0.5648 GB, free: 12.42 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000823/0.3104, allocations: 0.621 MB / 0.5654 GB, free: 11.79 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3104, allocations: 0 / 0.5654 GB, free: 11.79 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004462/0.3109, allocations: 394.9 kB / 0.5657 GB, free: 11.39 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005524/0.3114, allocations: 208 kB / 0.5659 GB, free: 11.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.3126, allocations: 1.069 MB / 0.567 GB, free: 10.08 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001542/0.3128, allocations: 252.9 kB / 0.5672 GB, free: 9.805 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.3129, allocations: 84.48 kB / 0.5673 GB, free: 9.723 MB / 474.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3129, allocations: 4 kB / 0.5673 GB, free: 9.719 MB / 474.7 MB Notification: Performance of Templates: time 0.009993/0.3229, allocations: 11.96 MB / 0.579 GB, free: 13.77 MB / 490.7 MB " [Timeout remaining time 660] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins/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: 6.03475187625736]