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.001315/0.001315, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001533/0.001533, allocations: 211.8 kB / 22.24 MB, free: 5.258 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.465/1.465, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04326/0.04326, allocations: 8.551 MB / 321 MB, free: 10.38 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 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.002075/0.002075, allocations: 68.19 kB / 446.9 MB, free: 15.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09907/0.1011, allocations: 55.43 MB / 0.4905 GB, free: 8.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.003367/0.1045, allocations: 1.858 MB / 0.4923 GB, free: 6.324 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002678/0.1072, allocations: 1.683 MB / 0.494 GB, free: 4.633 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.974e-05/0.1073, allocations: 11.88 kB / 0.494 GB, free: 4.621 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.1076, allocations: 115.5 kB / 0.4941 GB, free: 4.508 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004276/0.108, allocations: 159.3 kB / 0.4943 GB, free: 4.352 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004385/0.1084, allocations: 186.7 kB / 0.4944 GB, free: 4.172 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003883/0.1088, allocations: 295.3 kB / 0.4947 GB, free: 3.883 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.1089, allocations: 20.58 kB / 0.4947 GB, free: 3.859 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002425/0.1092, allocations: 123.5 kB / 0.4949 GB, free: 3.738 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.1094, allocations: 127.5 kB / 0.495 GB, free: 3.613 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.909e-05/0.1094, allocations: 20 kB / 0.495 GB, free: 3.594 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002085/0.1096, allocations: 123.9 kB / 0.4951 GB, free: 3.473 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.714e-05/0.1097, allocations: 47.78 kB / 0.4952 GB, free: 3.426 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.1098, allocations: 91.52 kB / 0.4952 GB, free: 3.336 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004317/0.1103, allocations: 334.6 kB / 0.4956 GB, free: 3.008 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.1103, allocations: 8 kB / 0.4956 GB, free: 3 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1103, allocations: 0 / 0.4956 GB, free: 3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1103, allocations: 0 / 0.4956 GB, free: 3 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.0008297/0.1111, allocations: 0.5621 MB / 0.4961 GB, free: 2.395 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1111, allocations: 8.031 kB / 0.4961 GB, free: 2.387 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.787e-05/0.1112, allocations: 46.75 kB / 0.4962 GB, free: 2.332 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.872e-05/0.1113, allocations: 32.75 kB / 0.4962 GB, free: 2.301 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.1116, allocations: 226.6 kB / 0.4964 GB, free: 2.055 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.1116, allocations: 8.375 kB / 0.4964 GB, free: 2.047 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.1117, allocations: 15.94 kB / 0.4964 GB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003944/0.1121, allocations: 240.4 kB / 0.4967 GB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.1121, allocations: 0 / 0.4967 GB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.1121, allocations: 8 kB / 0.4967 GB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1121, allocations: 4 kB / 0.4967 GB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003199/0.1124, allocations: 151.3 kB / 0.4968 GB, free: 1.594 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.1134, allocations: 463.5 kB / 0.4973 GB, free: 1.098 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.1137, allocations: 149.9 kB / 0.4974 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.1139, allocations: 120.2 kB / 0.4975 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.1139, allocations: 4.078 kB / 0.4975 GB, free: 0.793 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.114, allocations: 42.58 kB / 0.4976 GB, free: 0.7422 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.114, allocations: 0 / 0.4976 GB, free: 0.7422 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007737/0.1147, allocations: 424 kB / 0.498 GB, free: 292 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.138e-05/0.1148, allocations: 132.5 kB / 0.4981 GB, free: 128 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004868/0.1153, allocations: 400.4 kB / 0.4985 GB, free: 15.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.1153, allocations: 29.7 kB / 0.4985 GB, free: 15.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.1155, allocations: 156 kB / 0.4987 GB, free: 15.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/0.1155, allocations: 35.75 kB / 0.4987 GB, free: 15.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-05/0.1156, allocations: 41.66 kB / 0.4987 GB, free: 15.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1158, allocations: 330.8 kB / 0.499 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.1159, allocations: 115.4 kB / 0.4992 GB, free: 15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.1162, allocations: 154.8 kB / 0.4993 GB, free: 14.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.1165, allocations: 227.6 kB / 0.4995 GB, free: 14.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1165, allocations: 3.938 kB / 0.4995 GB, free: 14.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004866/0.117, allocations: 308.3 kB / 0.4998 GB, free: 14.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.397e-05/0.1171, allocations: 67.39 kB / 0.4999 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1171, allocations: 0 / 0.4999 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1171, allocations: 3.938 kB / 0.4999 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.1172, allocations: 15.98 kB / 0.4999 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1172, allocations: 4 kB / 0.4999 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.1174, allocations: 35.92 kB / 0.4999 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1175, allocations: 8 kB / 0.5 GB, free: 14.09 MB / 382.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.0002061/0.1177, allocations: 217.2 kB / 0.5002 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.411e-05/0.1177, allocations: 27.86 kB / 0.5002 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005817/0.1183, allocations: 334.2 kB / 0.5005 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.1183, allocations: 4 kB / 0.5005 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1183, allocations: 0 / 0.5005 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1183, allocations: 3.984 kB / 0.5005 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.1186, allocations: 228.5 kB / 0.5007 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1186, allocations: 4 kB / 0.5007 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.305e-05/0.1187, allocations: 15.98 kB / 0.5007 GB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1187, allocations: 0 / 0.5007 GB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.1187, allocations: 11.94 kB / 0.5008 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1187, allocations: 4 kB / 0.5008 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1187, allocations: 0 / 0.5008 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005757/0.1193, allocations: 422 kB / 0.5012 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.1194, allocations: 35.83 kB / 0.5012 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/0.1195, allocations: 7.938 kB / 0.5012 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.1197, allocations: 43.95 kB / 0.5012 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.264e-05/0.1198, allocations: 11.98 kB / 0.5013 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.1198, allocations: 4 kB / 0.5013 GB, free: 12.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003347/0.1201, allocations: 287 kB / 0.5015 GB, free: 12.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1201, allocations: 0 / 0.5015 GB, free: 12.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003564/0.1205, allocations: 75.8 kB / 0.5016 GB, free: 12.25 MB / 382.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.002389/0.1229, allocations: 1.32 MB / 0.5029 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005582/0.1234, allocations: 365.4 kB / 0.5032 GB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1234, allocations: 3.938 kB / 0.5033 GB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002944/0.1237, allocations: 246.2 kB / 0.5035 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.1242, allocations: 35.92 kB / 0.5035 GB, free: 10.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003695/0.1279, allocations: 2.843 MB / 0.5063 GB, free: 7.352 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001621/0.1281, allocations: 148.5 kB / 0.5064 GB, free: 7.188 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.1282, allocations: 29.41 kB / 0.5065 GB, free: 7.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.1283, allocations: 75.39 kB / 0.5065 GB, free: 7.086 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1283, allocations: 0 / 0.5065 GB, free: 7.086 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2285/0.3568, allocations: 7.478 MB / 0.5138 GB, free: 27.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.62, allocations: 2.391 kB / 0.5138 GB, free: 27.98 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.34689447330311] Failed to read output from testmodel.py, exit status != 0: 11.78248049132526 11.797926654 11.684595441 Calling exit ...