Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.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.001003/0.001003, allocations: 76.55 kB / 19.93 MB, free: 4.617 MB / 18.57 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.0008155/0.0008155, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.8977/0.8977, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.02439/0.02439, allocations: 6.483 MB / 266.4 MB, free: 6.828 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: translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 392.9 MB, free: 4.023 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.916e-05, allocations: 5.375 kB / 392.9 MB, free: 4.02 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2): time 0.004927/0.004957, allocations: 4.828 MB / 397.7 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002633/0.00759, allocations: 2.282 MB / 400 MB, free: 12.88 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002655/0.007855, allocations: 15.94 kB / 400 MB, free: 12.86 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003741/0.008229, allocations: 202.5 kB / 400.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004962/0.008725, allocations: 305.9 kB / 400.5 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003981/0.009123, allocations: 378.9 kB / 400.9 MB, free: 11.99 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006538/0.009777, allocations: 0.9817 MB / 401.9 MB, free: 11 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000367/0.01014, allocations: 315.5 kB / 402.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004977/0.01064, allocations: 0.5691 MB / 402.8 MB, free: 10.11 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003504/0.01099, allocations: 326.9 kB / 403.1 MB, free: 9.785 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.118e-05/0.01108, allocations: 108 kB / 403.2 MB, free: 9.68 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.01131, allocations: 219.7 kB / 403.4 MB, free: 9.465 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.01147, allocations: 219.2 kB / 403.6 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.01167, allocations: 291.2 kB / 403.9 MB, free: 8.965 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.01291, allocations: 1.223 MB / 405.1 MB, free: 7.738 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.01292, allocations: 0 / 405.1 MB, free: 7.738 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01292, allocations: 0 / 405.1 MB, free: 7.738 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.01293, allocations: 4 kB / 405.1 MB, free: 7.734 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001327/0.01425, allocations: 1.158 MB / 406.3 MB, free: 6.523 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.01429, allocations: 12.03 kB / 406.3 MB, free: 6.512 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.01441, allocations: 96.33 kB / 406.4 MB, free: 6.418 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005223/0.01493, allocations: 467.2 kB / 406.8 MB, free: 5.934 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-05/0.01503, allocations: 109.3 kB / 406.9 MB, free: 5.816 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.822e-05/0.01511, allocations: 84.25 kB / 407 MB, free: 5.734 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008708/0.01598, allocations: 0.8416 MB / 407.9 MB, free: 4.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.016, allocations: 4 kB / 407.9 MB, free: 4.836 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.317e-05/0.01604, allocations: 32 kB / 407.9 MB, free: 4.805 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.01605, allocations: 16 kB / 407.9 MB, free: 4.789 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007657/0.01682, allocations: 0.5823 MB / 408.5 MB, free: 4.191 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002117/0.01893, allocations: 2.188 MB / 410.7 MB, free: 1.902 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006277/0.01956, allocations: 422.3 kB / 411.1 MB, free: 1.469 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.01982, allocations: 236.4 kB / 411.3 MB, free: 1.223 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.01985, allocations: 4.281 kB / 411.3 MB, free: 1.219 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004113/0.02026, allocations: 393.5 kB / 411.7 MB, free: 0.793 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.412e-06/0.02026, allocations: 0 / 411.7 MB, free: 0.793 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.1552/0.1754, allocations: 0.7819 MB / 412.5 MB, free: 32.01 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.782e-05/0.1755, allocations: 171.9 kB / 412.7 MB, free: 31.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006261/0.1761, allocations: 0.5267 MB / 413.2 MB, free: 31.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.719e-05/0.1762, allocations: 38.92 kB / 413.2 MB, free: 31.68 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.1764, allocations: 385.4 kB / 413.6 MB, free: 31.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.187e-05/0.1765, allocations: 123.6 kB / 413.7 MB, free: 31.51 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.1766, allocations: 97.8 kB / 413.8 MB, free: 31.46 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.198e-05/0.1767, allocations: 368.1 kB / 414.2 MB, free: 31.12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003401/0.177, allocations: 275.3 kB / 414.5 MB, free: 30.96 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.1774, allocations: 449 kB / 414.9 MB, free: 30.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000582/0.1779, allocations: 0.604 MB / 415.5 MB, free: 30.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.178, allocations: 5.5 kB / 415.5 MB, free: 30.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008202/0.1788, allocations: 0.7594 MB / 416.3 MB, free: 29.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.052e-05/0.1788, allocations: 96.25 kB / 416.4 MB, free: 29.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.1788, allocations: 4.938 kB / 416.4 MB, free: 29.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001276/0.179, allocations: 21.83 kB / 416.4 MB, free: 29.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.1792, allocations: 105.5 kB / 416.5 MB, free: 29.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005722/0.1798, allocations: 1.251 MB / 417.7 MB, free: 28.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/0.18, allocations: 83.45 kB / 417.8 MB, free: 28.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.1801, allocations: 20.86 kB / 417.8 MB, free: 28.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003973/0.1805, allocations: 430.4 kB / 418.3 MB, free: 28.04 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002868/0.1808, allocations: 436.5 kB / 418.7 MB, free: 27.67 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005023/0.1813, allocations: 0.5897 MB / 419.3 MB, free: 27.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.784e-06/0.1813, allocations: 1.438 kB / 419.3 MB, free: 27.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0007314/0.182, allocations: 0.7318 MB / 420 MB, free: 26.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.182, allocations: 97.41 kB / 420.1 MB, free: 26.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.182, allocations: 4.812 kB / 420.1 MB, free: 26.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.584e-05/0.1821, allocations: 28.69 kB / 420.1 MB, free: 26.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.1823, allocations: 97.61 kB / 420.2 MB, free: 26.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003995/0.1827, allocations: 1.25 MB / 421.5 MB, free: 25.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.1829, allocations: 76.12 kB / 421.6 MB, free: 25.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.1829, allocations: 22.58 kB / 421.6 MB, free: 25.39 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 8 (oneFlange.limTau.state,oneFlange.limitingTorque,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1,oneFlange.pDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001152/0.183, allocations: 286.4 kB / 421.9 MB, free: 25.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.312e-05/0.1831, allocations: 54.72 kB / 421.9 MB, free: 25.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007001/0.1838, allocations: 0.5856 MB / 422.5 MB, free: 24.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1838, allocations: 3.531 kB / 422.5 MB, free: 24.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1838, allocations: 0.8906 kB / 422.5 MB, free: 24.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1838, allocations: 5.047 kB / 422.5 MB, free: 24.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.185, allocations: 1.14 MB / 423.6 MB, free: 24.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.185, allocations: 0.6094 kB / 423.6 MB, free: 24.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.1852, allocations: 70.3 kB / 423.7 MB, free: 24.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.301e-05/0.1852, allocations: 26.2 kB / 423.7 MB, free: 24.06 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.1853, allocations: 12.78 kB / 423.8 MB, free: 24.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003784/0.1856, allocations: 1.242 MB / 425 MB, free: 22.81 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1856, allocations: 0 / 425 MB, free: 22.81 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009384/0.1866, allocations: 0.9645 MB / 426 MB, free: 22.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.1867, allocations: 92.31 kB / 426.1 MB, free: 22.15 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.1867, allocations: 11.08 kB / 426.1 MB, free: 22.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.1869, allocations: 47.53 kB / 426.1 MB, free: 22.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.961e-05/0.187, allocations: 34.19 kB / 426.1 MB, free: 22.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.187, allocations: 14.84 kB / 426.2 MB, free: 22.13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002704/0.1873, allocations: 374.5 kB / 426.5 MB, free: 21.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1873, allocations: 0 / 426.5 MB, free: 21.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006009/0.1879, allocations: 346.9 kB / 426.9 MB, free: 21.84 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,oneFlange.pDC.integrator1.y) * Number of discrete variables: 5 ($whenCondition1,tauRef.T_start,tauRef.count,oneFlange.limitingTorque,oneFlange.limTau.state) * Number of discrete states: 2 (tauRef.count,oneFlange.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008231/0.1887, allocations: 0.4945 MB / 427.4 MB, free: 21.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001279/0.19, allocations: 1.433 MB / 428.8 MB, free: 20.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.19, allocations: 0.9375 kB / 428.8 MB, free: 20.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003747/0.1904, allocations: 490.6 kB / 429.3 MB, free: 20.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.1907, allocations: 84.44 kB / 429.4 MB, free: 20.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.1921, allocations: 1.302 MB / 430.7 MB, free: 19.39 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.1924, allocations: 312.5 kB / 431 MB, free: 19.28 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.908e-05/0.1925, allocations: 49.72 kB / 431 MB, free: 19.27 MB / 330.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1925, allocations: 0 / 431 MB, free: 19.27 MB / 330.7 MB Notification: Performance of Templates: time 0.008857/0.2013, allocations: 11.81 MB / 442.8 MB, free: 12.64 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.032721090130508] Failed to read output from testmodel.py, exit status != 0: 0.2066217791289091 0.212417569 0.197910947 Calling exit ...