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.001809/0.001809, allocations: 101.1 kB / 16.4 MB, free: 6.484 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.002034/0.002034, allocations: 192.6 kB / 19.36 MB, free: 3.75 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.466/1.466, allocations: 222.9 MB / 245.1 MB, free: 15.03 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.04083/0.04083, allocations: 8.401 MB / 305.6 MB, free: 4.309 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.001845/0.001845, allocations: 71.88 kB / 422 MB, free: 21.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09333/0.09519, allocations: 51.37 MB / 473.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.003192/0.09842, allocations: 1.86 MB / 475.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002057/0.1005, allocations: 1.472 MB / 476.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.911e-05/0.1006, allocations: 4 kB / 476.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.1009, allocations: 107.6 kB / 476.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002849/0.1012, allocations: 119.4 kB / 476.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.1016, allocations: 178.3 kB / 477.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003524/0.1019, allocations: 271.4 kB / 477.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.1021, allocations: 40.3 kB / 477.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.1023, allocations: 107.6 kB / 477.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.1025, allocations: 123.5 kB / 477.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/0.1025, allocations: 19.94 kB / 477.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.1027, allocations: 79.95 kB / 477.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.516e-05/0.1028, allocations: 47.78 kB / 477.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.1029, allocations: 103.3 kB / 477.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003495/0.1032, allocations: 286.8 kB / 478.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1032, allocations: 0 / 478.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1033, allocations: 4 kB / 478.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.1033, allocations: 0 / 478.2 MB, free: 12.86 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.0007812/0.1041, allocations: 0.6027 MB / 478.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1041, allocations: 15.88 kB / 478.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.733e-05/0.1041, allocations: 38.75 kB / 478.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.489e-05/0.1042, allocations: 28.8 kB / 478.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.1045, allocations: 279.7 kB / 479.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.1045, allocations: 12.38 kB / 479.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.1046, allocations: 19.94 kB / 479.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.1049, allocations: 147.2 kB / 479.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.1049, allocations: 0 / 479.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.105, allocations: 8 kB / 479.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.105, allocations: 0 / 479.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002785/0.1053, allocations: 103.8 kB / 479.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009549/0.1062, allocations: 0.5004 MB / 479.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.1065, allocations: 114.4 kB / 480 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.1066, allocations: 80.83 kB / 480.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.1067, allocations: 0 / 480.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.1067, allocations: 34.56 kB / 480.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.1067, allocations: 0 / 480.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006511/0.1074, allocations: 305 kB / 480.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.975e-05/0.1075, allocations: 136.5 kB / 480.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003845/0.1079, allocations: 363 kB / 480.9 MB, free: 9.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.1079, allocations: 29.7 kB / 481 MB, free: 9.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.108, allocations: 156 kB / 481.1 MB, free: 9.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.1081, allocations: 35.73 kB / 481.1 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.23e-05/0.1081, allocations: 26.08 kB / 481.2 MB, free: 9.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1083, allocations: 342.8 kB / 481.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.1084, allocations: 59.94 kB / 481.6 MB, free: 9.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.1086, allocations: 69.7 kB / 481.6 MB, free: 9.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/0.109, allocations: 231.5 kB / 481.9 MB, free: 8.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.109, allocations: 0 / 481.9 MB, free: 8.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004268/0.1094, allocations: 241 kB / 482.1 MB, free: 8.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.563e-05/0.1095, allocations: 74 kB / 482.2 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1095, allocations: 80 / 482.2 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1095, allocations: 3.938 kB / 482.2 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.1096, allocations: 15.98 kB / 482.2 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.1096, allocations: 3.984 kB / 482.2 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.1098, allocations: 43.84 kB / 482.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.1099, allocations: 12 kB / 482.2 MB, free: 8.449 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.0001914/0.1101, allocations: 209.7 kB / 482.4 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.82e-05/0.1101, allocations: 27.86 kB / 482.5 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000501/0.1106, allocations: 270.7 kB / 482.7 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.1106, allocations: 0 / 482.7 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1107, allocations: 0 / 482.7 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1107, allocations: 0 / 482.7 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.111, allocations: 281.5 kB / 483 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.111, allocations: 96 / 483 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.763e-05/0.1111, allocations: 19.92 kB / 483 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.1111, allocations: 0 / 483 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.1111, allocations: 11.88 kB / 483 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.1111, allocations: 4 kB / 483 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1111, allocations: 0 / 483 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004914/0.1116, allocations: 354.7 kB / 483.4 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.1117, allocations: 112.9 kB / 483.5 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.1118, allocations: 11.94 kB / 483.5 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.112, allocations: 35.95 kB / 483.5 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/0.1121, allocations: 8 kB / 483.6 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.1121, allocations: 7.984 kB / 483.6 MB, free: 6.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002806/0.1124, allocations: 273.9 kB / 483.8 MB, free: 6.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1124, allocations: 0 / 483.8 MB, free: 6.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000284/0.1127, allocations: 59.88 kB / 483.9 MB, free: 6.652 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.001991/0.1147, allocations: 1.173 MB / 485.1 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004667/0.1151, allocations: 270.6 kB / 485.3 MB, free: 5.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1152, allocations: 3.938 kB / 485.3 MB, free: 5.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002564/0.1154, allocations: 202.7 kB / 485.5 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.1158, allocations: 49.86 kB / 485.6 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.1189, allocations: 2.464 MB / 488 MB, free: 2.488 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.1193, allocations: 0.7513 MB / 488.8 MB, free: 1.711 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.123e-05/0.1194, allocations: 29.36 kB / 488.8 MB, free: 1.684 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.1195, allocations: 71.41 kB / 488.9 MB, free: 1.613 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1195, allocations: 3.938 kB / 488.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.1466, allocations: 6.048 MB / 494.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.803/7.949, allocations: 10.5 kB / 495 MB, free: 11.6 MB / 366.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file EHPTlib_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_EHPTlib_MapBased_TestingModels_TestLimTorque.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.60057211201638] Failed to read output from testmodel.py, exit status != 0: 8.07982597197406 8.105737961 7.998069338 Calling exit ...