Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001335/0.001335, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001043/0.001043, allocations: 170.3 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9335/0.9335, allocations: 177.1 MB / 205.3 MB, free: 5.102 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.267/0.267, allocations: 34.26 MB / 296.1 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 325.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.323e-05/1.483e-05, allocations: 4.062 kB / 325.3 MB, free: 7.707 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3001/0.3001, allocations: 147.1 MB / 472.4 MB, free: 16.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002193/0.3023, allocations: 1.668 MB / 474 MB, free: 16.24 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000222/0.3025, allocations: 17.53 kB / 474.1 MB, free: 16.24 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004027/0.3029, allocations: 159.4 kB / 474.2 MB, free: 16.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001556/0.3045, allocations: 0.8105 MB / 475 MB, free: 16.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009313/0.3054, allocations: 0.6384 MB / 475.7 MB, free: 16.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009719/0.3064, allocations: 1.181 MB / 476.8 MB, free: 16.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003433/0.3068, allocations: 310.7 kB / 477.1 MB, free: 16.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007363/0.3075, allocations: 0.6111 MB / 477.8 MB, free: 16.13 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003668/0.3079, allocations: 332 kB / 478.1 MB, free: 16.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.341e-05/0.3079, allocations: 43.59 kB / 478.1 MB, free: 16.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006171/0.3085, allocations: 489.5 kB / 478.6 MB, free: 16.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.3087, allocations: 169 kB / 478.8 MB, free: 16.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.3088, allocations: 192.3 kB / 479 MB, free: 16.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007823/0.3096, allocations: 0.8328 MB / 479.8 MB, free: 16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.3096, allocations: 0 / 479.8 MB, free: 16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3096, allocations: 4 kB / 479.8 MB, free: 15.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.3096, allocations: 2.812 kB / 479.8 MB, free: 15.99 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.0008691/0.3105, allocations: 0.79 MB / 480.6 MB, free: 15.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/0.3105, allocations: 9.188 kB / 480.6 MB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002531/0.3108, allocations: 115 kB / 480.7 MB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.3111, allocations: 329.4 kB / 481 MB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.968e-05/0.3111, allocations: 80.5 kB / 481.1 MB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.882e-05/0.3112, allocations: 52.62 kB / 481.2 MB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003786/0.3116, allocations: 0.6024 MB / 481.8 MB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.3116, allocations: 8.391 kB / 481.8 MB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/0.3116, allocations: 15.28 kB / 481.8 MB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.592e-05/0.3116, allocations: 15.97 kB / 481.8 MB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.3118, allocations: 146.9 kB / 481.9 MB, free: 14.79 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.001195/0.313, allocations: 1.574 MB / 483.5 MB, free: 13.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/0.3133, allocations: 165.6 kB / 483.7 MB, free: 13.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.972e-05/0.3133, allocations: 62.97 kB / 483.7 MB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.3134, allocations: 5.719 kB / 483.7 MB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/0.3136, allocations: 306.2 kB / 484 MB, free: 13.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.533e-06/0.3136, allocations: 0 / 484 MB, free: 13.46 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.003465/0.317, allocations: 1.795 MB / 485.8 MB, free: 13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.3171, allocations: 108.4 kB / 485.9 MB, free: 12.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.3172, allocations: 350.4 kB / 486.3 MB, free: 12.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.3173, allocations: 39.23 kB / 486.3 MB, free: 12.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.3173, allocations: 222.4 kB / 486.5 MB, free: 12.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.484e-05/0.3174, allocations: 165.5 kB / 486.7 MB, free: 12.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.882e-05/0.3175, allocations: 114.8 kB / 486.8 MB, free: 12.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.868e-05/0.3175, allocations: 358.9 kB / 487.2 MB, free: 12.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.967e-05/0.3176, allocations: 80.78 kB / 487.2 MB, free: 12.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.3178, allocations: 323.8 kB / 487.6 MB, free: 11.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.318, allocations: 370.6 kB / 487.9 MB, free: 11.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.318, allocations: 2.406 kB / 487.9 MB, free: 11.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004276/0.3184, allocations: 439.3 kB / 488.4 MB, free: 11.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.3185, allocations: 36.98 kB / 488.4 MB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3185, allocations: 3.188 kB / 488.4 MB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002285/0.3187, allocations: 84.34 kB / 488.5 MB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.3189, allocations: 125 kB / 488.6 MB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001983/0.3191, allocations: 0.5625 MB / 489.2 MB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.3193, allocations: 37.3 kB / 489.2 MB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.3193, allocations: 37.31 kB / 489.2 MB, free: 10.86 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.0001084/0.3194, allocations: 155.4 kB / 489.4 MB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/0.3195, allocations: 43.11 kB / 489.4 MB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004529/0.3199, allocations: 381.7 kB / 489.8 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3199, allocations: 7.031 kB / 489.8 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.3199, allocations: 0 / 489.8 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3199, allocations: 6.719 kB / 489.8 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007054/0.3206, allocations: 0.6296 MB / 490.4 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3206, allocations: 2 kB / 490.4 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.3208, allocations: 79.72 kB / 490.5 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002462/0.3211, allocations: 95.55 kB / 490.6 MB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.3211, allocations: 14.05 kB / 490.6 MB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006206/0.3217, allocations: 1.356 MB / 492 MB, free: 9.203 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3217, allocations: 8.812 kB / 492 MB, free: 9.203 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004523/0.3222, allocations: 484 kB / 492.5 MB, free: 8.996 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.869e-05/0.3223, allocations: 53.09 kB / 492.5 MB, free: 8.969 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.3223, allocations: 14.22 kB / 492.5 MB, free: 8.969 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.3225, allocations: 29.94 kB / 492.6 MB, free: 8.969 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.3226, allocations: 55.25 kB / 492.6 MB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/0.3226, allocations: 21.08 kB / 492.6 MB, free: 8.965 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001024/0.3227, allocations: 136.1 kB / 492.8 MB, free: 8.949 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3227, allocations: 0 / 492.8 MB, free: 8.949 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004587/0.3232, allocations: 232.7 kB / 493 MB, free: 8.93 MB / 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.0004229/0.3236, allocations: 284.6 kB / 493.3 MB, free: 8.832 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003733/0.324, allocations: 345.1 kB / 493.6 MB, free: 8.715 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/0.324, allocations: 9.438 kB / 493.6 MB, free: 8.711 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.3242, allocations: 261 kB / 493.9 MB, free: 8.586 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.3247, allocations: 215.7 kB / 494.1 MB, free: 8.562 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.326, allocations: 0.9598 MB / 495 MB, free: 8.055 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.049e-05/0.326, allocations: 133.3 kB / 495.2 MB, free: 7.977 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002753/0.3263, allocations: 111.5 kB / 495.3 MB, free: 7.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003764/0.3267, allocations: 227.9 kB / 495.5 MB, free: 7.879 MB / 410.7 MB Notification: Performance of SimCode: time 8.42e-07/0.3267, allocations: 0 / 495.5 MB, free: 7.879 MB / 410.7 MB Notification: Performance of Templates: time 0.0135/0.3402, allocations: 13.61 MB / 0.4972 GB, free: 1.844 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.5981877269223332]