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.001439/0.001439, allocations: 108.2 kB / 17.54 MB, free: 4.746 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.001455/0.001455, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.311/1.311, allocations: 225.6 MB / 249.3 MB, free: 3.176 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.03763/0.03763, allocations: 8.537 MB / 313 MB, free: 2.027 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: "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestLimTorque,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestLimTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestLimTorque,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestLimTorque",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 67.89 kB / 435.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2059, allocations: 54.19 MB / 490.1 MB, free: 25.93 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.002512/0.2085, allocations: 1.884 MB / 492 MB, free: 24.62 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.21, allocations: 1.554 MB / 493.5 MB, free: 23.53 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.207e-05/0.2101, allocations: 1.188 kB / 493.5 MB, free: 23.53 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.2103, allocations: 102.2 kB / 493.6 MB, free: 23.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.2105, allocations: 120.1 kB / 493.8 MB, free: 23.45 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.2109, allocations: 180.4 kB / 493.9 MB, free: 23.35 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002753/0.2112, allocations: 259.9 kB / 494.2 MB, free: 23.24 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.154e-05/0.2113, allocations: 31.97 kB / 494.2 MB, free: 23.22 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.2114, allocations: 107.4 kB / 494.3 MB, free: 23.17 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.2116, allocations: 134.2 kB / 494.5 MB, free: 23.12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.969e-05/0.2116, allocations: 16.81 kB / 494.5 MB, free: 23.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.2117, allocations: 77.38 kB / 494.5 MB, free: 23.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.58e-05/0.2118, allocations: 50.66 kB / 494.6 MB, free: 23.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.281e-05/0.2119, allocations: 102.5 kB / 494.7 MB, free: 23.01 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000318/0.2122, allocations: 273.6 kB / 495 MB, free: 22.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2122, allocations: 1.219 kB / 495 MB, free: 22.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2122, allocations: 0 / 495 MB, free: 22.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.2122, allocations: 0 / 495 MB, free: 22.89 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.0005902/0.2128, allocations: 0.6226 MB / 495.6 MB, free: 22.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.2128, allocations: 13.67 kB / 495.6 MB, free: 22.31 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.471e-05/0.2129, allocations: 46.88 kB / 495.6 MB, free: 22.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.227e-05/0.2129, allocations: 28.45 kB / 495.7 MB, free: 22.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.2131, allocations: 279.6 kB / 495.9 MB, free: 21.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.2132, allocations: 10.25 kB / 496 MB, free: 21.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.2132, allocations: 13.66 kB / 496 MB, free: 21.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.2135, allocations: 153 kB / 496.1 MB, free: 21.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.2135, allocations: 0 / 496.1 MB, free: 21.9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.2135, allocations: 9.156 kB / 496.1 MB, free: 21.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.2135, allocations: 1.375 kB / 496.1 MB, free: 21.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.2137, allocations: 101.8 kB / 496.2 MB, free: 21.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000774/0.2145, allocations: 0.5069 MB / 496.7 MB, free: 21.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.2147, allocations: 89.34 kB / 496.8 MB, free: 21.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.2148, allocations: 58.36 kB / 496.9 MB, free: 21.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.2149, allocations: 7.562 kB / 496.9 MB, free: 21.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.2149, allocations: 37.02 kB / 496.9 MB, free: 21.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.2149, allocations: 0 / 496.9 MB, free: 21.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005619/0.2154, allocations: 304.1 kB / 497.2 MB, free: 21.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.2155, allocations: 139.9 kB / 497.4 MB, free: 21.06 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003027/0.2158, allocations: 361 kB / 497.7 MB, free: 20.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.2158, allocations: 29.83 kB / 497.7 MB, free: 20.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.2159, allocations: 160.3 kB / 497.9 MB, free: 20.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.2159, allocations: 30.62 kB / 497.9 MB, free: 20.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/0.2159, allocations: 37.48 kB / 498 MB, free: 20.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.799e-05/0.216, allocations: 333.6 kB / 498.3 MB, free: 20.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.2161, allocations: 51 kB / 498.3 MB, free: 20.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.2163, allocations: 69.05 kB / 498.4 MB, free: 20.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.2165, allocations: 241.2 kB / 498.6 MB, free: 20.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2165, allocations: 0 / 498.6 MB, free: 20.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003549/0.2169, allocations: 245 kB / 498.9 MB, free: 19.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/0.2169, allocations: 68.02 kB / 498.9 MB, free: 19.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.2169, allocations: 0 / 498.9 MB, free: 19.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.2169, allocations: 4.938 kB / 499 MB, free: 19.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.49e-05/0.217, allocations: 23.14 kB / 499 MB, free: 19.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.217, allocations: 1.25 kB / 499 MB, free: 19.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.2172, allocations: 33.42 kB / 499 MB, free: 19.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.2172, allocations: 4.5 kB / 499 MB, free: 19.78 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.0001207/0.2174, allocations: 218.9 kB / 499.2 MB, free: 19.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.294e-05/0.2174, allocations: 27.05 kB / 499.3 MB, free: 19.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004129/0.2178, allocations: 274.7 kB / 499.5 MB, free: 19.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.2178, allocations: 1.312 kB / 499.5 MB, free: 19.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.2178, allocations: 1.312 kB / 499.5 MB, free: 19.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.2178, allocations: 0 / 499.5 MB, free: 19.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.218, allocations: 279.9 kB / 499.8 MB, free: 19.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.218, allocations: 4.984 kB / 499.8 MB, free: 19.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.385e-05/0.2181, allocations: 11.09 kB / 499.8 MB, free: 19.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.2181, allocations: 5.141 kB / 499.8 MB, free: 19.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.2181, allocations: 11.78 kB / 499.8 MB, free: 19.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2181, allocations: 5.156 kB / 499.8 MB, free: 19.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2181, allocations: 4 kB / 499.8 MB, free: 19.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.2185, allocations: 355.9 kB / 0.4885 GB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.573e-05/0.2186, allocations: 114.2 kB / 0.4886 GB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.2186, allocations: 8 kB / 0.4886 GB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.2188, allocations: 33.81 kB / 0.4886 GB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.2189, allocations: 16.08 kB / 0.4886 GB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.2189, allocations: 5.688 kB / 0.4886 GB, free: 18.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000209/0.2191, allocations: 271.7 kB / 0.4889 GB, free: 18.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2191, allocations: 0 / 0.4889 GB, free: 18.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.2194, allocations: 55.23 kB / 0.4889 GB, free: 18.47 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.001645/0.221, allocations: 1.189 MB / 0.4901 GB, free: 17.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003656/0.2214, allocations: 242.6 kB / 0.4903 GB, free: 17.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2214, allocations: 0 / 0.4903 GB, free: 17.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.2216, allocations: 178.8 kB / 0.4905 GB, free: 17.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.2219, allocations: 54.77 kB / 0.4906 GB, free: 17.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.2244, allocations: 2.47 MB / 0.493 GB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.2245, allocations: 0.752 MB / 0.4937 GB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.408e-05/0.2246, allocations: 26.94 kB / 0.4937 GB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.957e-05/0.2247, allocations: 64.94 kB / 0.4938 GB, free: 14.52 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2247, allocations: 0 / 0.4938 GB, free: 14.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02859/0.2533, allocations: 6.119 MB / 0.4998 GB, free: 11.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.314/7.567, allocations: 3.984 kB / 0.4998 GB, free: 11.18 MB / 366.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestLimTorque.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.860569887998281]