Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001473/0.001473, 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.00178/0.00178, allocations: 219 kB / 22.25 MB, free: 5.121 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 / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.04329/0.04329, allocations: 8.55 MB / 321 MB, free: 10.59 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/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_EHPTlib_MapBased_TestingModels_TestLimTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestLimTorque,fileNamePrefix="EHPTlib_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.002086/0.002086, allocations: 71.89 kB / 446.9 MB, free: 15.92 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1098, allocations: 55.41 MB / 0.4906 GB, free: 8.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.003955/0.1138, allocations: 1.928 MB / 0.4925 GB, free: 6.473 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003267/0.1171, allocations: 1.753 MB / 0.4942 GB, free: 4.711 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.1172, allocations: 0 / 0.4942 GB, free: 4.711 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003444/0.1175, allocations: 111.5 kB / 0.4943 GB, free: 4.602 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005769/0.1181, allocations: 167.3 kB / 0.4944 GB, free: 4.438 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000623/0.1187, allocations: 191.4 kB / 0.4946 GB, free: 4.254 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005699/0.1193, allocations: 291.3 kB / 0.4949 GB, free: 3.969 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.1194, allocations: 24.58 kB / 0.4949 GB, free: 3.941 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003188/0.1197, allocations: 123.5 kB / 0.495 GB, free: 3.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.12, allocations: 143.4 kB / 0.4952 GB, free: 3.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.067e-05/0.1201, allocations: 16 kB / 0.4952 GB, free: 3.664 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002689/0.1203, allocations: 131.9 kB / 0.4953 GB, free: 3.535 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.241e-05/0.1204, allocations: 55.77 kB / 0.4954 GB, free: 3.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.1206, allocations: 111.3 kB / 0.4955 GB, free: 3.371 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005436/0.1211, allocations: 334.7 kB / 0.4958 GB, free: 3.043 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1211, allocations: 0 / 0.4958 GB, free: 3.043 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1211, allocations: 0 / 0.4958 GB, free: 3.043 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.1211, allocations: 3.938 kB / 0.4958 GB, free: 3.039 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.0009808/0.1221, allocations: 0.5623 MB / 0.4963 GB, free: 2.434 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1221, allocations: 8.031 kB / 0.4963 GB, free: 2.426 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.694e-05/0.1222, allocations: 50.67 kB / 0.4964 GB, free: 2.367 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.875e-05/0.1223, allocations: 40.75 kB / 0.4964 GB, free: 2.328 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003685/0.1227, allocations: 214.6 kB / 0.4966 GB, free: 2.094 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.1227, allocations: 12.38 kB / 0.4967 GB, free: 2.082 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.1227, allocations: 11.94 kB / 0.4967 GB, free: 2.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/0.1231, allocations: 151.3 kB / 0.4968 GB, free: 1.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1231, allocations: 3.938 kB / 0.4968 GB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.1231, allocations: 4 kB / 0.4968 GB, free: 1.902 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1231, allocations: 7.938 kB / 0.4968 GB, free: 1.895 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002903/0.1234, allocations: 103.9 kB / 0.4969 GB, free: 1.793 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.1245, allocations: 495.4 kB / 0.4974 GB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.1247, allocations: 86.53 kB / 0.4975 GB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.1249, allocations: 56.83 kB / 0.4975 GB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.1249, allocations: 0 / 0.4975 GB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.125, allocations: 46.55 kB / 0.4976 GB, free: 1.059 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.125, allocations: 0 / 0.4976 GB, free: 1.059 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007367/0.1257, allocations: 305 kB / 0.4979 GB, free: 0.7422 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.611e-05/0.1258, allocations: 140.5 kB / 0.498 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005017/0.1263, allocations: 384.5 kB / 0.4984 GB, free: 196 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.1263, allocations: 33.7 kB / 0.4984 GB, free: 156 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.1265, allocations: 156.2 kB / 0.4985 GB, free: 15.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.752e-05/0.1265, allocations: 39.81 kB / 0.4986 GB, free: 15.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.1266, allocations: 37.66 kB / 0.4986 GB, free: 15.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1268, allocations: 334.8 kB / 0.4989 GB, free: 15.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.1269, allocations: 59.89 kB / 0.499 GB, free: 15.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.1271, allocations: 65.69 kB / 0.4991 GB, free: 15.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/0.1275, allocations: 236 kB / 0.4993 GB, free: 15.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.1275, allocations: 0 / 0.4993 GB, free: 15.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004651/0.1279, allocations: 252.8 kB / 0.4995 GB, free: 14.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.062e-05/0.128, allocations: 59.41 kB / 0.4996 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.128, allocations: 0 / 0.4996 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.128, allocations: 7.734 kB / 0.4996 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.1281, allocations: 12 kB / 0.4996 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1281, allocations: 3.984 kB / 0.4996 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.1284, allocations: 43.92 kB / 0.4996 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.1284, allocations: 4 kB / 0.4997 GB, free: 14.79 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.0002138/0.1286, allocations: 213.2 kB / 0.4999 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.729e-05/0.1287, allocations: 27.86 kB / 0.4999 GB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000543/0.1292, allocations: 278.7 kB / 0.5001 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1292, allocations: 4 kB / 0.5002 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1292, allocations: 0 / 0.5002 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1292, allocations: 0 / 0.5002 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003218/0.1295, allocations: 252.5 kB / 0.5004 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1295, allocations: 3.938 kB / 0.5004 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.701e-05/0.1296, allocations: 19.92 kB / 0.5004 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/0.1296, allocations: 8 kB / 0.5004 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/0.1297, allocations: 7.938 kB / 0.5004 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1297, allocations: 0 / 0.5004 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1297, allocations: 4 kB / 0.5004 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005405/0.1302, allocations: 358.7 kB / 0.5008 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.1303, allocations: 43.83 kB / 0.5008 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.484e-05/0.1304, allocations: 11.92 kB / 0.5008 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.1306, allocations: 35.91 kB / 0.5009 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.17e-05/0.1307, allocations: 19.97 kB / 0.5009 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.1307, allocations: 11.94 kB / 0.5009 GB, free: 13.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003328/0.131, allocations: 287 kB / 0.5012 GB, free: 13.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.131, allocations: 0 / 0.5012 GB, free: 13.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003536/0.1314, allocations: 67.86 kB / 0.5012 GB, free: 13.05 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.002351/0.1337, allocations: 1.233 MB / 0.5024 GB, free: 11.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004796/0.1342, allocations: 234.7 kB / 0.5027 GB, free: 11.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1342, allocations: 4 kB / 0.5027 GB, free: 11.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002631/0.1345, allocations: 182.7 kB / 0.5028 GB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.1349, allocations: 56.09 kB / 0.5029 GB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/0.1385, allocations: 2.542 MB / 0.5054 GB, free: 8.797 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.1389, allocations: 0.7589 MB / 0.5061 GB, free: 8.012 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.069e-05/0.139, allocations: 21.42 kB / 0.5061 GB, free: 7.988 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.1391, allocations: 79.39 kB / 0.5062 GB, free: 7.91 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1391, allocations: 4 kB / 0.5062 GB, free: 7.906 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04077/0.1799, allocations: 6.842 MB / 0.5129 GB, free: 1.109 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.59, allocations: 0 / 0.5129 GB, free: 1.109 MB / 382.1 MB " [Timeout remaining time 648] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_MapBased_TestingModels_TestLimTorque_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_MapBased_TestingModels_TestLimTorque.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.493792067980394] Failed to read output from testmodel.py, exit status != 0: 11.973499846179038 11.989785045 11.865321756 Calling exit ...