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.001538/0.001538, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001181/0.001181, allocations: 166.3 kB / 24.84 MB, free: 9.297 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.9559/0.9559, allocations: 158.6 MB / 186.7 MB, free: 2.762 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.1354/0.1354, allocations: 32.38 MB / 271.5 MB, free: 14.52 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 2.855e-06/2.855e-06, allocations: 4 kB / 348.9 MB, free: 9.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.582e-05/1.867e-05, allocations: 5.406 kB / 348.9 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3211/0.3212, allocations: 143.3 MB / 492.2 MB, free: 9.848 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005032/0.3262, allocations: 4.031 MB / 496.2 MB, free: 8.945 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000463/0.3267, allocations: 26.53 kB / 496.2 MB, free: 8.93 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005284/0.3272, allocations: 157.4 kB / 496.4 MB, free: 8.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001918/0.3291, allocations: 0.8515 MB / 497.3 MB, free: 8.414 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.3306, allocations: 0.6445 MB / 497.9 MB, free: 8.199 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00163/0.3322, allocations: 1.187 MB / 499.1 MB, free: 7.836 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007171/0.3329, allocations: 301.8 kB / 499.4 MB, free: 7.746 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009881/0.3339, allocations: 0.6063 MB / 500 MB, free: 7.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003818/0.3343, allocations: 346.5 kB / 0.4886 GB, free: 7.262 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.971e-05/0.3344, allocations: 44.28 kB / 0.4886 GB, free: 7.262 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.3356, allocations: 0.5175 MB / 0.4891 GB, free: 7.039 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.3357, allocations: 169.4 kB / 0.4893 GB, free: 6.926 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.3359, allocations: 191.5 kB / 0.4895 GB, free: 6.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001292/0.3372, allocations: 0.843 MB / 0.4903 GB, free: 6.383 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.3372, allocations: 0 / 0.4903 GB, free: 6.383 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3372, allocations: 0 / 0.4903 GB, free: 6.383 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.3372, allocations: 0 / 0.4903 GB, free: 6.383 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.001155/0.3384, allocations: 0.9356 MB / 0.4912 GB, free: 5.641 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.3384, allocations: 8.406 kB / 0.4912 GB, free: 5.641 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00035/0.3388, allocations: 125 kB / 0.4914 GB, free: 5.578 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.3392, allocations: 366.3 kB / 0.4917 GB, free: 5.293 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.793e-05/0.3393, allocations: 84.22 kB / 0.4918 GB, free: 5.219 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-05/0.3394, allocations: 44.11 kB / 0.4918 GB, free: 5.203 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005327/0.3399, allocations: 0.6598 MB / 0.4925 GB, free: 4.578 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.3399, allocations: 6.266 kB / 0.4925 GB, free: 4.574 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.3399, allocations: 15.22 kB / 0.4925 GB, free: 4.562 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.38e-05/0.34, allocations: 21.06 kB / 0.4925 GB, free: 4.559 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.3402, allocations: 156.7 kB / 0.4927 GB, free: 4.496 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.001573/0.3417, allocations: 2.255 MB / 0.4949 GB, free: 2.512 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.342, allocations: 183.1 kB / 0.495 GB, free: 2.434 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.215e-05/0.3421, allocations: 69.7 kB / 0.4951 GB, free: 2.402 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.3421, allocations: 5.719 kB / 0.4951 GB, free: 2.402 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002522/0.3424, allocations: 308.3 kB / 0.4954 GB, free: 2.117 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 2.785e-06/0.3424, allocations: 0 / 0.4954 GB, free: 2.117 MB / 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.004044/0.3464, allocations: 1.666 MB / 0.497 GB, free: 1.199 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.3465, allocations: 112.5 kB / 0.4971 GB, free: 1.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.3467, allocations: 403.8 kB / 0.4975 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.3468, allocations: 32.61 kB / 0.4975 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.3469, allocations: 318.3 kB / 0.4979 GB, free: 0.5117 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.525e-05/0.347, allocations: 166.1 kB / 0.498 GB, free: 388 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.3471, allocations: 125.5 kB / 0.4981 GB, free: 320 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.3473, allocations: 0.5359 MB / 0.4987 GB, free: 15.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.3474, allocations: 96.86 kB / 0.4987 GB, free: 15.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.3477, allocations: 393.2 kB / 0.4991 GB, free: 15.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.348, allocations: 431.8 kB / 0.4995 GB, free: 14.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.348, allocations: 2.719 kB / 0.4995 GB, free: 14.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006921/0.3487, allocations: 0.5318 MB / 0.5001 GB, free: 14.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.3488, allocations: 36.36 kB / 0.5001 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.3488, allocations: 8 kB / 0.5001 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002296/0.349, allocations: 78.42 kB / 0.5002 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002918/0.3493, allocations: 123.8 kB / 0.5003 GB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004595/0.3498, allocations: 0.8562 MB / 0.5011 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.35, allocations: 34.61 kB / 0.5012 GB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.66e-05/0.3501, allocations: 43.92 kB / 0.5012 GB, free: 13.36 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.inFlow[1],sweptVolume.regularFlow[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.0001944/0.3503, allocations: 192.4 kB / 0.5014 GB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.53e-05/0.3503, allocations: 63.67 kB / 0.5014 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006673/0.351, allocations: 448.5 kB / 0.5019 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.351, allocations: 4 kB / 0.5019 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.351, allocations: 0.875 kB / 0.5019 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.351, allocations: 0 / 0.5019 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.3522, allocations: 0.8488 MB / 0.5027 GB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.3522, allocations: 8.031 kB / 0.5027 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.3525, allocations: 87.88 kB / 0.5028 GB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000354/0.3528, allocations: 98.95 kB / 0.5029 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.3528, allocations: 15.98 kB / 0.5029 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.3541, allocations: 1.918 MB / 0.5048 GB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3541, allocations: 4 kB / 0.5048 GB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007653/0.3549, allocations: 0.6138 MB / 0.5054 GB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.3551, allocations: 75.67 kB / 0.5055 GB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.181e-05/0.3551, allocations: 8 kB / 0.5055 GB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.3553, allocations: 31.97 kB / 0.5055 GB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.3554, allocations: 59.84 kB / 0.5056 GB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/0.3555, allocations: 19.98 kB / 0.5056 GB, free: 8.711 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001614/0.3556, allocations: 253.5 kB / 0.5058 GB, free: 8.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3556, allocations: 0 / 0.5058 GB, free: 8.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007215/0.3563, allocations: 239.6 kB / 0.506 GB, free: 8.246 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.0006956/0.357, allocations: 317.3 kB / 0.5063 GB, free: 7.953 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005446/0.3576, allocations: 376.3 kB / 0.5067 GB, free: 7.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3576, allocations: 0 / 0.5067 GB, free: 7.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002878/0.3579, allocations: 336.6 kB / 0.507 GB, free: 7.227 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006048/0.3585, allocations: 228.5 kB / 0.5072 GB, free: 7.016 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.3601, allocations: 0.988 MB / 0.5082 GB, free: 5.988 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.3602, allocations: 130.3 kB / 0.5083 GB, free: 5.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003157/0.3605, allocations: 116.4 kB / 0.5084 GB, free: 5.723 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004368/0.3609, allocations: 278 kB / 0.5087 GB, free: 5.449 MB / 378.7 MB Notification: Performance of SimCode: time 8.01e-07/0.3609, allocations: 0 / 0.5087 GB, free: 5.449 MB / 378.7 MB Notification: Performance of Templates: time 0.01753/0.3785, allocations: 14.34 MB / 0.5227 GB, free: 7.215 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: 3.89969101594761]