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.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.001389/0.001389, allocations: 107.3 kB / 16.4 MB, free: 6.504 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.001441/0.001441, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.411/1.411, allocations: 222.9 MB / 245 MB, free: 15 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.0428/0.0428, allocations: 8.409 MB / 305.6 MB, free: 4.277 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/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_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: Performance of FrontEnd - loaded program: time 0.002637/0.002637, allocations: 67.88 kB / 422 MB, free: 21.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1097, allocations: 51.37 MB / 473.4 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.00328/0.1131, allocations: 1.856 MB / 475.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00223/0.1153, allocations: 1.476 MB / 476.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.1154, allocations: 4 kB / 476.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.1158, allocations: 119.5 kB / 476.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002977/0.1161, allocations: 107.5 kB / 476.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004578/0.1166, allocations: 184.7 kB / 477.1 MB, free: 14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003527/0.1169, allocations: 263.4 kB / 477.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.117, allocations: 36.28 kB / 477.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.1172, allocations: 111.6 kB / 477.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002607/0.1175, allocations: 127.5 kB / 477.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.1176, allocations: 19.94 kB / 477.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.1177, allocations: 71.97 kB / 477.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.259e-05/0.1178, allocations: 47.83 kB / 477.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.118, allocations: 103.3 kB / 477.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004281/0.1184, allocations: 282.8 kB / 478.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1184, allocations: 0 / 478.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1184, allocations: 0 / 478.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.1184, allocations: 4 kB / 478.2 MB, free: 12.95 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.0009532/0.1194, allocations: 0.6066 MB / 478.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.1195, allocations: 11.89 kB / 478.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.895e-05/0.1195, allocations: 54.67 kB / 478.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.974e-05/0.1196, allocations: 28.8 kB / 478.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.12, allocations: 275.8 kB / 479.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.12, allocations: 8.375 kB / 479.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.1201, allocations: 15.94 kB / 479.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/0.1204, allocations: 159.2 kB / 479.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1204, allocations: 4 kB / 479.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.1205, allocations: 3.938 kB / 479.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1205, allocations: 4 kB / 479.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002931/0.1208, allocations: 95.92 kB / 479.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.1219, allocations: 0.5043 MB / 479.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.1221, allocations: 114.5 kB / 480 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.1223, allocations: 72.83 kB / 480.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.599e-05/0.1224, allocations: 8.062 kB / 480.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.1224, allocations: 34.56 kB / 480.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.893e-06/0.1224, allocations: 0 / 480.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007156/0.1231, allocations: 305 kB / 480.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.661e-05/0.1232, allocations: 136.5 kB / 480.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004087/0.1236, allocations: 359 kB / 480.9 MB, free: 9.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.1237, allocations: 33.7 kB / 481 MB, free: 9.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.1238, allocations: 156 kB / 481.1 MB, free: 9.734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.1238, allocations: 31.73 kB / 481.1 MB, free: 9.703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.865e-05/0.1239, allocations: 33.72 kB / 481.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1241, allocations: 334.8 kB / 481.5 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.1242, allocations: 59.91 kB / 481.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.1244, allocations: 65.67 kB / 481.6 MB, free: 9.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003661/0.1248, allocations: 232 kB / 481.9 MB, free: 8.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1248, allocations: 0 / 481.9 MB, free: 8.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004747/0.1253, allocations: 252.8 kB / 482.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.942e-05/0.1254, allocations: 59.41 kB / 482.2 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1254, allocations: 0 / 482.2 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.1254, allocations: 3.938 kB / 482.2 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.1255, allocations: 19.98 kB / 482.2 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1255, allocations: 0 / 482.2 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.1258, allocations: 35.92 kB / 482.2 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.1258, allocations: 11.98 kB / 482.2 MB, free: 8.539 MB / 350.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.0002096/0.126, allocations: 213.6 kB / 482.4 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.187e-05/0.1261, allocations: 27.86 kB / 482.5 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005535/0.1266, allocations: 270.7 kB / 482.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1266, allocations: 4 kB / 482.7 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.1267, allocations: 0 / 482.7 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1267, allocations: 0 / 482.7 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003323/0.127, allocations: 289.4 kB / 483 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.127, allocations: 0 / 483 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.428e-05/0.1271, allocations: 19.92 kB / 483 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1271, allocations: 0 / 483 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.1271, allocations: 11.88 kB / 483 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1271, allocations: 0 / 483 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1271, allocations: 0 / 483 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005113/0.1277, allocations: 346.8 kB / 483.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.1278, allocations: 116.9 kB / 483.5 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.1278, allocations: 11.94 kB / 483.5 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.1281, allocations: 27.97 kB / 483.5 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.878e-05/0.1282, allocations: 19.92 kB / 483.6 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.1282, allocations: 8 kB / 483.6 MB, free: 7.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002883/0.1285, allocations: 273.9 kB / 483.8 MB, free: 6.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1285, allocations: 4 kB / 483.8 MB, free: 6.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000308/0.1288, allocations: 59.88 kB / 483.9 MB, free: 6.727 MB / 350.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.002083/0.1309, allocations: 1.17 MB / 485.1 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005076/0.1314, allocations: 262.7 kB / 485.3 MB, free: 5.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1314, allocations: 7.875 kB / 485.3 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002638/0.1317, allocations: 202.7 kB / 485.5 MB, free: 5.164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.1322, allocations: 44.5 kB / 485.6 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003284/0.1355, allocations: 2.471 MB / 488 MB, free: 2.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.1359, allocations: 0.7435 MB / 488.8 MB, free: 1.789 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.146e-05/0.136, allocations: 25.36 kB / 488.8 MB, free: 1.766 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.1361, allocations: 75.41 kB / 488.9 MB, free: 1.691 MB / 350.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1361, allocations: 0 / 488.9 MB, free: 1.691 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02937/0.1655, allocations: 6.062 MB / 494.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.677/8.843, allocations: 3.875 kB / 495 MB, free: 11.68 MB / 366.1 MB " [Timeout remaining time 651] (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: 11.355444678105414] Failed to read output from testmodel.py, exit status != 0: 8.966047764755785 8.982048214 8.86061366 Calling exit ...