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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 104.4 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 225.6 MB / 249.9 MB, free: 13.45 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04186/0.04186, allocations: 8.534 MB / 313.6 MB, free: 0.6758 MB / 238.1 MB [Timeout remaining time 90] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/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: translateModel(EHPTlib.MapBased.TestingModels.TestLimTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque") translateModel(EHPTlib.MapBased.TestingModels.TestLimTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 67.89 kB / 436.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08616/0.08804, allocations: 54.2 MB / 491.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.003194/0.09124, allocations: 1.866 MB / 493 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002119/0.09336, allocations: 1.539 MB / 494.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.929e-05/0.09342, allocations: 0 / 494.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.0937, allocations: 111.5 kB / 494.7 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000296/0.094, allocations: 111.5 kB / 494.8 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.09445, allocations: 186.2 kB / 494.9 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003454/0.0948, allocations: 267.3 kB / 495.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.908e-05/0.0949, allocations: 24.3 kB / 495.2 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.09507, allocations: 107.6 kB / 495.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.09532, allocations: 131.5 kB / 495.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.09535, allocations: 20 kB / 495.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.0955, allocations: 75.91 kB / 495.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.612e-05/0.09558, allocations: 47.83 kB / 495.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.09568, allocations: 103.3 kB / 495.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.09604, allocations: 282.8 kB / 496 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.09605, allocations: 4 kB / 496 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09605, allocations: 0 / 496 MB, free: 2.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.09606, allocations: 0 / 496 MB, free: 2.094 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.0008054/0.09687, allocations: 0.6105 MB / 496.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.0969, allocations: 11.89 kB / 496.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.732e-05/0.09697, allocations: 28.8 kB / 496.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.09732, allocations: 279.7 kB / 496.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.09733, allocations: 8.375 kB / 496.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.09736, allocations: 20.12 kB / 496.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.09769, allocations: 146.1 kB / 497.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.0977, allocations: 0 / 497.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.09772, allocations: 15.88 kB / 497.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.09772, allocations: 0 / 497.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002722/0.098, allocations: 103.8 kB / 497.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009696/0.09897, allocations: 0.5004 MB / 497.7 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.09919, allocations: 90.53 kB / 497.8 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.09935, allocations: 60.81 kB / 497.8 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.09938, allocations: 4 kB / 497.8 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.0994, allocations: 30.56 kB / 497.9 MB, free: 16 kB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.0994, allocations: 0 / 497.9 MB, free: 16 kB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007049/0.1001, allocations: 309.2 kB / 498.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.049e-05/0.1002, allocations: 132.5 kB / 498.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004187/0.1006, allocations: 370.9 kB / 498.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.1006, allocations: 29.7 kB / 498.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.1008, allocations: 152.3 kB / 498.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/0.1008, allocations: 31.75 kB / 498.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.928e-05/0.1009, allocations: 37.7 kB / 498.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.101, allocations: 338.8 kB / 499.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.1012, allocations: 51.97 kB / 499.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.1013, allocations: 73.61 kB / 499.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/0.1017, allocations: 227.6 kB / 499.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1017, allocations: 4.031 kB / 499.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000452/0.1021, allocations: 244.8 kB / 499.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.243e-05/0.1022, allocations: 65.89 kB / 499.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1022, allocations: 0 / 499.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.1022, allocations: 7.938 kB / 499.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.1023, allocations: 19.98 kB / 499.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1023, allocations: 0 / 499.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.1026, allocations: 39.86 kB / 500 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.1026, allocations: 4 kB / 500 MB, free: 13.77 MB / 366.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.0002103/0.1028, allocations: 222.5 kB / 0.4885 GB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.017e-05/0.1029, allocations: 23.86 kB / 0.4885 GB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000522/0.1034, allocations: 278.7 kB / 0.4888 GB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.1034, allocations: 7.938 kB / 0.4888 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.1034, allocations: 4 kB / 0.4888 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.1034, allocations: 4.078 kB / 0.4888 GB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003077/0.1037, allocations: 277.4 kB / 0.489 GB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1037, allocations: 0 / 0.489 GB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.404e-05/0.1038, allocations: 15.98 kB / 0.489 GB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1038, allocations: 0 / 0.489 GB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.1038, allocations: 11.98 kB / 0.4891 GB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.1038, allocations: 7.875 kB / 0.4891 GB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1038, allocations: 0 / 0.4891 GB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005188/0.1043, allocations: 350.8 kB / 0.4894 GB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.1044, allocations: 116.9 kB / 0.4895 GB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.1045, allocations: 8 kB / 0.4895 GB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.1047, allocations: 31.91 kB / 0.4895 GB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.1048, allocations: 15.98 kB / 0.4896 GB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.1048, allocations: 12 kB / 0.4896 GB, free: 12.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003/0.1051, allocations: 273.9 kB / 0.4898 GB, free: 12.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1051, allocations: 0 / 0.4898 GB, free: 12.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003017/0.1054, allocations: 55.89 kB / 0.4899 GB, free: 11.95 MB / 366.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.001334/0.1067, allocations: 399 kB / 0.4903 GB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004675/0.1072, allocations: 242.7 kB / 0.4905 GB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1072, allocations: 0 / 0.4905 GB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002492/0.1074, allocations: 186.9 kB / 0.4907 GB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.1079, allocations: 44.95 kB / 0.4907 GB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008113/0.1087, allocations: 487.3 kB / 0.4912 GB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.1091, allocations: 0.7552 MB / 0.4919 GB, free: 9.891 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.516e-05/0.1091, allocations: 19.38 kB / 0.4919 GB, free: 9.875 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1091, allocations: 0 / 0.4919 GB, free: 9.875 MB / 366.1 MB Notification: Performance of Templates: time 0.005731/0.1148, allocations: 3.285 MB / 0.4952 GB, free: 6.598 MB / 366.1 MB [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.makefile [Timeout 660] (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 & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 480]