Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.VolumeFlowSource.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.001494/0.001494, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.9969/0.9969, allocations: 177.2 MB / 200.3 MB, free: 5.359 MB / 186.7 MB " [Timeout remaining time 179] 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.001276/0.001276, allocations: 163.1 kB / 256.9 MB, free: 12.8 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2848/0.2848, allocations: 80.24 MB / 393.7 MB, free: 1.992 MB / 314.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo): time 0.02098/0.02098, allocations: 4.8 MB / 481.8 MB, free: 3.945 MB / 394.7 MB " [Timeout remaining time 180] Using package OpenHPL with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo) Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenHPL.Examples.VolumeFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.VolumeFlowSource") translateModel(OpenHPL.Examples.VolumeFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.VolumeFlowSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 0.5679 GB, free: 112 kB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.607e-05, allocations: 6.312 kB / 0.5679 GB, free: 104 kB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.VolumeFlowSource): time 0.005667/0.005693, allocations: 4.164 MB / 0.5719 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003599/0.009292, allocations: 2.713 MB / 0.5746 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003472/0.009639, allocations: 15.88 kB / 0.5746 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001867/0.01151, allocations: 1.884 MB / 0.5764 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.01258, allocations: 0.9297 MB / 0.5773 GB, free: 6.336 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.01374, allocations: 0.5101 MB / 0.5778 GB, free: 5.824 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001071/0.01481, allocations: 1.265 MB / 0.5791 GB, free: 4.555 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005729/0.01538, allocations: 0.5071 MB / 0.5796 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006564/0.01604, allocations: 0.7209 MB / 0.5803 GB, free: 3.312 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007571/0.0168, allocations: 0.9025 MB / 0.5812 GB, free: 2.406 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.0169, allocations: 72 kB / 0.5812 GB, free: 2.336 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000464/0.01736, allocations: 367.3 kB / 0.5816 GB, free: 1.977 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002353/0.0176, allocations: 336.7 kB / 0.5819 GB, free: 1.648 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002432/0.01784, allocations: 314.8 kB / 0.5822 GB, free: 1.34 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009921/0.01883, allocations: 1.105 MB / 0.5833 GB, free: 236 kB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.01884, allocations: 0 / 0.5833 GB, free: 236 kB / 0.4948 GB Notification: Performance of FrontEnd: time 2.365e-06/0.01884, allocations: 0 / 0.5833 GB, free: 236 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.01885, allocations: 0 / 0.5833 GB, free: 236 kB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001926/0.02078, allocations: 1.915 MB / 0.5852 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.02082, allocations: 12.03 kB / 0.5852 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005453/0.02136, allocations: 251.8 kB / 0.5854 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005987/0.02196, allocations: 0.6904 MB / 0.5861 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.02199, allocations: 37.38 kB / 0.5861 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.829e-05/0.02205, allocations: 48.38 kB / 0.5862 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005173/0.02257, allocations: 0.6775 MB / 0.5868 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.02258, allocations: 3.938 kB / 0.5868 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.02261, allocations: 20 kB / 0.5868 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.02262, allocations: 16 kB / 0.5869 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.02285, allocations: 165.2 kB / 0.587 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.0245, allocations: 1.863 MB / 0.5888 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.02486, allocations: 316.8 kB / 0.5891 GB, free: 9.906 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.02498, allocations: 114.9 kB / 0.5892 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.02501, allocations: 12 kB / 0.5893 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.02522, allocations: 222.6 kB / 0.5895 GB, free: 9.523 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=52): time 1.914e-06/0.02523, allocations: 4 kB / 0.5895 GB, free: 9.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55): time 0.0013/0.02653, allocations: 0.9518 MB / 0.5904 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.02664, allocations: 350.1 kB / 0.5907 GB, free: 8.086 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000965/0.0276, allocations: 1.448 MB / 0.5922 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.02763, allocations: 33.7 kB / 0.5922 GB, free: 6.566 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004114/0.02804, allocations: 0.7384 MB / 0.5929 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.02815, allocations: 194.3 kB / 0.5931 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.02826, allocations: 123.9 kB / 0.5932 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.0284, allocations: 0.4964 MB / 0.5937 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.93e-05/0.02849, allocations: 61.25 kB / 0.5938 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.02874, allocations: 464.8 kB / 0.5942 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.02899, allocations: 258.6 kB / 0.5944 GB, free: 4.082 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.02899, allocations: 0 / 0.5944 GB, free: 4.082 MB / 0.5105 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004566/0.02945, allocations: 460.3 kB / 0.5949 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.02946, allocations: 6.188 kB / 0.5949 GB, free: 3.621 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.02947, allocations: 4 kB / 0.5949 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.02948, allocations: 8.125 kB / 0.5949 GB, free: 3.609 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/0.02985, allocations: 155.8 kB / 0.595 GB, free: 3.457 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.02985, allocations: 4 kB / 0.5951 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.03006, allocations: 31.88 kB / 0.5951 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/0.03009, allocations: 12 kB / 0.5951 GB, free: 3.41 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.logdata.nextTimeEvent,$whenCondition1,logdata.nextTimeEventScaled,$PRE.logdata.nextTimeEventScaled,logdata.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001724/0.03026, allocations: 204.4 kB / 0.5953 GB, free: 3.199 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.03039, allocations: 171 kB / 0.5955 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004951/0.03088, allocations: 458.2 kB / 0.5959 GB, free: 2.574 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.03089, allocations: 12 kB / 0.5959 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.03089, allocations: 0 / 0.5959 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.0309, allocations: 7.984 kB / 0.5959 GB, free: 2.555 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.03191, allocations: 0.9109 MB / 0.5968 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.03191, allocations: 3.984 kB / 0.5968 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005025/0.03241, allocations: 207.9 kB / 0.597 GB, free: 1.383 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.03242, allocations: 4 kB / 0.597 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.03244, allocations: 19.98 kB / 0.597 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.187/0.2194, allocations: 5.351 MB / 0.6022 GB, free: 161.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2194, allocations: 0.5312 kB / 0.6022 GB, free: 161.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000771/0.2202, allocations: 0.7194 MB / 0.6029 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.2203, allocations: 142 kB / 0.6031 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.472e-05/0.2204, allocations: 16.33 kB / 0.6031 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.2207, allocations: 21.44 kB / 0.6031 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.565e-05/0.2207, allocations: 46.59 kB / 0.6032 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/0.2208, allocations: 16.94 kB / 0.6032 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005893/0.2214, allocations: 0.8735 MB / 0.604 GB, free: 161.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2214, allocations: 0 / 0.604 GB, free: 161.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005478/0.2219, allocations: 227.1 kB / 0.6043 GB, free: 161.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (tail1.m,tail2.m,tail3.m,volumeFlowFiltered.firstOrder.y) * Number of discrete variables: 3 ($whenCondition1,logdata.nextTimeEvent,logdata.nextTimeEventScaled) * Number of discrete states: 2 (logdata.nextTimeEvent,logdata.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008614/0.2228, allocations: 463.6 kB / 0.6047 GB, free: 161 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003635/0.2231, allocations: 276.1 kB / 0.605 GB, free: 160.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2231, allocations: 4.156 kB / 0.605 GB, free: 160.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003385/0.2235, allocations: 214 kB / 0.6052 GB, free: 160.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005796/0.2241, allocations: 209 kB / 0.6054 GB, free: 160.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.2263, allocations: 2.162 MB / 0.6075 GB, free: 159.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.2265, allocations: 261.9 kB / 0.6077 GB, free: 159.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003035/0.2268, allocations: 114 kB / 0.6078 GB, free: 159.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004736/0.2273, allocations: 312 kB / 0.6081 GB, free: 159.8 MB / 0.5105 GB Notification: Performance of SimCode: time 5.21e-07/0.2273, allocations: 2.531 kB / 0.6081 GB, free: 159.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.01843/0.2458, allocations: 13.88 MB / 0.6217 GB, free: 156 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenHPL_OpenHPL.Examples.VolumeFlowSource.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.VolumeFlowSource.pipe ; mkfifo OpenHPL_OpenHPL.Examples.VolumeFlowSource.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.VolumeFlowSource.pipe >> ../files/OpenHPL_OpenHPL.Examples.VolumeFlowSource.sim & (cd run_cvode && ../OpenHPL_OpenHPL.Examples.VolumeFlowSource -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > OpenHPL_OpenHPL.Examples.VolumeFlowSource.pipe 2>&1) [Timeout 240] (rm -f OpenHPL_OpenHPL.Examples.VolumeFlowSource_gbode.pipe ; mkfifo OpenHPL_OpenHPL.Examples.VolumeFlowSource_gbode.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.VolumeFlowSource_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHPL_OpenHPL.Examples.VolumeFlowSource_gbode.sim & (cd run_gbode && ../OpenHPL_OpenHPL.Examples.VolumeFlowSource -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > OpenHPL_OpenHPL.Examples.VolumeFlowSource_gbode.pipe 2>&1) [Timeout 240] (rm -f OpenHPL_OpenHPL.Examples.VolumeFlowSource_ida.pipe ; mkfifo OpenHPL_OpenHPL.Examples.VolumeFlowSource_ida.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.VolumeFlowSource_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHPL_OpenHPL.Examples.VolumeFlowSource_ida.sim & (cd run_ida && ../OpenHPL_OpenHPL.Examples.VolumeFlowSource -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > OpenHPL_OpenHPL.Examples.VolumeFlowSource_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.099178600125015]