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.001728/0.001728, allocations: 109.9 kB / 16.46 MB, free: 6.508 MB / 14.72 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.002094/0.002094, allocations: 215.2 kB / 19.43 MB, free: 3.648 MB / 14.72 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.494/1.494, allocations: 230.6 MB / 252.8 MB, free: 9.121 MB / 206.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.04149/0.04149, allocations: 8.547 MB / 317.4 MB, free: 11.79 MB / 254.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.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: "" <> 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: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 67.89 kB / 441.7 MB, free: 3.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09825/0.1001, allocations: 55.39 MB / 497.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.003292/0.1034, allocations: 1.914 MB / 499.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002369/0.1058, allocations: 1.655 MB / 0.489 GB, free: 8.391 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.741e-05/0.1059, allocations: 4 kB / 0.489 GB, free: 8.387 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.1062, allocations: 107.5 kB / 0.4891 GB, free: 8.281 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003915/0.1066, allocations: 171.3 kB / 0.4892 GB, free: 8.113 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.107, allocations: 177.3 kB / 0.4894 GB, free: 7.941 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003908/0.1074, allocations: 283.3 kB / 0.4897 GB, free: 7.664 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1075, allocations: 36.31 kB / 0.4897 GB, free: 7.625 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.1077, allocations: 119.5 kB / 0.4898 GB, free: 7.508 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.1079, allocations: 139.5 kB / 0.49 GB, free: 7.371 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.79e-05/0.108, allocations: 20 kB / 0.49 GB, free: 7.352 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.1082, allocations: 131.9 kB / 0.4901 GB, free: 7.223 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.663e-05/0.1083, allocations: 51.84 kB / 0.4902 GB, free: 7.172 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.1084, allocations: 119.2 kB / 0.4903 GB, free: 7.055 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000426/0.1088, allocations: 322.7 kB / 0.4906 GB, free: 6.738 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1088, allocations: 4 kB / 0.4906 GB, free: 6.734 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1088, allocations: 0 / 0.4906 GB, free: 6.734 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.431e-06/0.1088, allocations: 0 / 0.4906 GB, free: 6.734 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.0008554/0.1097, allocations: 0.6452 MB / 0.4912 GB, free: 6.027 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1097, allocations: 16.03 kB / 0.4912 GB, free: 6.012 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.511e-05/0.1098, allocations: 38.75 kB / 0.4913 GB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.946e-05/0.1098, allocations: 36.75 kB / 0.4913 GB, free: 5.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.1102, allocations: 284.5 kB / 0.4916 GB, free: 5.617 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.1102, allocations: 12.31 kB / 0.4916 GB, free: 5.605 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.1102, allocations: 19.94 kB / 0.4916 GB, free: 5.586 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.1106, allocations: 146.4 kB / 0.4917 GB, free: 5.434 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.1106, allocations: 0 / 0.4917 GB, free: 5.434 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.1106, allocations: 12 kB / 0.4918 GB, free: 5.422 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1106, allocations: 0 / 0.4918 GB, free: 5.422 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002889/0.1109, allocations: 95.92 kB / 0.4918 GB, free: 5.328 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.1119, allocations: 0.5159 MB / 0.4923 GB, free: 4.762 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.1121, allocations: 82.53 kB / 0.4924 GB, free: 4.672 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.1123, allocations: 68.8 kB / 0.4925 GB, free: 4.602 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.1123, allocations: 4.062 kB / 0.4925 GB, free: 4.598 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.1123, allocations: 42.55 kB / 0.4925 GB, free: 4.547 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.1123, allocations: 0 / 0.4925 GB, free: 4.547 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007184/0.113, allocations: 312.9 kB / 0.4928 GB, free: 4.223 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.01e-05/0.1131, allocations: 132.5 kB / 0.493 GB, free: 4.062 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004494/0.1136, allocations: 384.5 kB / 0.4933 GB, free: 3.676 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.1136, allocations: 29.7 kB / 0.4934 GB, free: 3.641 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.1137, allocations: 168 kB / 0.4935 GB, free: 3.473 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.1138, allocations: 27.75 kB / 0.4935 GB, free: 3.445 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.932e-05/0.1138, allocations: 37.66 kB / 0.4936 GB, free: 3.402 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.114, allocations: 338.8 kB / 0.4939 GB, free: 3.062 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.1142, allocations: 51.97 kB / 0.4939 GB, free: 3.012 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.1143, allocations: 69.67 kB / 0.494 GB, free: 2.938 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003711/0.1147, allocations: 232 kB / 0.4942 GB, free: 2.684 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1147, allocations: 3.938 kB / 0.4942 GB, free: 2.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000481/0.1152, allocations: 244.9 kB / 0.4945 GB, free: 2.422 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.34e-05/0.1152, allocations: 67.39 kB / 0.4945 GB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1153, allocations: 0 / 0.4945 GB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.1153, allocations: 7.938 kB / 0.4945 GB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.1154, allocations: 19.98 kB / 0.4946 GB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1154, allocations: 0 / 0.4946 GB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/0.1156, allocations: 35.86 kB / 0.4946 GB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.1156, allocations: 4 kB / 0.4946 GB, free: 2.277 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.0002203/0.1158, allocations: 217.8 kB / 0.4948 GB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.488e-05/0.1159, allocations: 27.86 kB / 0.4948 GB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005523/0.1165, allocations: 278.8 kB / 0.4951 GB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1165, allocations: 0 / 0.4951 GB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1165, allocations: 0 / 0.4951 GB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1165, allocations: 0 / 0.4951 GB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005435/0.117, allocations: 293.4 kB / 0.4954 GB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.117, allocations: 0 / 0.4954 GB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.425e-05/0.1171, allocations: 15.98 kB / 0.4954 GB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1171, allocations: 0 / 0.4954 GB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.1171, allocations: 11.94 kB / 0.4954 GB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1171, allocations: 11.92 kB / 0.4954 GB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1171, allocations: 0 / 0.4954 GB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005408/0.1177, allocations: 362.6 kB / 0.4958 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.1178, allocations: 116.9 kB / 0.4959 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.1178, allocations: 7.938 kB / 0.4959 GB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.1181, allocations: 35.97 kB / 0.4959 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.17e-05/0.1182, allocations: 15.98 kB / 0.4959 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.1182, allocations: 4 kB / 0.4959 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003235/0.1185, allocations: 291 kB / 0.4962 GB, free: 496 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1185, allocations: 4 kB / 0.4962 GB, free: 492 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003455/0.1188, allocations: 63.88 kB / 0.4963 GB, free: 428 kB / 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.002391/0.1212, allocations: 1.235 MB / 0.4975 GB, free: 15.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000505/0.1217, allocations: 254.6 kB / 0.4977 GB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1217, allocations: 0 / 0.4977 GB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.122, allocations: 178.8 kB / 0.4979 GB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.1224, allocations: 40.33 kB / 0.4979 GB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003613/0.126, allocations: 2.546 MB / 0.5004 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.1265, allocations: 0.7551 MB / 0.5012 GB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000108/0.1266, allocations: 25.41 kB / 0.5012 GB, free: 11.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.1267, allocations: 79.41 kB / 0.5013 GB, free: 11.28 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1267, allocations: 0 / 0.5013 GB, free: 11.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03132/0.158, allocations: 6.657 MB / 0.5078 GB, free: 4.652 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.223/8.381, allocations: 18.22 kB / 0.5078 GB, free: 4.637 MB / 382.1 MB " [Timeout remaining time 651] (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: 11.28088735183701] Failed to read output from testmodel.py, exit status != 0: 8.511545568704605 8.717777778 8.606308682 Calling exit ...