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.001286/0.001286, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00183/0.003117, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001134/0.001134, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001459/0.002593, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8412/0.8412, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1327/0.9738, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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.144/0.144, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01856/0.1625, allocations: 12.31 MB / 266.1 MB, free: 3.875 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.573e-06/1.573e-06, allocations: 3.938 kB / 267.4 MB, free: 2.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.127e-05/1.285e-05, allocations: 10.19 kB / 267.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.2586/0.2586, allocations: 145.8 MB / 413.2 MB, free: 5.867 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004694/0.2633, allocations: 4.12 MB / 417.3 MB, free: 1.77 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003094/0.2636, allocations: 19.81 kB / 417.4 MB, free: 1.75 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004311/0.264, allocations: 170.8 kB / 417.5 MB, free: 1.582 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001858/0.2659, allocations: 0.8205 MB / 418.3 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.267, allocations: 0.6233 MB / 419 MB, free: 136 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001387/0.2684, allocations: 1.197 MB / 420.2 MB, free: 14.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005119/0.2689, allocations: 298.3 kB / 420.5 MB, free: 14.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009422/0.2699, allocations: 0.6525 MB / 421.1 MB, free: 13.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004975/0.2704, allocations: 323 kB / 421.4 MB, free: 13.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.491e-05/0.2704, allocations: 44 kB / 421.5 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.2715, allocations: 0.5381 MB / 422 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.2716, allocations: 135.5 kB / 422.1 MB, free: 12.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.2718, allocations: 155.7 kB / 422.3 MB, free: 12.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008824/0.2726, allocations: 0.7284 MB / 423 MB, free: 12.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/0.2726, allocations: 0 / 423 MB, free: 12.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2726, allocations: 0 / 423 MB, free: 12.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.2727, allocations: 3.938 kB / 423 MB, free: 12.07 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.001131/0.2738, allocations: 0.9377 MB / 424 MB, free: 11.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.2738, allocations: 8.031 kB / 424 MB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003438/0.2742, allocations: 185.7 kB / 424.2 MB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005353/0.2747, allocations: 320.2 kB / 424.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.055e-05/0.2748, allocations: 88.94 kB / 424.6 MB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.491e-05/0.2748, allocations: 36.38 kB / 424.6 MB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004644/0.2753, allocations: 0.642 MB / 425.2 MB, free: 9.668 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.2753, allocations: 0 / 425.2 MB, free: 9.668 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/0.2753, allocations: 20 kB / 425.2 MB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.921e-05/0.2754, allocations: 16.64 kB / 425.3 MB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.2755, allocations: 143.2 kB / 425.4 MB, free: 9.492 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.001327/0.2769, allocations: 1.59 MB / 427 MB, free: 7.836 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.2771, allocations: 165.8 kB / 427.2 MB, free: 7.664 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.375e-05/0.2771, allocations: 61.39 kB / 427.2 MB, free: 7.602 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.2772, allocations: 8.281 kB / 427.2 MB, free: 7.594 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.2774, allocations: 299 kB / 427.5 MB, free: 7.254 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.303e-06/0.2774, allocations: 0 / 427.5 MB, free: 7.254 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.003718/0.2811, allocations: 1.841 MB / 429.4 MB, free: 5.348 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.2811, allocations: 55.41 kB / 429.4 MB, free: 5.281 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.2813, allocations: 352.7 kB / 429.8 MB, free: 4.922 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.2814, allocations: 37.7 kB / 429.8 MB, free: 4.879 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.224e-05/0.2815, allocations: 229 kB / 430 MB, free: 4.648 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.998e-05/0.2815, allocations: 166.6 kB / 430.2 MB, free: 4.484 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.2816, allocations: 110.2 kB / 430.3 MB, free: 4.371 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.224e-05/0.2817, allocations: 358.7 kB / 430.6 MB, free: 4.012 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-05/0.2818, allocations: 86.97 kB / 430.7 MB, free: 3.922 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.282, allocations: 315.5 kB / 431 MB, free: 3.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004446/0.2825, allocations: 386.7 kB / 431.4 MB, free: 3.066 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.2825, allocations: 3.938 kB / 431.4 MB, free: 3.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004675/0.283, allocations: 434.1 kB / 431.8 MB, free: 2.613 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.92e-05/0.283, allocations: 37.64 kB / 431.9 MB, free: 2.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.283, allocations: 8 kB / 431.9 MB, free: 2.562 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002222/0.2832, allocations: 85.42 kB / 432 MB, free: 2.477 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.2835, allocations: 143.8 kB / 432.1 MB, free: 2.336 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002643/0.2838, allocations: 0.5672 MB / 432.7 MB, free: 1.742 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.2839, allocations: 27.98 kB / 432.7 MB, free: 1.715 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/0.284, allocations: 35.98 kB / 432.7 MB, free: 1.68 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.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.0001245/0.2841, allocations: 159.7 kB / 432.9 MB, free: 1.516 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/0.2841, allocations: 43.95 kB / 432.9 MB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004636/0.2846, allocations: 352.8 kB / 433.3 MB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2846, allocations: 12 kB / 433.3 MB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.2846, allocations: 0 / 433.3 MB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2846, allocations: 0 / 433.3 MB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007425/0.2854, allocations: 0.6321 MB / 433.9 MB, free: 444 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.2854, allocations: 7.984 kB / 433.9 MB, free: 436 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.2856, allocations: 102.4 kB / 434 MB, free: 336 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.622e-05/0.2857, allocations: 47.7 kB / 434.1 MB, free: 288 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002635/0.2859, allocations: 88.75 kB / 434.2 MB, free: 196 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.286, allocations: 19.98 kB / 434.2 MB, free: 176 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007883/0.2868, allocations: 1.366 MB / 435.5 MB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2868, allocations: 0 / 435.5 MB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004613/0.2872, allocations: 481.1 kB / 436 MB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.121e-05/0.2873, allocations: 19.94 kB / 436 MB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.2874, allocations: 23.98 kB / 436.1 MB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.205e-05/0.2875, allocations: 63.77 kB / 436.1 MB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.2875, allocations: 16 kB / 436.1 MB, free: 14.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.996e-05/0.2876, allocations: 132.7 kB / 436.3 MB, free: 13.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2876, allocations: 4 kB / 436.3 MB, free: 13.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005047/0.2881, allocations: 243.7 kB / 436.5 MB, free: 13.71 MB / 426.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.00062/0.2888, allocations: 343.1 kB / 436.8 MB, free: 13.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003687/0.2891, allocations: 350.5 kB / 437.2 MB, free: 13.03 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.652e-05/0.2891, allocations: 11.94 kB / 437.2 MB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002534/0.2894, allocations: 281.5 kB / 437.5 MB, free: 12.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009467/0.2903, allocations: 1.329 MB / 438.8 MB, free: 11.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004765/0.2951, allocations: 0.9421 MB / 439.7 MB, free: 10.17 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.608e-05/0.2952, allocations: 126.3 kB / 439.9 MB, free: 10.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002436/0.2954, allocations: 100.6 kB / 440 MB, free: 9.926 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003512/0.2958, allocations: 229.2 kB / 440.2 MB, free: 9.699 MB / 426.7 MB Notification: Performance of SimCode: time 9.62e-07/0.2958, allocations: 0 / 440.2 MB, free: 9.699 MB / 426.7 MB Notification: Performance of Templates: time 0.1765/0.4722, allocations: 13.99 MB / 454.2 MB, free: 30.75 MB / 426.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4724634746089578]