Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.Gate.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.001358/0.001358, allocations: 81.08 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 1.014/1.014, allocations: 177.1 MB / 200.2 MB, free: 5.703 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.001799/0.001799, allocations: 156.6 kB / 256.9 MB, free: 12.97 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.284/0.284, allocations: 80.24 MB / 393.7 MB, free: 1.984 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.02132/0.02132, allocations: 4.812 MB / 481.8 MB, free: 3.961 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.Gate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.Gate") translateModel(OpenHPL.Examples.Gate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.Gate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.5679 GB, free: 136 kB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.856e-05/3.036e-05, allocations: 2.312 kB / 0.5679 GB, free: 132 kB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Gate): time 0.004416/0.004446, allocations: 3.979 MB / 0.5718 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002188/0.006634, allocations: 1.684 MB / 0.5734 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000236/0.00687, allocations: 11.94 kB / 0.5734 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009453/0.007815, allocations: 0.7848 MB / 0.5742 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.008147, allocations: 241.8 kB / 0.5744 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005809/0.008728, allocations: 407 kB / 0.5748 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0007697/0.009498, allocations: 1.081 MB / 0.5758 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000486/0.009984, allocations: 442 kB / 0.5763 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005067/0.01049, allocations: 0.569 MB / 0.5768 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003809/0.01087, allocations: 378.8 kB / 0.5772 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.01097, allocations: 88 kB / 0.5773 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.01113, allocations: 107.9 kB / 0.5774 GB, free: 6.324 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.01124, allocations: 207.1 kB / 0.5776 GB, free: 6.121 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.01144, allocations: 303.1 kB / 0.5779 GB, free: 5.824 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005562/0.01199, allocations: 0.6927 MB / 0.5785 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.012, allocations: 0 / 0.5785 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.82e-07/0.012, allocations: 4 kB / 0.5785 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.01201, allocations: 0 / 0.5785 GB, free: 5.125 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 172 * Number of variables: 172 Notification: Performance of Generate backend data structure: time 0.001537/0.01355, allocations: 1.263 MB / 0.5798 GB, free: 3.824 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.01358, allocations: 12.03 kB / 0.5798 GB, free: 3.812 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005214/0.0141, allocations: 224.2 kB / 0.58 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/0.01453, allocations: 414.8 kB / 0.5804 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.01468, allocations: 246.5 kB / 0.5806 GB, free: 2.871 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.915e-05/0.01475, allocations: 64.38 kB / 0.5807 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007284/0.01548, allocations: 0.8201 MB / 0.5815 GB, free: 1.891 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.01549, allocations: 0 / 0.5815 GB, free: 1.891 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.372e-05/0.01553, allocations: 28 kB / 0.5815 GB, free: 1.863 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.01555, allocations: 16 kB / 0.5815 GB, free: 1.848 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000589/0.01614, allocations: 477.7 kB / 0.582 GB, free: 1.379 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002517/0.01865, allocations: 2.409 MB / 0.5843 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004283/0.01908, allocations: 344 kB / 0.5847 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.01926, allocations: 157.5 kB / 0.5848 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.574e-05/0.01929, allocations: 12.66 kB / 0.5848 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.01932, allocations: 50.05 kB / 0.5849 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=78): time 1.923e-06/0.01932, allocations: 0 / 0.5849 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=78): time 0.0007516/0.02007, allocations: 0.5559 MB / 0.5854 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.02019, allocations: 222.3 kB / 0.5856 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/0.02054, allocations: 0.5024 MB / 0.5861 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.02058, allocations: 41.7 kB / 0.5862 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.0208, allocations: 415.3 kB / 0.5866 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.02095, allocations: 281.6 kB / 0.5868 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.02111, allocations: 152.2 kB / 0.587 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.02128, allocations: 0.5584 MB / 0.5875 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.02143, allocations: 113.9 kB / 0.5876 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003718/0.0218, allocations: 0.6257 MB / 0.5882 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006244/0.02242, allocations: 0.592 MB / 0.5888 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/0.02243, allocations: 8 kB / 0.5888 GB, free: 9.855 MB / 0.5105 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0006713/0.0231, allocations: 0.61 MB / 0.5894 GB, free: 9.238 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.02312, allocations: 8 kB / 0.5894 GB, free: 9.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.02313, allocations: 4 kB / 0.5894 GB, free: 9.227 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.02315, allocations: 15.98 kB / 0.5894 GB, free: 9.211 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005216/0.02367, allocations: 227.7 kB / 0.5897 GB, free: 8.988 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.02369, allocations: 20.36 kB / 0.5897 GB, free: 8.969 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.02396, allocations: 99.39 kB / 0.5898 GB, free: 8.871 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.445e-05/0.02401, allocations: 31.98 kB / 0.5898 GB, free: 8.84 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 102 * 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.0001757/0.02419, allocations: 212.3 kB / 0.59 GB, free: 8.621 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.475e-05/0.02428, allocations: 95.53 kB / 0.5901 GB, free: 8.527 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006195/0.0249, allocations: 0.5322 MB / 0.5906 GB, free: 7.984 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.02491, allocations: 8 kB / 0.5906 GB, free: 7.977 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.02491, allocations: 0 / 0.5906 GB, free: 7.977 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.02492, allocations: 7.922 kB / 0.5906 GB, free: 7.969 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.02614, allocations: 1.124 MB / 0.5917 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.02614, allocations: 0 / 0.5917 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004352/0.02657, allocations: 184 kB / 0.5919 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.02658, allocations: 8 kB / 0.5919 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.02661, allocations: 27.86 kB / 0.5919 GB, free: 6.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.02661, allocations: 4 kB / 0.5919 GB, free: 6.566 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.02662, allocations: 0 / 0.5919 GB, free: 6.566 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005723/0.02719, allocations: 0.6839 MB / 0.5926 GB, free: 5.836 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.384e-05/0.02724, allocations: 75.34 kB / 0.5927 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.791e-05/0.0273, allocations: 27.88 kB / 0.5927 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.02751, allocations: 31.97 kB / 0.5927 GB, free: 5.703 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.045e-05/0.0276, allocations: 64.55 kB / 0.5928 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.083e-05/0.02764, allocations: 19.98 kB / 0.5928 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001621/0.0278, allocations: 314.7 kB / 0.5931 GB, free: 5.316 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.0278, allocations: 0 / 0.5931 GB, free: 5.316 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003719/0.02817, allocations: 199.7 kB / 0.5933 GB, free: 5.121 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 82 * 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 Backend phase and start with SimCode phase: time 0.0001119/0.02828, allocations: 115.1 kB / 0.5934 GB, free: 5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004522/0.02873, allocations: 447.5 kB / 0.5939 GB, free: 4.562 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.02874, allocations: 0 / 0.5939 GB, free: 4.562 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.02896, allocations: 240.5 kB / 0.5941 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.02939, allocations: 139.5 kB / 0.5942 GB, free: 4.195 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.03107, allocations: 1.349 MB / 0.5955 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.973e-05/0.03116, allocations: 149.4 kB / 0.5957 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002482/0.0314, allocations: 97.12 kB / 0.5958 GB, free: 2.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003703/0.03177, allocations: 254 kB / 0.596 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of SimCode: time 9.42e-07/0.03178, allocations: 4 kB / 0.596 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of Templates: time 0.1675/0.1993, allocations: 10.26 MB / 0.606 GB, free: 168.4 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenHPL_OpenHPL.Examples.Gate.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.Gate.pipe ; mkfifo OpenHPL_OpenHPL.Examples.Gate.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.Gate.pipe >> ../files/OpenHPL_OpenHPL.Examples.Gate.sim & (cd run_cvode && ../OpenHPL_OpenHPL.Examples.Gate -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > OpenHPL_OpenHPL.Examples.Gate.pipe 2>&1) [Timeout 240] (rm -f OpenHPL_OpenHPL.Examples.Gate_gbode.pipe ; mkfifo OpenHPL_OpenHPL.Examples.Gate_gbode.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.Gate_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHPL_OpenHPL.Examples.Gate_gbode.sim & (cd run_gbode && ../OpenHPL_OpenHPL.Examples.Gate -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > OpenHPL_OpenHPL.Examples.Gate_gbode.pipe 2>&1) [Timeout 240] (rm -f OpenHPL_OpenHPL.Examples.Gate_ida.pipe ; mkfifo OpenHPL_OpenHPL.Examples.Gate_ida.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.Gate_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHPL_OpenHPL.Examples.Gate_ida.sim & (cd run_ida && ../OpenHPL_OpenHPL.Examples.Gate -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > OpenHPL_OpenHPL.Examples.Gate_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9674060977995396]