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.001022/0.001022, allocations: 80.98 kB / 20.65 MB, free: 3.84 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.001197/0.001197, allocations: 177 kB / 24.06 MB, free: 452 kB / 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.8732/0.8732, allocations: 158.6 MB / 185.9 MB, free: 2.801 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.121/0.121, allocations: 32.38 MB / 270.7 MB, free: 14.53 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.465e-06/2.465e-06, allocations: 0 / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.317e-05, allocations: 9.406 kB / 348.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3419/0.3419, allocations: 143.3 MB / 491.4 MB, free: 9.852 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004355/0.3462, allocations: 4.034 MB / 495.4 MB, free: 8.949 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004047/0.3467, allocations: 20.09 kB / 495.5 MB, free: 8.938 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004397/0.3471, allocations: 157.9 kB / 495.6 MB, free: 8.828 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001807/0.3489, allocations: 0.8579 MB / 496.5 MB, free: 8.418 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.3502, allocations: 0.6412 MB / 497.1 MB, free: 8.207 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009329/0.3511, allocations: 1.188 MB / 498.3 MB, free: 7.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003282/0.3514, allocations: 307 kB / 498.6 MB, free: 7.738 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000639/0.3521, allocations: 0.609 MB / 499.2 MB, free: 7.398 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000338/0.3524, allocations: 346 kB / 499.5 MB, free: 7.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.096e-05/0.3525, allocations: 44.28 kB / 499.6 MB, free: 7.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008277/0.3533, allocations: 0.5093 MB / 0.4884 GB, free: 7.035 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.3534, allocations: 172.2 kB / 0.4885 GB, free: 6.918 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.3535, allocations: 196 kB / 0.4887 GB, free: 6.828 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008936/0.3544, allocations: 0.8435 MB / 0.4896 GB, free: 6.371 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3544, allocations: 4 kB / 0.4896 GB, free: 6.367 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3544, allocations: 0 / 0.4896 GB, free: 6.367 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3544, allocations: 0 / 0.4896 GB, free: 6.367 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.0009136/0.3554, allocations: 0.9264 MB / 0.4905 GB, free: 5.633 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3554, allocations: 15.3 kB / 0.4905 GB, free: 5.629 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000274/0.3557, allocations: 122.1 kB / 0.4906 GB, free: 5.566 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.356, allocations: 365.7 kB / 0.4909 GB, free: 5.281 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.408e-05/0.3561, allocations: 84.03 kB / 0.491 GB, free: 5.207 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.554e-05/0.3561, allocations: 44.28 kB / 0.4911 GB, free: 5.195 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004115/0.3565, allocations: 0.6619 MB / 0.4917 GB, free: 4.566 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.3566, allocations: 0 / 0.4917 GB, free: 4.566 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.3566, allocations: 17.55 kB / 0.4917 GB, free: 4.555 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/0.3566, allocations: 18.62 kB / 0.4917 GB, free: 4.551 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.3568, allocations: 163.2 kB / 0.4919 GB, free: 4.484 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.001287/0.3581, allocations: 2.243 MB / 0.4941 GB, free: 2.512 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.3583, allocations: 189.4 kB / 0.4943 GB, free: 2.422 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.129e-05/0.3584, allocations: 64.17 kB / 0.4943 GB, free: 2.398 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/0.3584, allocations: 13.67 kB / 0.4943 GB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.3586, allocations: 315.2 kB / 0.4946 GB, free: 2.102 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 1.784e-06/0.3586, allocations: 0 / 0.4946 GB, free: 2.102 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.00345/0.3621, allocations: 1.703 MB / 0.4963 GB, free: 1.168 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.3621, allocations: 108.3 kB / 0.4964 GB, free: 1.043 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.3623, allocations: 400.2 kB / 0.4968 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.3623, allocations: 36.64 kB / 0.4968 GB, free: 0.7578 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.914e-05/0.3624, allocations: 317.6 kB / 0.4971 GB, free: 496 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.667e-05/0.3625, allocations: 172.6 kB / 0.4973 GB, free: 356 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.3626, allocations: 121.7 kB / 0.4974 GB, free: 288 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3627, allocations: 0.5294 MB / 0.4979 GB, free: 15.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.3628, allocations: 92.2 kB / 0.498 GB, free: 15.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.363, allocations: 401.6 kB / 0.4984 GB, free: 15.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/0.3633, allocations: 428.4 kB / 0.4988 GB, free: 14.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.3633, allocations: 3.938 kB / 0.4988 GB, free: 14.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006402/0.364, allocations: 0.5451 MB / 0.4993 GB, free: 14.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.052e-05/0.364, allocations: 48.23 kB / 0.4994 GB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.364, allocations: 7.984 kB / 0.4994 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003075/0.3643, allocations: 111.7 kB / 0.4995 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.3646, allocations: 127.8 kB / 0.4996 GB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003727/0.365, allocations: 0.8483 MB / 0.5005 GB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.3651, allocations: 31.98 kB / 0.5005 GB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/0.3652, allocations: 35.98 kB / 0.5005 GB, free: 13.29 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.0001413/0.3653, allocations: 201.8 kB / 0.5007 GB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.619e-05/0.3654, allocations: 67.7 kB / 0.5008 GB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005677/0.366, allocations: 438.8 kB / 0.5012 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.366, allocations: 4 kB / 0.5012 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.366, allocations: 3.984 kB / 0.5012 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.366, allocations: 0 / 0.5012 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009179/0.3669, allocations: 0.8529 MB / 0.502 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3669, allocations: 4 kB / 0.502 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.3671, allocations: 83.89 kB / 0.5021 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002741/0.3674, allocations: 101.4 kB / 0.5022 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.3674, allocations: 19.75 kB / 0.5022 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009721/0.3683, allocations: 1.91 MB / 0.5041 GB, free: 9.492 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3684, allocations: 4 kB / 0.5041 GB, free: 9.488 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006062/0.369, allocations: 0.6107 MB / 0.5047 GB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.3691, allocations: 79.66 kB / 0.5048 GB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/0.3691, allocations: 12 kB / 0.5048 GB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.3693, allocations: 28.02 kB / 0.5048 GB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-05/0.3694, allocations: 67.77 kB / 0.5049 GB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/0.3694, allocations: 23.98 kB / 0.5049 GB, free: 8.633 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001263/0.3695, allocations: 246.6 kB / 0.5051 GB, free: 8.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3695, allocations: 0 / 0.5051 GB, free: 8.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005703/0.3701, allocations: 235.7 kB / 0.5054 GB, free: 8.18 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.0005685/0.3707, allocations: 328.3 kB / 0.5057 GB, free: 7.875 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004379/0.3711, allocations: 362 kB / 0.506 GB, free: 7.504 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3711, allocations: 1.312 kB / 0.506 GB, free: 7.504 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002662/0.3714, allocations: 344.8 kB / 0.5064 GB, free: 7.152 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005567/0.3719, allocations: 223 kB / 0.5066 GB, free: 6.945 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.3734, allocations: 0.9943 MB / 0.5075 GB, free: 5.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.232e-05/0.3735, allocations: 130.3 kB / 0.5077 GB, free: 5.762 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002765/0.3738, allocations: 104.5 kB / 0.5078 GB, free: 5.656 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003903/0.3741, allocations: 282 kB / 0.508 GB, free: 5.379 MB / 378.7 MB Notification: Performance of SimCode: time 1.323e-06/0.3741, allocations: 0 / 0.508 GB, free: 5.379 MB / 378.7 MB Notification: Performance of Templates: time 0.01594/0.3901, allocations: 14.17 MB / 0.5219 GB, free: 7.305 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.9038884956389666]