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.001307/0.001307, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001643/0.001643, allocations: 217.2 kB / 23.04 MB, free: 5.074 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 8 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.04456/0.04456, allocations: 8.549 MB / 321.8 MB, free: 10.61 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestLimTorque,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestLimTorque",fmuType="cs",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.001952/0.001952, allocations: 67.98 kB / 447.7 MB, free: 15.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1122, allocations: 55.43 MB / 0.4914 GB, free: 8.434 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.003661/0.1159, allocations: 1.916 MB / 0.4932 GB, free: 6.508 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002857/0.1188, allocations: 1.753 MB / 0.4949 GB, free: 4.746 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.1189, allocations: 3.938 kB / 0.4949 GB, free: 4.742 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003659/0.1193, allocations: 107.6 kB / 0.495 GB, free: 4.637 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004782/0.1197, allocations: 171.3 kB / 0.4952 GB, free: 4.469 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005408/0.1203, allocations: 179.4 kB / 0.4954 GB, free: 4.297 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004372/0.1207, allocations: 291.3 kB / 0.4957 GB, free: 4.012 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.1208, allocations: 24.58 kB / 0.4957 GB, free: 3.984 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002489/0.1211, allocations: 127.5 kB / 0.4958 GB, free: 3.859 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002637/0.1214, allocations: 151.5 kB / 0.4959 GB, free: 3.711 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.691e-05/0.1214, allocations: 16 kB / 0.496 GB, free: 3.695 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002556/0.1216, allocations: 127.9 kB / 0.4961 GB, free: 3.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.696e-05/0.1217, allocations: 51.78 kB / 0.4961 GB, free: 3.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.1219, allocations: 107.3 kB / 0.4962 GB, free: 3.414 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004665/0.1223, allocations: 334.7 kB / 0.4966 GB, free: 3.086 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1223, allocations: 0 / 0.4966 GB, free: 3.086 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1223, allocations: 0 / 0.4966 GB, free: 3.086 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1223, allocations: 0 / 0.4966 GB, free: 3.086 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.0008426/0.1232, allocations: 0.5739 MB / 0.4971 GB, free: 2.469 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.1232, allocations: 15.97 kB / 0.4971 GB, free: 2.453 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.511e-05/0.1232, allocations: 192 / 0.4971 GB, free: 2.453 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.552e-05/0.1233, allocations: 42.75 kB / 0.4972 GB, free: 2.402 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.725e-05/0.1234, allocations: 36.73 kB / 0.4972 GB, free: 2.367 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.1237, allocations: 214.7 kB / 0.4974 GB, free: 2.133 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1237, allocations: 16.12 kB / 0.4974 GB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.1237, allocations: 12 kB / 0.4974 GB, free: 2.105 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.1242, allocations: 155.3 kB / 0.4976 GB, free: 1.941 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1242, allocations: 0 / 0.4976 GB, free: 1.941 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.1242, allocations: 8 kB / 0.4976 GB, free: 1.934 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1242, allocations: 3.938 kB / 0.4976 GB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.1245, allocations: 95.92 kB / 0.4977 GB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.1256, allocations: 499.4 kB / 0.4982 GB, free: 1.305 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.1258, allocations: 90.53 kB / 0.4983 GB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.126, allocations: 56.83 kB / 0.4983 GB, free: 1.148 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.126, allocations: 3.984 kB / 0.4983 GB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.1261, allocations: 38.59 kB / 0.4983 GB, free: 1.098 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.1261, allocations: 4 kB / 0.4984 GB, free: 1.094 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007769/0.1268, allocations: 308.9 kB / 0.4986 GB, free: 0.7734 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.556e-05/0.1269, allocations: 136.5 kB / 0.4988 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004734/0.1274, allocations: 384.5 kB / 0.4991 GB, free: 232 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.1274, allocations: 29.7 kB / 0.4992 GB, free: 196 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.1276, allocations: 164.1 kB / 0.4993 GB, free: 28 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.497e-05/0.1276, allocations: 31.78 kB / 0.4994 GB, free: 15.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.449e-05/0.1277, allocations: 37.61 kB / 0.4994 GB, free: 15.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.1279, allocations: 342.8 kB / 0.4997 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.128, allocations: 51.97 kB / 0.4998 GB, free: 15.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.1282, allocations: 69.67 kB / 0.4998 GB, free: 15.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/0.1286, allocations: 227.9 kB / 0.5001 GB, free: 15.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1286, allocations: 0 / 0.5001 GB, free: 15.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005008/0.1291, allocations: 252.9 kB / 0.5003 GB, free: 14.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.843e-05/0.1291, allocations: 67.39 kB / 0.5004 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1291, allocations: 7.938 kB / 0.5004 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.1291, allocations: 0 / 0.5004 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.905e-05/0.1292, allocations: 15.98 kB / 0.5004 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.1292, allocations: 0 / 0.5004 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.1295, allocations: 31.92 kB / 0.5004 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.1295, allocations: 8 kB / 0.5004 GB, free: 14.83 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.0002015/0.1297, allocations: 221.2 kB / 0.5006 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.901e-05/0.1298, allocations: 27.86 kB / 0.5007 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005479/0.1303, allocations: 274.8 kB / 0.5009 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1303, allocations: 0 / 0.5009 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1303, allocations: 0 / 0.5009 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1303, allocations: 7.938 kB / 0.5009 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.1307, allocations: 264.5 kB / 0.5012 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1307, allocations: 3.938 kB / 0.5012 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.356e-05/0.1307, allocations: 15.98 kB / 0.5012 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1307, allocations: 0 / 0.5012 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.1308, allocations: 11.94 kB / 0.5012 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1308, allocations: 0 / 0.5012 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1308, allocations: 4.312 kB / 0.5012 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005843/0.1314, allocations: 370.6 kB / 0.5016 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.21e-05/0.1314, allocations: 35.83 kB / 0.5016 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.1315, allocations: 11.94 kB / 0.5016 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.1317, allocations: 31.97 kB / 0.5016 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/0.1318, allocations: 11.98 kB / 0.5017 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.1318, allocations: 4 kB / 0.5017 GB, free: 13.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003395/0.1321, allocations: 299 kB / 0.5019 GB, free: 13.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1321, allocations: 0 / 0.5019 GB, free: 13.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003591/0.1325, allocations: 63.88 kB / 0.502 GB, free: 13.09 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.002286/0.1348, allocations: 1.243 MB / 0.5032 GB, free: 11.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004877/0.1353, allocations: 242.7 kB / 0.5035 GB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1353, allocations: 0 / 0.5035 GB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002689/0.1356, allocations: 174.8 kB / 0.5036 GB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/0.136, allocations: 48.23 kB / 0.5037 GB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003406/0.1394, allocations: 2.546 MB / 0.5062 GB, free: 8.832 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.1398, allocations: 0.7551 MB / 0.5069 GB, free: 8.051 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.737e-05/0.1399, allocations: 29.72 kB / 0.5069 GB, free: 8.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.14, allocations: 79.39 kB / 0.507 GB, free: 7.941 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.14, allocations: 0 / 0.507 GB, free: 7.941 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02983/0.1699, allocations: 6.876 MB / 0.5137 GB, free: 1.121 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.65, allocations: 7.625 kB / 0.5137 GB, free: 1.117 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestLimTorque_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestLimTorque.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.57839321193751] Failed to read output from testmodel.py, exit status != 0: 12.07684399804566 12.091696451 11.966429421 Calling exit ...