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.0009213/0.0009213, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008731/0.0008731, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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.029/1.029, allocations: 177.2 MB / 202.8 MB, free: 5.547 MB / 186.7 MB " [Timeout remaining time 179] 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.0269/0.0269, allocations: 6.476 MB / 265.7 MB, free: 6.73 MB / 250.7 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: Performance of FrontEnd - loaded program: time 2.976e-06/2.976e-06, allocations: 0 / 391.6 MB, free: 5.734 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.98e-05, allocations: 2.281 kB / 391.6 MB, free: 5.73 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.002453/0.002473, allocations: 1.85 MB / 393.5 MB, free: 3.867 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.004198, allocations: 1.695 MB / 395.2 MB, free: 2.164 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.004305, allocations: 4 kB / 395.2 MB, free: 2.16 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.004605, allocations: 119.4 kB / 395.3 MB, free: 2.043 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004485/0.005053, allocations: 163.3 kB / 395.5 MB, free: 1.883 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.005414, allocations: 182.8 kB / 395.6 MB, free: 1.707 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003158/0.00573, allocations: 303.1 kB / 395.9 MB, free: 1.41 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.005848, allocations: 28.56 kB / 396 MB, free: 1.379 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.00609, allocations: 163.5 kB / 396.1 MB, free: 1.219 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.006261, allocations: 115.7 kB / 396.2 MB, free: 1.105 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.006289, allocations: 20 kB / 396.2 MB, free: 1.086 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.006457, allocations: 115.8 kB / 396.4 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.555e-05/0.006522, allocations: 55.77 kB / 396.4 MB, free: 0.918 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.028e-05/0.006583, allocations: 67.77 kB / 396.5 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003404/0.006923, allocations: 346.9 kB / 396.8 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.006927, allocations: 4 kB / 396.8 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.006928, allocations: 4 kB / 396.8 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.006932, allocations: 0 / 396.8 MB, free: 0.5039 MB / 362.7 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.0006618/0.007594, allocations: 0.5583 MB / 397.4 MB, free: 15.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.007634, allocations: 8.031 kB / 397.4 MB, free: 15.89 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.408e-05/0.007668, allocations: 42.73 kB / 397.4 MB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.699e-05/0.007725, allocations: 36.75 kB / 397.5 MB, free: 15.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.007983, allocations: 225.8 kB / 397.7 MB, free: 15.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.007997, allocations: 12.38 kB / 397.7 MB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.008014, allocations: 12.38 kB / 397.7 MB, free: 15.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.008296, allocations: 248.6 kB / 398 MB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.008305, allocations: 0 / 398 MB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.008319, allocations: 4 kB / 398 MB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.008324, allocations: 0 / 398 MB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.008504, allocations: 159.3 kB / 398.1 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000617/0.009121, allocations: 459.5 kB / 398.6 MB, free: 14.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.009307, allocations: 141.9 kB / 398.7 MB, free: 14.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.009421, allocations: 124.2 kB / 398.8 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.009446, allocations: 4 kB / 398.8 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.00947, allocations: 38.55 kB / 398.9 MB, free: 14.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.009472, allocations: 4 kB / 398.9 MB, free: 14.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004622/0.009934, allocations: 419.7 kB / 399.3 MB, free: 13.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.009997, allocations: 140.5 kB / 399.4 MB, free: 13.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004957/0.01049, allocations: 388.5 kB / 399.8 MB, free: 13.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.01051, allocations: 29.7 kB / 399.8 MB, free: 13.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.669e-05/0.0106, allocations: 160 kB / 400 MB, free: 13.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.01063, allocations: 39.91 kB / 400 MB, free: 13.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.01068, allocations: 29.72 kB / 400.1 MB, free: 12.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.01077, allocations: 342.8 kB / 400.4 MB, free: 12.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.0109, allocations: 115.3 kB / 400.5 MB, free: 12.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.01102, allocations: 154.8 kB / 400.7 MB, free: 12.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.01123, allocations: 231.5 kB / 400.9 MB, free: 12.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01123, allocations: 0 / 400.9 MB, free: 12.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002809/0.01151, allocations: 312.4 kB / 401.2 MB, free: 11.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.01155, allocations: 66.2 kB / 401.2 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.01156, allocations: 0 / 401.2 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.01157, allocations: 3.984 kB / 401.3 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.969e-05/0.01164, allocations: 19.98 kB / 401.3 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.01165, allocations: 7.875 kB / 401.3 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.01175, allocations: 31.92 kB / 401.3 MB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.01176, allocations: 8 kB / 401.3 MB, free: 11.59 MB / 378.7 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.0001372/0.0119, allocations: 221.2 kB / 401.5 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.01194, allocations: 27.86 kB / 401.6 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004276/0.01237, allocations: 338.2 kB / 401.9 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.01237, allocations: 0 / 401.9 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.01238, allocations: 0 / 401.9 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.01238, allocations: 3.938 kB / 401.9 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.0126, allocations: 228.7 kB / 402.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.0126, allocations: 3.938 kB / 402.1 MB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.709e-05/0.01266, allocations: 16 kB / 402.1 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.01267, allocations: 3.984 kB / 402.1 MB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.01269, allocations: 4 kB / 402.1 MB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.01269, allocations: 0 / 402.1 MB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.01269, allocations: 0 / 402.1 MB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004889/0.01318, allocations: 426 kB / 402.6 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.857e-05/0.01327, allocations: 35.84 kB / 402.6 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.0133, allocations: 11.98 kB / 402.6 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.01349, allocations: 31.97 kB / 402.6 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.492e-05/0.01357, allocations: 15.92 kB / 402.7 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.01358, allocations: 15.94 kB / 402.7 MB, free: 10.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002922/0.01388, allocations: 283 kB / 402.9 MB, free: 9.828 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01388, allocations: 0 / 402.9 MB, free: 9.828 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002438/0.01412, allocations: 71.81 kB / 403 MB, free: 9.758 MB / 378.7 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.001269/0.01539, allocations: 1.328 MB / 404.3 MB, free: 8.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003481/0.01574, allocations: 357.5 kB / 404.7 MB, free: 8.172 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.01574, allocations: 4 kB / 404.7 MB, free: 8.168 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.0159, allocations: 238.2 kB / 404.9 MB, free: 7.898 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.01619, allocations: 70.27 kB / 405 MB, free: 7.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.01862, allocations: 2.826 MB / 407.8 MB, free: 4.855 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.01873, allocations: 152.7 kB / 408 MB, free: 4.688 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.257e-05/0.01881, allocations: 25.78 kB / 408 MB, free: 4.664 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.73e-05/0.0189, allocations: 72.47 kB / 408.1 MB, free: 4.594 MB / 378.7 MB Notification: Performance of SimCode: time 8.31e-07/0.0189, allocations: 0 / 408.1 MB, free: 4.594 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/0.03995, allocations: 7.596 MB / 415.7 MB, free: 13.02 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.861/6.901, allocations: 3.938 kB / 415.7 MB, free: 13.02 MB / 394.7 MB " [Timeout remaining time 653] (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: 8.976249241270125] Failed to read output from testmodel.py, exit status != 0: 7.004682511091232 7.012837376 7.004162588 Calling exit ...