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.001474/0.001474, allocations: 112.8 kB / 17.08 MB, free: 5.988 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.001508/0.001508, allocations: 194.2 kB / 20.03 MB, free: 3.059 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.307/1.307, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 179] 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.1374/0.1374, allocations: 8.4 MB / 306.3 MB, free: 2.758 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.001852/0.001852, allocations: 71.89 kB / 423.2 MB, free: 6.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2152, allocations: 51.37 MB / 474.6 MB, free: 20.19 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.002455/0.2177, allocations: 1.856 MB / 476.4 MB, free: 18.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.2193, allocations: 1.482 MB / 477.9 MB, free: 17.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.024e-05/0.2194, allocations: 1.031 kB / 477.9 MB, free: 17.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.2197, allocations: 102.3 kB / 478 MB, free: 17.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.2199, allocations: 120.3 kB / 478.1 MB, free: 17.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.2203, allocations: 176.5 kB / 478.3 MB, free: 17.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002983/0.2206, allocations: 274.9 kB / 478.6 MB, free: 17.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.2207, allocations: 35.84 kB / 478.6 MB, free: 17.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.2208, allocations: 108.1 kB / 478.7 MB, free: 17.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.221, allocations: 128.9 kB / 478.8 MB, free: 17.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.311e-05/0.2211, allocations: 17.38 kB / 478.8 MB, free: 17.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.2212, allocations: 70.3 kB / 478.9 MB, free: 17.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.15e-05/0.2213, allocations: 48.33 kB / 479 MB, free: 17.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.501e-05/0.2213, allocations: 110.1 kB / 479.1 MB, free: 17.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002667/0.2216, allocations: 277.7 kB / 479.3 MB, free: 17.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2216, allocations: 0 / 479.3 MB, free: 17.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2216, allocations: 0 / 479.3 MB, free: 17.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.2216, allocations: 4 kB / 479.3 MB, free: 17.05 MB / 350.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.0005547/0.2222, allocations: 0.6084 MB / 480 MB, free: 16.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.2222, allocations: 12.11 kB / 480 MB, free: 16.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.856e-05/0.2223, allocations: 33.23 kB / 480 MB, free: 16.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.2225, allocations: 279.4 kB / 480.3 MB, free: 16.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.2226, allocations: 9.875 kB / 480.3 MB, free: 16.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.2226, allocations: 13.75 kB / 480.3 MB, free: 16.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.2229, allocations: 159.5 kB / 480.4 MB, free: 16.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.2229, allocations: 3.984 kB / 480.5 MB, free: 16.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.2229, allocations: 10.69 kB / 480.5 MB, free: 16.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2229, allocations: 2.75 kB / 480.5 MB, free: 16.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000242/0.2232, allocations: 94.8 kB / 480.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007777/0.224, allocations: 0.5037 MB / 481.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.2242, allocations: 100 kB / 481.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.2243, allocations: 89.94 kB / 481.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.2243, allocations: 6.812 kB / 481.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.2244, allocations: 35.97 kB / 481.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.2244, allocations: 0 / 481.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005787/0.225, allocations: 297.6 kB / 481.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.225, allocations: 140.8 kB / 481.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.2253, allocations: 361.8 kB / 482.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.2254, allocations: 32.89 kB / 482.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.082e-05/0.2254, allocations: 153.4 kB / 482.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.2255, allocations: 34.48 kB / 482.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-05/0.2255, allocations: 29 kB / 482.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.578e-05/0.2256, allocations: 337.6 kB / 482.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.2257, allocations: 51.78 kB / 482.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.2259, allocations: 72.11 kB / 482.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.2262, allocations: 234.8 kB / 483 MB, free: 13.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2262, allocations: 0 / 483 MB, free: 13.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003648/0.2266, allocations: 237.3 kB / 483.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.984e-05/0.2266, allocations: 71.14 kB / 483.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2266, allocations: 1.344 kB / 483.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.2266, allocations: 3.938 kB / 483.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.921e-05/0.2267, allocations: 15.33 kB / 483.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2268, allocations: 1.25 kB / 483.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.227, allocations: 36.86 kB / 483.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.227, allocations: 6.062 kB / 483.4 MB, free: 13.73 MB / 350.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.00012/0.2271, allocations: 222 kB / 483.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.073e-05/0.2272, allocations: 27.17 kB / 483.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004161/0.2276, allocations: 255.3 kB / 483.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2276, allocations: 5.469 kB / 483.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2276, allocations: 0 / 483.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2276, allocations: 5 kB / 483.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.2278, allocations: 287.9 kB / 484.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2278, allocations: 1.062 kB / 484.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.372e-05/0.2279, allocations: 23.58 kB / 484.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2279, allocations: 0 / 484.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.2279, allocations: 4.469 kB / 484.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2279, allocations: 5.188 kB / 484.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2279, allocations: 0 / 484.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/0.2283, allocations: 355.2 kB / 484.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.556e-05/0.2284, allocations: 123.8 kB / 484.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.2285, allocations: 4.188 kB / 484.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.2287, allocations: 32.53 kB / 484.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.652e-05/0.2287, allocations: 16.7 kB / 484.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.2288, allocations: 5.844 kB / 484.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000217/0.229, allocations: 271 kB / 485 MB, free: 12.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.229, allocations: 1.688 kB / 485 MB, free: 12.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.2293, allocations: 57.42 kB / 485 MB, free: 12.41 MB / 350.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.001242/0.2305, allocations: 396.9 kB / 485.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003919/0.2309, allocations: 268.6 kB / 485.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2309, allocations: 1.062 kB / 485.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.2311, allocations: 196.8 kB / 485.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.2315, allocations: 52.23 kB / 485.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006177/0.2321, allocations: 0.4972 MB / 486.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.2323, allocations: 0.7442 MB / 487.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.2324, allocations: 25.42 kB / 487.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of SimCode: time 1.91e-07/0.2324, allocations: 5.438 kB / 487.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of Templates: time 0.004545/0.2369, allocations: 3.271 MB / 490.5 MB, free: 9.012 MB / 350.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: 6.652363220928237] Failed to read output from testmodel.py, exit status != 0: 0.24277710705064237 0.25096556000000003 0.027547743000000003 Calling exit ...