Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001133/0.001133, allocations: 91.5 kB / 21.19 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001256/0.001256, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9346/0.9346, allocations: 177 MB / 204.8 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2427/0.2427, allocations: 34.86 MB / 296.3 MB, free: 472 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.03e-05, allocations: 7.797 kB / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.2887/0.2888, allocations: 147.8 MB / 0.5142 GB, free: 15.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.291, allocations: 1.634 MB / 0.5158 GB, free: 14.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002473/0.2912, allocations: 20.31 kB / 0.5158 GB, free: 14.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004696/0.2917, allocations: 165.8 kB / 0.516 GB, free: 14.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001548/0.2933, allocations: 0.7979 MB / 0.5167 GB, free: 13.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.2945, allocations: 0.6327 MB / 0.5174 GB, free: 13.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00104/0.2955, allocations: 1.193 MB / 0.5185 GB, free: 13.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004052/0.2959, allocations: 299.8 kB / 0.5188 GB, free: 12.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000725/0.2966, allocations: 0.6166 MB / 0.5194 GB, free: 12.6 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004446/0.2971, allocations: 346.3 kB / 0.5197 GB, free: 12.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.399e-05/0.2971, allocations: 43.41 kB / 0.5198 GB, free: 12.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007654/0.2979, allocations: 490.8 kB / 0.5202 GB, free: 12.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.298, allocations: 170.5 kB / 0.5204 GB, free: 12.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.2982, allocations: 189.5 kB / 0.5206 GB, free: 12.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.2992, allocations: 0.8326 MB / 0.5214 GB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2992, allocations: 2.25 kB / 0.5214 GB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.2992, allocations: 0 / 0.5214 GB, free: 11.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.2992, allocations: 0 / 0.5214 GB, free: 11.88 MB / 410.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.3004, allocations: 0.9256 MB / 0.5223 GB, free: 11.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.3004, allocations: 8.375 kB / 0.5223 GB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003167/0.3007, allocations: 125.8 kB / 0.5224 GB, free: 11.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.3011, allocations: 365.8 kB / 0.5228 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.54e-05/0.3012, allocations: 85.25 kB / 0.5229 GB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.732e-05/0.3013, allocations: 54.52 kB / 0.5229 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005251/0.3018, allocations: 0.6539 MB / 0.5236 GB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.3018, allocations: 0 / 0.5236 GB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.3018, allocations: 21.72 kB / 0.5236 GB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.371e-05/0.3019, allocations: 17.73 kB / 0.5236 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/0.3022, allocations: 193.4 kB / 0.5238 GB, free: 10.2 MB / 410.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.001601/0.3038, allocations: 2.313 MB / 0.526 GB, free: 8.277 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.3041, allocations: 201.3 kB / 0.5262 GB, free: 8.199 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.3042, allocations: 81.73 kB / 0.5263 GB, free: 8.172 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.3042, allocations: 6.094 kB / 0.5263 GB, free: 8.172 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002743/0.3045, allocations: 322.4 kB / 0.5266 GB, free: 7.906 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.723e-06/0.3045, allocations: 3.938 kB / 0.5266 GB, free: 7.902 MB / 410.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.003941/0.3084, allocations: 1.882 MB / 0.5285 GB, free: 7.105 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.3085, allocations: 112.7 kB / 0.5286 GB, free: 6.977 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.3087, allocations: 402 kB / 0.529 GB, free: 6.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.3088, allocations: 39.17 kB / 0.529 GB, free: 6.691 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.3089, allocations: 303.8 kB / 0.5293 GB, free: 6.434 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.076e-05/0.309, allocations: 169.2 kB / 0.5294 GB, free: 6.301 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.3091, allocations: 124.7 kB / 0.5296 GB, free: 6.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.534e-05/0.3092, allocations: 0.5229 MB / 0.5301 GB, free: 5.719 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.3093, allocations: 111.9 kB / 0.5302 GB, free: 5.676 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.3095, allocations: 416.4 kB / 0.5306 GB, free: 5.258 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/0.3099, allocations: 451.5 kB / 0.531 GB, free: 4.879 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3099, allocations: 2.906 kB / 0.531 GB, free: 4.879 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007067/0.3106, allocations: 0.5755 MB / 0.5316 GB, free: 4.609 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.3106, allocations: 41.47 kB / 0.5316 GB, free: 4.574 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3107, allocations: 5.625 kB / 0.5316 GB, free: 4.574 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002352/0.3109, allocations: 82.22 kB / 0.5317 GB, free: 4.551 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.3112, allocations: 123.2 kB / 0.5318 GB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002852/0.3114, allocations: 0.861 MB / 0.5327 GB, free: 3.719 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.3116, allocations: 40 kB / 0.5327 GB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.7e-05/0.3117, allocations: 36.73 kB / 0.5327 GB, free: 3.703 MB / 410.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.0001202/0.3118, allocations: 196.3 kB / 0.5329 GB, free: 3.512 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.985e-05/0.3119, allocations: 62.22 kB / 0.533 GB, free: 3.484 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00063/0.3125, allocations: 480.8 kB / 0.5334 GB, free: 3.285 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3125, allocations: 5.906 kB / 0.5334 GB, free: 3.285 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3125, allocations: 6.578 kB / 0.5334 GB, free: 3.281 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3125, allocations: 0 / 0.5334 GB, free: 3.281 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009322/0.3134, allocations: 0.9334 MB / 0.5344 GB, free: 2.707 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3134, allocations: 0 / 0.5344 GB, free: 2.707 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.3136, allocations: 92.33 kB / 0.5344 GB, free: 2.695 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002929/0.3139, allocations: 93.08 kB / 0.5345 GB, free: 2.676 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.314, allocations: 16.28 kB / 0.5345 GB, free: 2.668 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007744/0.3147, allocations: 1.957 MB / 0.5365 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.3147, allocations: 2.938 kB / 0.5365 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006214/0.3154, allocations: 0.6526 MB / 0.5371 GB, free: 436 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-05/0.3155, allocations: 76.55 kB / 0.5372 GB, free: 396 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/0.3155, allocations: 17.66 kB / 0.5372 GB, free: 384 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.3157, allocations: 29.42 kB / 0.5372 GB, free: 376 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.928e-05/0.3158, allocations: 56.12 kB / 0.5373 GB, free: 364 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.3158, allocations: 28.69 kB / 0.5373 GB, free: 360 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001313/0.3159, allocations: 261.9 kB / 0.5375 GB, free: 200 kB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3159, allocations: 0 / 0.5375 GB, free: 200 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004757/0.3164, allocations: 236.4 kB / 0.5378 GB, free: 160 kB / 410.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.0004433/0.3168, allocations: 293.1 kB / 0.5381 GB, free: 12 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005284/0.3174, allocations: 413.1 kB / 0.5384 GB, free: 15.83 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3174, allocations: 0 / 0.5384 GB, free: 15.83 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003097/0.3177, allocations: 348 kB / 0.5388 GB, free: 15.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005534/0.3182, allocations: 218.3 kB / 0.539 GB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.3197, allocations: 0.9992 MB / 0.54 GB, free: 14.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.359e-05/0.3198, allocations: 135.6 kB / 0.5401 GB, free: 14.83 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002819/0.32, allocations: 133.6 kB / 0.5402 GB, free: 14.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.3202, allocations: 60.73 kB / 0.5403 GB, free: 14.77 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/0.3202, allocations: 0 / 0.5403 GB, free: 14.77 MB / 426.7 MB Notification: Performance of Templates: time 0.01443/0.3346, allocations: 13.73 MB / 0.5537 GB, free: 4.988 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",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.7177376709878445]