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.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.0009298/0.0009298, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008753/0.0008753, allocations: 165.9 kB / 22.45 MB, free: 2.105 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 0.9063/0.9063, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.02494/0.02494, allocations: 6.473 MB / 265.7 MB, free: 6.832 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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_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 2.575e-06/2.575e-06, allocations: 0 / 391.6 MB, free: 5.699 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/2.098e-05, allocations: 2.281 kB / 391.6 MB, free: 5.695 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.002585/0.002606, allocations: 1.846 MB / 393.5 MB, free: 3.836 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.004445, allocations: 1.706 MB / 395.2 MB, free: 2.121 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.004576, allocations: 0 / 395.2 MB, free: 2.121 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.004876, allocations: 111.5 kB / 395.3 MB, free: 2.012 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004531/0.005329, allocations: 171.1 kB / 395.5 MB, free: 1.844 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.005741, allocations: 183.1 kB / 395.6 MB, free: 1.668 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003224/0.006063, allocations: 299.1 kB / 395.9 MB, free: 1.375 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.006194, allocations: 24.56 kB / 396 MB, free: 1.348 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.006445, allocations: 167.5 kB / 396.1 MB, free: 1.184 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.006621, allocations: 123.7 kB / 396.2 MB, free: 1.062 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.006648, allocations: 16 kB / 396.3 MB, free: 1.047 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.006819, allocations: 115.9 kB / 396.4 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.722e-05/0.006887, allocations: 55.77 kB / 396.4 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.02e-05/0.006947, allocations: 59.8 kB / 396.5 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.007286, allocations: 354.8 kB / 396.8 MB, free: 484 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.007289, allocations: 0 / 396.8 MB, free: 484 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.00729, allocations: 0 / 396.8 MB, free: 484 kB / 362.7 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.007295, allocations: 0 / 396.8 MB, free: 484 kB / 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.0006186/0.007913, allocations: 0.5584 MB / 397.4 MB, free: 15.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.007955, allocations: 8.031 kB / 397.4 MB, free: 15.86 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.649e-05/0.007992, allocations: 46.75 kB / 397.4 MB, free: 15.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.812e-05/0.00804, allocations: 32.75 kB / 397.5 MB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.008275, allocations: 233.8 kB / 397.7 MB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.008286, allocations: 8.359 kB / 397.7 MB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.008303, allocations: 12.38 kB / 397.7 MB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.008585, allocations: 244.6 kB / 398 MB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.008597, allocations: 0 / 398 MB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.008612, allocations: 8 kB / 398 MB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.008618, allocations: 8 kB / 398 MB, free: 15.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.008793, allocations: 155.3 kB / 398.1 MB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006259/0.009419, allocations: 459.6 kB / 398.6 MB, free: 14.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.009591, allocations: 149.9 kB / 398.7 MB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.009698, allocations: 120.2 kB / 398.8 MB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.009722, allocations: 0 / 398.8 MB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.009745, allocations: 34.56 kB / 398.9 MB, free: 14.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.173e-06/0.009746, allocations: 0 / 398.9 MB, free: 14.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004615/0.01021, allocations: 427.8 kB / 399.3 MB, free: 13.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.01026, allocations: 136.5 kB / 399.4 MB, free: 13.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003132/0.01058, allocations: 392.5 kB / 399.8 MB, free: 13.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.01059, allocations: 29.98 kB / 399.8 MB, free: 13.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.517e-05/0.01068, allocations: 160 kB / 400 MB, free: 13.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.01071, allocations: 35.7 kB / 400 MB, free: 12.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/0.01076, allocations: 33.64 kB / 400.1 MB, free: 12.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.558e-05/0.01086, allocations: 338.8 kB / 400.4 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.01097, allocations: 119.3 kB / 400.5 MB, free: 12.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.01108, allocations: 154.8 kB / 400.7 MB, free: 12.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.01128, allocations: 235.5 kB / 400.9 MB, free: 12.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.01129, allocations: 0 / 400.9 MB, free: 12.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002958/0.01158, allocations: 300.3 kB / 401.2 MB, free: 11.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.425e-05/0.01163, allocations: 63.39 kB / 401.3 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.01163, allocations: 0 / 401.3 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.01164, allocations: 7.969 kB / 401.3 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.875e-05/0.01171, allocations: 15.98 kB / 401.3 MB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.01172, allocations: 3.938 kB / 401.3 MB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.01183, allocations: 39.92 kB / 401.3 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.01184, allocations: 4 kB / 401.3 MB, free: 11.56 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.0001306/0.01197, allocations: 217.2 kB / 401.5 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.01201, allocations: 27.86 kB / 401.6 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000363/0.01237, allocations: 338.3 kB / 401.9 MB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.01238, allocations: 0 / 401.9 MB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.01238, allocations: 4.094 kB / 401.9 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.01239, allocations: 11.86 kB / 401.9 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.01259, allocations: 224.7 kB / 402.1 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.01259, allocations: 0 / 402.1 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.948e-05/0.01263, allocations: 15.98 kB / 402.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01263, allocations: 0 / 402.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.01264, allocations: 4 kB / 402.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.01264, allocations: 8 kB / 402.2 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01264, allocations: 0 / 402.2 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.01295, allocations: 422 kB / 402.6 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.01301, allocations: 39.83 kB / 402.6 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.01304, allocations: 4 kB / 402.6 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.01315, allocations: 35.95 kB / 402.6 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.906e-05/0.01321, allocations: 19.92 kB / 402.7 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.01322, allocations: 8 kB / 402.7 MB, free: 10.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001998/0.01342, allocations: 287 kB / 403 MB, free: 9.797 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01342, allocations: 0 / 403 MB, free: 9.797 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002322/0.01365, allocations: 79.75 kB / 403 MB, free: 9.719 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.001196/0.01484, allocations: 1.329 MB / 404.4 MB, free: 8.535 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003244/0.01517, allocations: 365.5 kB / 404.7 MB, free: 8.129 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01517, allocations: 0 / 404.7 MB, free: 8.129 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.01533, allocations: 246.1 kB / 405 MB, free: 7.852 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.01566, allocations: 40.09 kB / 405 MB, free: 7.816 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.01827, allocations: 2.842 MB / 407.8 MB, free: 4.809 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.01837, allocations: 144.6 kB / 408 MB, free: 4.648 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.768e-05/0.01845, allocations: 29.77 kB / 408 MB, free: 4.621 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.852e-05/0.01854, allocations: 76.47 kB / 408.1 MB, free: 4.547 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01854, allocations: 0 / 408.1 MB, free: 4.547 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.04098, allocations: 7.603 MB / 415.7 MB, free: 12.98 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.89/6.931, allocations: 7.938 kB / 415.7 MB, free: 12.97 MB / 394.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file EHPTlib_latest_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_latest_EHPTlib_MapBased_TestingModels_TestLimTorque.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.79556286893785] Failed to read output from testmodel.py, exit status != 0: 7.031051903031766 7.045252406 7.035469214 Calling exit ...