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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 107.1 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.04122/0.04122, allocations: 8.54 MB / 311.2 MB, free: 1.352 MB / 238.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 59.91 kB / 433.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.106, allocations: 54.2 MB / 487.4 MB, free: 8.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.003631/0.1097, allocations: 1.872 MB / 489.3 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002468/0.1121, allocations: 1.491 MB / 490.8 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.1122, allocations: 0 / 490.8 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003546/0.1126, allocations: 107.5 kB / 490.9 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003273/0.1129, allocations: 115.5 kB / 491 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000464/0.1134, allocations: 181.1 kB / 491.2 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003874/0.1138, allocations: 271.4 kB / 491.4 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1139, allocations: 20.31 kB / 491.5 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.114, allocations: 103.6 kB / 491.6 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002566/0.1143, allocations: 139.5 kB / 491.7 MB, free: 4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.1143, allocations: 20 kB / 491.7 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.1145, allocations: 79.91 kB / 491.8 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.45e-05/0.1146, allocations: 43.84 kB / 491.8 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.1147, allocations: 107.3 kB / 491.9 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003933/0.1151, allocations: 282.8 kB / 492.2 MB, free: 3.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1151, allocations: 0 / 492.2 MB, free: 3.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1151, allocations: 0 / 492.2 MB, free: 3.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.1151, allocations: 0 / 492.2 MB, free: 3.477 MB / 350.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.0009061/0.116, allocations: 0.6105 MB / 492.8 MB, free: 2.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.1161, allocations: 15.89 kB / 492.8 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.862e-05/0.1161, allocations: 42.73 kB / 492.9 MB, free: 2.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.052e-05/0.1162, allocations: 32.8 kB / 492.9 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/0.1166, allocations: 279.7 kB / 493.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.1166, allocations: 12.38 kB / 493.2 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.1167, allocations: 15.88 kB / 493.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/0.117, allocations: 154 kB / 493.4 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.117, allocations: 4 kB / 493.4 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.1171, allocations: 7.938 kB / 493.4 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1171, allocations: 4 kB / 493.4 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002729/0.1173, allocations: 91.92 kB / 493.5 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.1184, allocations: 0.5004 MB / 494 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.1187, allocations: 94.52 kB / 494.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.1188, allocations: 60.81 kB / 494.1 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.1189, allocations: 8 kB / 494.1 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.1189, allocations: 30.56 kB / 494.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.1189, allocations: 0 / 494.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007481/0.1197, allocations: 305 kB / 494.5 MB, free: 1.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.1198, allocations: 136.5 kB / 494.6 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004812/0.1202, allocations: 363 kB / 495 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.1203, allocations: 33.7 kB / 495 MB, free: 464 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.1204, allocations: 156 kB / 495.1 MB, free: 304 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/0.1205, allocations: 31.75 kB / 495.2 MB, free: 272 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.108e-05/0.1206, allocations: 37.7 kB / 495.2 MB, free: 228 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.1208, allocations: 330.8 kB / 495.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.1209, allocations: 51.97 kB / 495.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.1211, allocations: 85.89 kB / 495.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003588/0.1214, allocations: 231.6 kB / 495.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1215, allocations: 0 / 495.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004461/0.1219, allocations: 244.8 kB / 496.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.339e-05/0.122, allocations: 67.39 kB / 496.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.122, allocations: 0 / 496.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.122, allocations: 3.938 kB / 496.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.1221, allocations: 20.02 kB / 496.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.1221, allocations: 0 / 496.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.1223, allocations: 35.86 kB / 496.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.1223, allocations: 8 kB / 496.3 MB, free: 15.09 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.0002223/0.1226, allocations: 213.8 kB / 496.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.852e-05/0.1226, allocations: 27.86 kB / 496.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005372/0.1232, allocations: 278.7 kB / 496.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1232, allocations: 3.938 kB / 496.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1232, allocations: 0 / 496.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.1232, allocations: 0 / 496.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.1235, allocations: 273.5 kB / 497 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1235, allocations: 0 / 497 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.068e-05/0.1236, allocations: 15.98 kB / 497.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1236, allocations: 0 / 497.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.1236, allocations: 19.92 kB / 497.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.1236, allocations: 4.031 kB / 497.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1236, allocations: 7.938 kB / 497.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005417/0.1242, allocations: 350.8 kB / 497.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.1243, allocations: 112.9 kB / 497.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.212e-05/0.1243, allocations: 7.938 kB / 497.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.1246, allocations: 31.97 kB / 497.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.852e-05/0.1247, allocations: 19.98 kB / 497.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.1247, allocations: 4 kB / 497.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003146/0.125, allocations: 273.9 kB / 497.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.125, allocations: 0 / 497.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003076/0.1253, allocations: 55.89 kB / 497.9 MB, free: 13.29 MB / 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.002173/0.1275, allocations: 1.195 MB / 499.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005065/0.128, allocations: 238.7 kB / 499.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.128, allocations: 0 / 499.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.1282, allocations: 186.7 kB / 499.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.1287, allocations: 46.03 kB / 499.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/0.1322, allocations: 2.475 MB / 0.4903 GB, free: 9.133 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.1327, allocations: 0.7513 MB / 0.491 GB, free: 8.355 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.574e-05/0.1327, allocations: 17.08 kB / 0.491 GB, free: 8.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.1329, allocations: 67.41 kB / 0.4911 GB, free: 8.273 MB / 366.1 MB Notification: Performance of SimCode: time 1.072e-06/0.1329, allocations: 0 / 0.4911 GB, free: 8.273 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03152/0.1644, allocations: 6.103 MB / 0.4971 GB, free: 2.207 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.889/9.053, allocations: 9.547 kB / 0.4971 GB, free: 2.203 MB / 366.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 & /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 sys.exit(0), Time elapsed: 11.758270532824099] Failed to read output from testmodel.py, exit status != 0: 9.204731355886906 9.23271808 9.112328675 Calling exit ...