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.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.0009848/0.0009848, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001095/0.00208, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007054/0.0007054, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009595/0.001665, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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/1, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08821/1.088, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 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.025/0.025, allocations: 6.492 MB / 250.6 MB, free: 8.348 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004437/0.02944, allocations: 2.484 MB / 253.1 MB, free: 5.855 MB / 250.7 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.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(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 2.615e-06/2.615e-06, allocations: 0 / 254.4 MB, free: 4.586 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.188e-05/2.45e-05, allocations: 5.828 kB / 254.4 MB, free: 4.582 MB / 250.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.003386/0.00341, allocations: 1.967 MB / 256.4 MB, free: 2.598 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002541/0.005951, allocations: 1.808 MB / 258.2 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.823e-05/0.00605, allocations: 0 / 258.2 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.006298, allocations: 107.5 kB / 258.3 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003877/0.006686, allocations: 183.1 kB / 258.4 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.00711, allocations: 175.5 kB / 258.6 MB, free: 332 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003964/0.007507, allocations: 287.3 kB / 258.9 MB, free: 44 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.007618, allocations: 34.47 kB / 258.9 MB, free: 8 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004044/0.008022, allocations: 217.4 kB / 259.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.008237, allocations: 107.7 kB / 259.2 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.815e-05/0.008276, allocations: 16 kB / 259.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002542/0.00853, allocations: 123.8 kB / 259.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.605e-05/0.008606, allocations: 47.8 kB / 259.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.211e-05/0.008678, allocations: 47.88 kB / 259.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003825/0.00906, allocations: 251.1 kB / 259.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.216e-05/0.009073, allocations: 0 / 259.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.009074, allocations: 0 / 259.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.009085, allocations: 0 / 259.7 MB, free: 15.21 MB / 266.7 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.0007334/0.009818, allocations: 0.5761 MB / 260.3 MB, free: 14.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.00985, allocations: 8.031 kB / 260.3 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.126e-05/0.009922, allocations: 32.91 kB / 260.3 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.01021, allocations: 209.8 kB / 260.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.01023, allocations: 12.38 kB / 260.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.01025, allocations: 12.38 kB / 260.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.01051, allocations: 217.7 kB / 260.8 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.01052, allocations: 3.938 kB / 260.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.01054, allocations: 8 kB / 260.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.01054, allocations: 7.984 kB / 260.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.943e-05/0.01064, allocations: 104.4 kB / 260.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000559/0.0112, allocations: 274.8 kB / 261.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.01132, allocations: 110 kB / 261.3 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.442e-05/0.0114, allocations: 84.25 kB / 261.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.01143, allocations: 15.98 kB / 261.4 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.01145, allocations: 34.56 kB / 261.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.01145, allocations: 0 / 261.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003253/0.01178, allocations: 303.9 kB / 261.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.01181, allocations: 55.41 kB / 261.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.0121, allocations: 288.7 kB / 262 MB, free: 12.65 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.01211, allocations: 29.7 kB / 262.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.79e-05/0.01218, allocations: 132.7 kB / 262.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.01222, allocations: 27.73 kB / 262.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.205e-05/0.01228, allocations: 37.64 kB / 262.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.0124, allocations: 338.7 kB / 262.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.444e-05/0.01247, allocations: 91.38 kB / 262.7 MB, free: 11.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.369e-05/0.01255, allocations: 122.8 kB / 262.8 MB, free: 11.83 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.01269, allocations: 182.7 kB / 263 MB, free: 11.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.0127, allocations: 0 / 263 MB, free: 11.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002074/0.0129, allocations: 224.4 kB / 263.2 MB, free: 11.37 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.717e-05/0.01296, allocations: 67.34 kB / 263.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.01297, allocations: 0 / 263.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.01298, allocations: 4 kB / 263.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.595e-05/0.01307, allocations: 11.98 kB / 263.3 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.01307, allocations: 4.234 kB / 263.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.01317, allocations: 23.97 kB / 263.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.01319, allocations: 7.984 kB / 263.3 MB, free: 11.24 MB / 266.7 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.0001247/0.01331, allocations: 184 kB / 263.5 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/0.01337, allocations: 31.97 kB / 263.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003188/0.01369, allocations: 246.3 kB / 263.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.0137, allocations: 0 / 263.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.0137, allocations: 4 kB / 263.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.0137, allocations: 0 / 263.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.0139, allocations: 133.7 kB / 263.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.0139, allocations: 4 kB / 263.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.696e-05/0.01397, allocations: 12 kB / 263.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/0.01402, allocations: 35.73 kB / 264 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.01403, allocations: 4 kB / 264 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.01404, allocations: 4 kB / 264 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.01404, allocations: 0 / 264 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01404, allocations: 0 / 264 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.01424, allocations: 338.1 kB / 264.3 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.01427, allocations: 7.984 kB / 264.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.01439, allocations: 23.98 kB / 264.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.01443, allocations: 19.98 kB / 264.3 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.01444, allocations: 4 kB / 264.3 MB, free: 10.1 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001002/0.01454, allocations: 127.4 kB / 264.5 MB, free: 9.969 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01454, allocations: 0 / 264.5 MB, free: 9.969 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001955/0.01474, allocations: 63.88 kB / 264.5 MB, free: 9.906 MB / 266.7 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.001237/0.01597, allocations: 0.6256 MB / 265.2 MB, free: 9.531 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001975/0.01617, allocations: 310.3 kB / 265.5 MB, free: 9.176 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.01618, allocations: 4 kB / 265.5 MB, free: 9.172 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.794e-05/0.01628, allocations: 219 kB / 265.7 MB, free: 8.918 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.01653, allocations: 217.2 kB / 265.9 MB, free: 8.676 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009015/0.01743, allocations: 487.2 kB / 266.4 MB, free: 8.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.518e-05/0.01748, allocations: 91.75 kB / 266.5 MB, free: 8.051 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.354e-05/0.01752, allocations: 21.12 kB / 266.5 MB, free: 8.031 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.01764, allocations: 103.4 kB / 266.6 MB, free: 7.93 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01764, allocations: 0 / 266.6 MB, free: 7.93 MB / 266.7 MB Notification: Performance of Templates: time 0.005201/0.02284, allocations: 4.186 MB / 270.8 MB, free: 3.77 MB / 266.7 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=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6093076756224036]