Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001926/0.001926, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 225.6 MB / 249.4 MB, free: 3.121 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04151/0.04151, allocations: 8.54 MB / 313 MB, free: 1.914 MB / 238.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestLimTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque") translateModel(EHPTlib.MapBased.TestingModels.TestLimTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 71.89 kB / 436.5 MB, free: 9.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2522, allocations: 54.18 MB / 490.7 MB, free: 26.17 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.003123/0.2553, allocations: 1.895 MB / 492.6 MB, free: 24.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.2574, allocations: 1.545 MB / 494.2 MB, free: 23.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.2575, allocations: 9.469 kB / 494.2 MB, free: 23.76 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.2578, allocations: 105.3 kB / 494.3 MB, free: 23.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003335/0.2582, allocations: 113.6 kB / 494.4 MB, free: 23.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005372/0.2587, allocations: 180.9 kB / 494.6 MB, free: 23.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003708/0.2591, allocations: 258.8 kB / 494.8 MB, free: 23.48 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.2592, allocations: 32.67 kB / 494.8 MB, free: 23.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.2594, allocations: 103.8 kB / 494.9 MB, free: 23.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003275/0.2598, allocations: 142.4 kB / 495.1 MB, free: 23.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.307e-05/0.2598, allocations: 16.47 kB / 495.1 MB, free: 23.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.26, allocations: 76.45 kB / 495.2 MB, free: 23.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.77e-05/0.2601, allocations: 44.22 kB / 495.2 MB, free: 23.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.2602, allocations: 110.2 kB / 495.3 MB, free: 23.24 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000512/0.2608, allocations: 273.7 kB / 495.6 MB, free: 23.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2608, allocations: 0.6094 kB / 495.6 MB, free: 23.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2608, allocations: 0 / 495.6 MB, free: 23.13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.2608, allocations: 0 / 495.6 MB, free: 23.13 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008449/0.2616, allocations: 0.618 MB / 496.2 MB, free: 22.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.2617, allocations: 14.09 kB / 496.2 MB, free: 22.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.474e-05/0.2617, allocations: 27.92 kB / 496.3 MB, free: 22.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.2621, allocations: 277.3 kB / 496.5 MB, free: 22.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.2621, allocations: 5.875 kB / 496.5 MB, free: 22.28 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/0.2621, allocations: 21.69 kB / 496.6 MB, free: 22.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.2625, allocations: 152.4 kB / 496.7 MB, free: 22.19 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.2625, allocations: 5.375 kB / 496.7 MB, free: 22.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.2625, allocations: 3.641 kB / 496.7 MB, free: 22.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2625, allocations: 2.75 kB / 496.7 MB, free: 22.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.2628, allocations: 101.7 kB / 496.8 MB, free: 22.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000941/0.2638, allocations: 0.5083 MB / 497.3 MB, free: 21.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.264, allocations: 94.67 kB / 497.4 MB, free: 21.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.2641, allocations: 59.11 kB / 497.5 MB, free: 21.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.2641, allocations: 5.438 kB / 497.5 MB, free: 21.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.2642, allocations: 36 kB / 497.5 MB, free: 21.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.2642, allocations: 0 / 497.5 MB, free: 21.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006302/0.2648, allocations: 303.6 kB / 497.8 MB, free: 21.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.2648, allocations: 133.8 kB / 497.9 MB, free: 21.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/0.2652, allocations: 369.5 kB / 498.3 MB, free: 21.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.2652, allocations: 32.67 kB / 498.3 MB, free: 21.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.925e-05/0.2653, allocations: 157.1 kB / 498.5 MB, free: 20.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.2653, allocations: 34.16 kB / 498.5 MB, free: 20.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.043e-05/0.2654, allocations: 38.58 kB / 498.6 MB, free: 20.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.788e-05/0.2654, allocations: 332.7 kB / 498.9 MB, free: 20.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.2656, allocations: 51.25 kB / 498.9 MB, free: 20.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.2657, allocations: 73.08 kB / 499 MB, free: 20.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.266, allocations: 229.6 kB / 499.2 MB, free: 20.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.266, allocations: 0 / 499.2 MB, free: 20.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003822/0.2664, allocations: 243.8 kB / 499.5 MB, free: 20.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/0.2664, allocations: 68.42 kB / 499.5 MB, free: 20.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2664, allocations: 0 / 499.5 MB, free: 20.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.2665, allocations: 9.5 kB / 499.5 MB, free: 20.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.2666, allocations: 14.95 kB / 499.6 MB, free: 20.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.2666, allocations: 1.531 kB / 499.6 MB, free: 20.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.2668, allocations: 36.95 kB / 499.6 MB, free: 20.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.2668, allocations: 5.312 kB / 499.6 MB, free: 20.05 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fileTxtLimits.state,fixedLimits.state) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001286/0.2669, allocations: 218 kB / 499.8 MB, free: 19.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.707e-05/0.267, allocations: 31.58 kB / 499.8 MB, free: 19.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004562/0.2674, allocations: 263.3 kB / 0.4884 GB, free: 19.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2674, allocations: 13.41 kB / 0.4884 GB, free: 19.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2674, allocations: 0 / 0.4884 GB, free: 19.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2674, allocations: 0 / 0.4884 GB, free: 19.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.2677, allocations: 280.4 kB / 0.4887 GB, free: 19.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2677, allocations: 4 kB / 0.4887 GB, free: 19.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.018e-05/0.2677, allocations: 15.7 kB / 0.4887 GB, free: 19.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2677, allocations: 0.9375 kB / 0.4887 GB, free: 19.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.2678, allocations: 16.55 kB / 0.4887 GB, free: 19.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.2678, allocations: 3.938 kB / 0.4887 GB, free: 19.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2678, allocations: 1.156 kB / 0.4887 GB, free: 19.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004295/0.2682, allocations: 350.8 kB / 0.489 GB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.572e-05/0.2683, allocations: 123.2 kB / 0.4892 GB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.2683, allocations: 4 kB / 0.4892 GB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.2686, allocations: 37.38 kB / 0.4892 GB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/0.2686, allocations: 17.17 kB / 0.4892 GB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.2686, allocations: 4.156 kB / 0.4892 GB, free: 18.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002359/0.2689, allocations: 272.5 kB / 0.4895 GB, free: 18.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2689, allocations: 0 / 0.4895 GB, free: 18.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003123/0.2692, allocations: 54.36 kB / 0.4895 GB, free: 18.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fixedLimits.state,fileTxtLimits.state) * Number of discrete states: 2 (fileTxtLimits.state,fixedLimits.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.00134/0.2705, allocations: 404 kB / 0.4899 GB, free: 18.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004179/0.2709, allocations: 243.7 kB / 0.4901 GB, free: 18.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2709, allocations: 0 / 0.4901 GB, free: 18.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.2711, allocations: 178.7 kB / 0.4903 GB, free: 18.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.2716, allocations: 45.42 kB / 0.4904 GB, free: 18.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007261/0.2723, allocations: 487.2 kB / 0.4908 GB, free: 17.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/0.2725, allocations: 0.7445 MB / 0.4915 GB, free: 17.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.17e-05/0.2726, allocations: 21.25 kB / 0.4916 GB, free: 17.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.433e-05/0.2726, allocations: 21.16 kB / 0.4916 GB, free: 17.09 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2726, allocations: 4 kB / 0.4916 GB, free: 17.09 MB / 366.1 MB Notification: Performance of Templates: time 0.006965/0.2796, allocations: 3.364 MB / 0.4949 GB, free: 15.36 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.790557902306318]