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.001913/0.001913, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002426/0.002426, allocations: 218.5 kB / 22.25 MB, free: 5.125 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.449/1.449, allocations: 230.6 MB / 256 MB, free: 7.957 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.0413/0.0413, allocations: 8.541 MB / 321 MB, free: 10.57 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.001997/0.001997, allocations: 63.84 kB / 446.9 MB, free: 15.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1161, allocations: 55.42 MB / 0.4906 GB, free: 8.359 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.003466/0.1196, allocations: 1.931 MB / 0.4925 GB, free: 6.418 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002855/0.1224, allocations: 1.749 MB / 0.4942 GB, free: 4.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.858e-05/0.1225, allocations: 0 / 0.4942 GB, free: 4.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003669/0.1229, allocations: 119.5 kB / 0.4943 GB, free: 4.543 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004598/0.1234, allocations: 171.3 kB / 0.4945 GB, free: 4.375 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004844/0.1239, allocations: 174.4 kB / 0.4946 GB, free: 4.207 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004218/0.1243, allocations: 291.3 kB / 0.4949 GB, free: 3.922 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.1244, allocations: 24.58 kB / 0.4949 GB, free: 3.895 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002576/0.1247, allocations: 119.5 kB / 0.495 GB, free: 3.777 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.1249, allocations: 139.5 kB / 0.4952 GB, free: 3.641 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.615e-05/0.1249, allocations: 23.94 kB / 0.4952 GB, free: 3.617 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002285/0.1252, allocations: 131.9 kB / 0.4953 GB, free: 3.488 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.428e-05/0.1253, allocations: 55.77 kB / 0.4954 GB, free: 3.434 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.1254, allocations: 111.3 kB / 0.4955 GB, free: 3.324 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004472/0.1258, allocations: 330.7 kB / 0.4958 GB, free: 3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1258, allocations: 3.938 kB / 0.4958 GB, free: 2.996 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1258, allocations: 0 / 0.4958 GB, free: 2.996 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.311e-06/0.1258, allocations: 3.938 kB / 0.4958 GB, free: 2.992 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.0008596/0.1267, allocations: 0.5662 MB / 0.4964 GB, free: 2.383 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.1267, allocations: 8.031 kB / 0.4964 GB, free: 2.375 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.178e-05/0.1268, allocations: 42.75 kB / 0.4964 GB, free: 2.324 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.607e-05/0.1269, allocations: 32.75 kB / 0.4964 GB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.1272, allocations: 226.6 kB / 0.4967 GB, free: 2.047 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.1272, allocations: 4.375 kB / 0.4967 GB, free: 2.043 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.1272, allocations: 15.94 kB / 0.4967 GB, free: 2.027 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.1276, allocations: 147.3 kB / 0.4968 GB, free: 1.871 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.1276, allocations: 4 kB / 0.4968 GB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.1276, allocations: 7.938 kB / 0.4968 GB, free: 1.859 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1276, allocations: 7.938 kB / 0.4968 GB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002728/0.1279, allocations: 95.92 kB / 0.4969 GB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.1289, allocations: 495.4 kB / 0.4974 GB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.1291, allocations: 94.47 kB / 0.4975 GB, free: 1.129 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.1293, allocations: 56.83 kB / 0.4975 GB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/0.1293, allocations: 8 kB / 0.4975 GB, free: 1.062 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.1294, allocations: 30.56 kB / 0.4976 GB, free: 1.023 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.1294, allocations: 0 / 0.4976 GB, free: 1.023 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007199/0.1301, allocations: 309 kB / 0.4979 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.333e-05/0.1302, allocations: 140.5 kB / 0.498 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000461/0.1306, allocations: 384.5 kB / 0.4984 GB, free: 156 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.1307, allocations: 37.7 kB / 0.4984 GB, free: 112 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.1308, allocations: 152.2 kB / 0.4986 GB, free: 15.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.255e-05/0.1308, allocations: 39.64 kB / 0.4986 GB, free: 15.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.869e-05/0.1309, allocations: 37.67 kB / 0.4986 GB, free: 15.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.1311, allocations: 334.8 kB / 0.4989 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.1312, allocations: 51.95 kB / 0.499 GB, free: 15.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.1314, allocations: 73.69 kB / 0.4991 GB, free: 15.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/0.1318, allocations: 235.9 kB / 0.4993 GB, free: 15.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1318, allocations: 0 / 0.4993 GB, free: 15.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004456/0.1322, allocations: 256.8 kB / 0.4995 GB, free: 14.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.796e-05/0.1323, allocations: 59.41 kB / 0.4996 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1323, allocations: 0 / 0.4996 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1323, allocations: 7.969 kB / 0.4996 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.1324, allocations: 19.92 kB / 0.4996 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1324, allocations: 0 / 0.4996 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.1326, allocations: 43.91 kB / 0.4997 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.1326, allocations: 4 kB / 0.4997 GB, free: 14.74 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.0002166/0.1329, allocations: 209.2 kB / 0.4999 GB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.287e-05/0.1329, allocations: 27.86 kB / 0.4999 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005457/0.1335, allocations: 282.7 kB / 0.5002 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.1335, allocations: 4 kB / 0.5002 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.1335, allocations: 0 / 0.5002 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.1335, allocations: 3.984 kB / 0.5002 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003615/0.1338, allocations: 256.5 kB / 0.5004 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1338, allocations: 7.938 kB / 0.5004 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.406e-05/0.1339, allocations: 11.98 kB / 0.5004 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1339, allocations: 4 kB / 0.5004 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.1339, allocations: 11.94 kB / 0.5004 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1339, allocations: 0 / 0.5004 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1339, allocations: 320 / 0.5004 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005302/0.1345, allocations: 358.6 kB / 0.5008 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-05/0.1346, allocations: 43.83 kB / 0.5008 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.1346, allocations: 11.94 kB / 0.5008 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.1349, allocations: 35.95 kB / 0.5009 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.498e-05/0.1349, allocations: 15.98 kB / 0.5009 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.1349, allocations: 8 kB / 0.5009 GB, free: 13.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003114/0.1353, allocations: 287 kB / 0.5012 GB, free: 13.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1353, allocations: 0 / 0.5012 GB, free: 13.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003418/0.1356, allocations: 71.86 kB / 0.5012 GB, free: 13 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.0023/0.1379, allocations: 1.239 MB / 0.5024 GB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004756/0.1384, allocations: 246.6 kB / 0.5027 GB, free: 11.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1384, allocations: 0 / 0.5027 GB, free: 11.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002497/0.1386, allocations: 178.8 kB / 0.5029 GB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.1391, allocations: 44.62 kB / 0.5029 GB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003433/0.1425, allocations: 2.534 MB / 0.5054 GB, free: 8.762 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.1429, allocations: 0.759 MB / 0.5061 GB, free: 7.977 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.026e-05/0.143, allocations: 29.72 kB / 0.5061 GB, free: 7.945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.1431, allocations: 83.28 kB / 0.5062 GB, free: 7.863 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1431, allocations: 0 / 0.5062 GB, free: 7.863 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03562/0.1788, allocations: 6.85 MB / 0.5129 GB, free: 1.062 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.22, allocations: 4 kB / 0.5129 GB, free: 1.059 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.189920477001579] Failed to read output from testmodel.py, exit status != 0: 11.581688843994925 11.601068587 11.471585146 Calling exit ...