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.001014/0.001014, allocations: 80.44 kB / 19.16 MB, free: 0.7344 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.0008479/0.0008479, allocations: 173.9 kB / 22.45 MB, free: 2.094 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.9206/0.9206, allocations: 177.2 MB / 202.8 MB, free: 5.746 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.0251/0.0251, allocations: 6.47 MB / 265.7 MB, free: 6.852 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.023e-06/2.023e-06, allocations: 0 / 391.7 MB, free: 5.727 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.622e-05, allocations: 8.672 kB / 391.7 MB, free: 5.719 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.00278/0.002806, allocations: 1.854 MB / 393.5 MB, free: 3.852 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.004703, allocations: 1.699 MB / 395.2 MB, free: 2.145 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.295e-05/0.004786, allocations: 4 kB / 395.2 MB, free: 2.141 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.005058, allocations: 111.5 kB / 395.4 MB, free: 2.031 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003747/0.005433, allocations: 171.1 kB / 395.5 MB, free: 1.863 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.005718, allocations: 179.7 kB / 395.7 MB, free: 1.691 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003035/0.006022, allocations: 295.3 kB / 396 MB, free: 1.402 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.006144, allocations: 28.56 kB / 396 MB, free: 1.371 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002321/0.006377, allocations: 159.5 kB / 396.2 MB, free: 1.215 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.00654, allocations: 131.6 kB / 396.3 MB, free: 1.086 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.006567, allocations: 16 kB / 396.3 MB, free: 1.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.006701, allocations: 111.9 kB / 396.4 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.964e-05/0.006771, allocations: 55.77 kB / 396.5 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.407e-05/0.006835, allocations: 71.72 kB / 396.5 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.007186, allocations: 342.9 kB / 396.9 MB, free: 0.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.007188, allocations: 0 / 396.9 MB, free: 0.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.995e-06/0.007191, allocations: 3.984 kB / 396.9 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.007202, allocations: 0 / 396.9 MB, free: 0.4961 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.0006344/0.007836, allocations: 0.5583 MB / 397.4 MB, free: 15.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.007881, allocations: 12.03 kB / 397.5 MB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.484e-05/0.007916, allocations: 42.73 kB / 397.5 MB, free: 15.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.007964, allocations: 32.75 kB / 397.5 MB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.008214, allocations: 233.8 kB / 397.8 MB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.008228, allocations: 4.375 kB / 397.8 MB, free: 15.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.008247, allocations: 16.38 kB / 397.8 MB, free: 15.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.008513, allocations: 240.6 kB / 398 MB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-06/0.008519, allocations: 4 kB / 398 MB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.008532, allocations: 8 kB / 398 MB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.008538, allocations: 0 / 398 MB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.008724, allocations: 159.3 kB / 398.2 MB, free: 15.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000575/0.009299, allocations: 459.5 kB / 398.6 MB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.00946, allocations: 141.9 kB / 398.8 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.009575, allocations: 124.2 kB / 398.9 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.009593, allocations: 4 kB / 398.9 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.009611, allocations: 30.56 kB / 398.9 MB, free: 14.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 8.01e-07/0.009612, allocations: 0 / 398.9 MB, free: 14.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004154/0.01003, allocations: 431.7 kB / 399.3 MB, free: 13.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.0101, allocations: 140.5 kB / 399.5 MB, free: 13.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.0104, allocations: 392.4 kB / 399.9 MB, free: 13.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.01042, allocations: 33.7 kB / 399.9 MB, free: 13.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.611e-05/0.0105, allocations: 156 kB / 400 MB, free: 13.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.01054, allocations: 39.69 kB / 400.1 MB, free: 12.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.01058, allocations: 30 kB / 400.1 MB, free: 12.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.01068, allocations: 338.8 kB / 400.4 MB, free: 12.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.01079, allocations: 115.4 kB / 400.6 MB, free: 12.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.01091, allocations: 158.7 kB / 400.7 MB, free: 12.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.01112, allocations: 227.6 kB / 400.9 MB, free: 12.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.01112, allocations: 3.938 kB / 400.9 MB, free: 12.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002797/0.0114, allocations: 300.3 kB / 401.2 MB, free: 11.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/0.01144, allocations: 67.39 kB / 401.3 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.01144, allocations: 4.031 kB / 401.3 MB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.01146, allocations: 0 / 401.3 MB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.085e-05/0.01152, allocations: 15.98 kB / 401.3 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/0.01153, allocations: 3.938 kB / 401.3 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.01163, allocations: 39.86 kB / 401.4 MB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.01164, allocations: 12 kB / 401.4 MB, free: 11.58 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.0001273/0.01177, allocations: 213.2 kB / 401.6 MB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.0118, allocations: 31.86 kB / 401.6 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003284/0.01213, allocations: 338.2 kB / 401.9 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-06/0.01213, allocations: 0 / 401.9 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.01213, allocations: 0 / 401.9 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.01214, allocations: 3.938 kB / 401.9 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.01232, allocations: 228.7 kB / 402.2 MB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.01233, allocations: 4.078 kB / 402.2 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.89e-05/0.01236, allocations: 15.94 kB / 402.2 MB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01237, allocations: 3.984 kB / 402.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.01238, allocations: 8 kB / 402.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01238, allocations: 0 / 402.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.01238, allocations: 0 / 402.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.01269, allocations: 426 kB / 402.6 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.746e-05/0.01275, allocations: 35.84 kB / 402.7 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.01277, allocations: 11.92 kB / 402.7 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.01288, allocations: 35.97 kB / 402.7 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.059e-05/0.01295, allocations: 15.92 kB / 402.7 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.01296, allocations: 4 kB / 402.7 MB, free: 10.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002046/0.01317, allocations: 291 kB / 403 MB, free: 9.816 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01317, allocations: 0 / 403 MB, free: 9.816 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000209/0.01338, allocations: 71.81 kB / 403.1 MB, free: 9.746 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.001279/0.01466, allocations: 1.328 MB / 404.4 MB, free: 8.559 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004075/0.01506, allocations: 361.4 kB / 404.8 MB, free: 8.156 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.01507, allocations: 0 / 404.8 MB, free: 8.156 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.01529, allocations: 242.2 kB / 405 MB, free: 7.883 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.01568, allocations: 45.81 kB / 405 MB, free: 7.844 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.01866, allocations: 2.838 MB / 407.9 MB, free: 4.852 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.01876, allocations: 144.7 kB / 408 MB, free: 4.691 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.295e-05/0.01881, allocations: 29.78 kB / 408 MB, free: 4.664 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.333e-05/0.01889, allocations: 76.47 kB / 408.1 MB, free: 4.59 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.0189, allocations: 0 / 408.1 MB, free: 4.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.04364, allocations: 7.603 MB / 415.7 MB, free: 13 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.719/6.763, allocations: 11.94 kB / 415.7 MB, free: 12.98 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.661852815188468] Failed to read output from testmodel.py, exit status != 0: 6.859685204923153 6.868348892 6.859502662 Calling exit ...