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.001034/0.001034, allocations: 91.22 kB / 20.43 MB, free: 4.141 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.001885/0.001885, allocations: 165 kB / 23.8 MB, free: 0.7734 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 1.004/1.004, allocations: 158.6 MB / 185.7 MB, free: 2.895 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.164/0.164, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.443e-06/1.443e-06, allocations: 0 / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/1.996e-05, allocations: 4.281 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3257/0.3258, allocations: 146 MB / 493.7 MB, free: 9.34 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004692/0.3304, allocations: 4.072 MB / 497.8 MB, free: 8.145 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003584/0.3308, allocations: 20.72 kB / 497.8 MB, free: 8.133 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005671/0.3314, allocations: 169.4 kB / 498 MB, free: 8.012 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001811/0.3332, allocations: 0.8488 MB / 498.8 MB, free: 7.492 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.3342, allocations: 0.6462 MB / 499.5 MB, free: 7.199 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009502/0.3351, allocations: 1.188 MB / 0.4889 GB, free: 6.613 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003522/0.3355, allocations: 301.5 kB / 0.4892 GB, free: 6.391 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006287/0.3361, allocations: 0.6107 MB / 0.4898 GB, free: 6.02 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003263/0.3365, allocations: 344.6 kB / 0.4901 GB, free: 5.836 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.933e-05/0.3365, allocations: 45.53 kB / 0.4902 GB, free: 5.836 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006065/0.3371, allocations: 0.5169 MB / 0.4907 GB, free: 5.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.3372, allocations: 174.4 kB / 0.4908 GB, free: 5.461 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.3374, allocations: 190.1 kB / 0.491 GB, free: 5.367 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008136/0.3382, allocations: 0.8397 MB / 0.4918 GB, free: 4.855 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3382, allocations: 2.906 kB / 0.4918 GB, free: 4.855 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3382, allocations: 0 / 0.4918 GB, free: 4.855 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.3382, allocations: 0 / 0.4918 GB, free: 4.855 MB / 362.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.00104/0.3392, allocations: 0.9259 MB / 0.4928 GB, free: 4.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3393, allocations: 9 kB / 0.4928 GB, free: 4.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00035/0.3396, allocations: 124.7 kB / 0.4929 GB, free: 4.027 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003887/0.34, allocations: 372.2 kB / 0.4932 GB, free: 3.734 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.389e-05/0.3401, allocations: 89.75 kB / 0.4933 GB, free: 3.656 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-05/0.3401, allocations: 37.91 kB / 0.4934 GB, free: 3.645 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005192/0.3407, allocations: 0.6878 MB / 0.494 GB, free: 2.988 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.3407, allocations: 2.906 kB / 0.494 GB, free: 2.988 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.88e-05/0.3407, allocations: 15.41 kB / 0.494 GB, free: 2.977 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.129e-05/0.3408, allocations: 18.67 kB / 0.4941 GB, free: 2.973 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002558/0.341, allocations: 197.5 kB / 0.4943 GB, free: 2.891 MB / 362.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.001427/0.3424, allocations: 2.308 MB / 0.4965 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.3427, allocations: 204.1 kB / 0.4967 GB, free: 0.7148 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.3428, allocations: 73.69 kB / 0.4968 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.3429, allocations: 9.094 kB / 0.4968 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002248/0.3431, allocations: 325.1 kB / 0.4971 GB, free: 384 kB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 1.432e-06/0.3431, allocations: 0 / 0.4971 GB, free: 384 kB / 362.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.003913/0.347, allocations: 1.876 MB / 0.4989 GB, free: 15.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.3471, allocations: 112.2 kB / 0.499 GB, free: 15.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.3473, allocations: 403.3 kB / 0.4994 GB, free: 14.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.3473, allocations: 32.52 kB / 0.4994 GB, free: 14.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.3475, allocations: 308.9 kB / 0.4997 GB, free: 14.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.789e-05/0.3476, allocations: 162.3 kB / 0.4999 GB, free: 14.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.3477, allocations: 131.7 kB / 0.5 GB, free: 14.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3479, allocations: 0.5307 MB / 0.5005 GB, free: 13.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.348, allocations: 108.5 kB / 0.5006 GB, free: 13.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002736/0.3483, allocations: 413 kB / 0.501 GB, free: 13.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004208/0.3487, allocations: 460.5 kB / 0.5015 GB, free: 12.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3487, allocations: 0 / 0.5015 GB, free: 12.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006828/0.3494, allocations: 0.5827 MB / 0.502 GB, free: 12.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.3494, allocations: 33.83 kB / 0.5021 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3494, allocations: 5.719 kB / 0.5021 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002243/0.3496, allocations: 77.12 kB / 0.5022 GB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.3499, allocations: 127.8 kB / 0.5023 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003859/0.3503, allocations: 0.8507 MB / 0.5031 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.3505, allocations: 40.05 kB / 0.5031 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.153e-05/0.3505, allocations: 39.98 kB / 0.5032 GB, free: 11.43 MB / 378.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.0001512/0.3507, allocations: 198.7 kB / 0.5034 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.564e-05/0.3507, allocations: 63.67 kB / 0.5034 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006604/0.3514, allocations: 477.4 kB / 0.5039 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.3514, allocations: 11.98 kB / 0.5039 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3514, allocations: 0 / 0.5039 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3514, allocations: 3.938 kB / 0.5039 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.3524, allocations: 0.9359 MB / 0.5048 GB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3524, allocations: 0 / 0.5048 GB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.3526, allocations: 92.03 kB / 0.5049 GB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003/0.3529, allocations: 95.55 kB / 0.505 GB, free: 9.477 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/0.353, allocations: 23.98 kB / 0.505 GB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/0.3541, allocations: 1.943 MB / 0.5069 GB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3541, allocations: 4.172 kB / 0.5069 GB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000726/0.3548, allocations: 0.6501 MB / 0.5076 GB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.355, allocations: 83.61 kB / 0.5076 GB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/0.355, allocations: 12 kB / 0.5076 GB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.3552, allocations: 27.92 kB / 0.5077 GB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.3553, allocations: 59.89 kB / 0.5077 GB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.16e-05/0.3553, allocations: 24 kB / 0.5078 GB, free: 6.484 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000158/0.3555, allocations: 271 kB / 0.508 GB, free: 6.223 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3555, allocations: 0 / 0.508 GB, free: 6.223 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005007/0.356, allocations: 239.7 kB / 0.5082 GB, free: 5.988 MB / 378.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 (40): * Single equations (assignments): 37 * 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.0005952/0.3566, allocations: 325.2 kB / 0.5086 GB, free: 5.676 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005279/0.3571, allocations: 401.3 kB / 0.5089 GB, free: 5.262 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3571, allocations: 320 / 0.5089 GB, free: 5.262 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000322/0.3574, allocations: 350.2 kB / 0.5093 GB, free: 4.898 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005901/0.358, allocations: 225.2 kB / 0.5095 GB, free: 4.691 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.3596, allocations: 1.001 MB / 0.5105 GB, free: 3.637 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.961e-05/0.3597, allocations: 130.3 kB / 0.5106 GB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002812/0.36, allocations: 128.5 kB / 0.5107 GB, free: 3.359 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.3601, allocations: 68.48 kB / 0.5108 GB, free: 3.293 MB / 378.7 MB Notification: Performance of SimCode: time 7.22e-07/0.3601, allocations: 0 / 0.5108 GB, free: 3.293 MB / 378.7 MB Notification: Performance of Templates: time 0.01622/0.3763, allocations: 14.04 MB / 0.5245 GB, free: 5.332 MB / 394.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.122261225711554]