Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.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.001002/0.001002, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.001042/0.001042, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9005/0.9005, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.02554/0.02554, allocations: 6.47 MB / 266.4 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 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: translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.016e-06/3.016e-06, allocations: 0 / 392.9 MB, free: 5.223 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.309e-05/3.611e-05, allocations: 2.281 kB / 392.9 MB, free: 5.219 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.006038/0.006074, allocations: 4.096 MB / 397 MB, free: 1.098 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004274/0.01035, allocations: 2.325 MB / 399.3 MB, free: 14.76 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005949/0.01094, allocations: 15.94 kB / 399.3 MB, free: 14.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000537/0.01148, allocations: 170.6 kB / 399.5 MB, free: 14.58 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009495/0.01243, allocations: 281.8 kB / 399.8 MB, free: 14.3 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009561/0.01339, allocations: 430.8 kB / 400.2 MB, free: 13.88 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00116/0.01455, allocations: 0.9856 MB / 401.2 MB, free: 12.89 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005826/0.01513, allocations: 345 kB / 401.5 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008173/0.01595, allocations: 0.573 MB / 402.1 MB, free: 11.96 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005044/0.01645, allocations: 307 kB / 402.4 MB, free: 11.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000155/0.0166, allocations: 116 kB / 402.5 MB, free: 11.54 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003887/0.01699, allocations: 203.8 kB / 402.7 MB, free: 11.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002407/0.01723, allocations: 259.2 kB / 402.9 MB, free: 11.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003651/0.0176, allocations: 311.2 kB / 403.3 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.01916, allocations: 1.316 MB / 404.6 MB, free: 9.465 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.01917, allocations: 0 / 404.6 MB, free: 9.465 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.01917, allocations: 0 / 404.6 MB, free: 9.465 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.313e-05/0.0192, allocations: 0 / 404.6 MB, free: 9.465 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002144/0.02135, allocations: 1.203 MB / 405.8 MB, free: 8.211 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.0214, allocations: 8.031 kB / 405.8 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.02159, allocations: 100.3 kB / 405.9 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.02276, allocations: 0.5225 MB / 406.4 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.538e-05/0.02282, allocations: 54.38 kB / 406.5 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.02293, allocations: 80.33 kB / 406.5 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.02426, allocations: 0.8786 MB / 407.4 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/0.02429, allocations: 7.922 kB / 407.4 MB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.894e-05/0.02435, allocations: 32 kB / 407.5 MB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.02436, allocations: 16 kB / 407.5 MB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.02575, allocations: 0.585 MB / 408.1 MB, free: 5.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002615/0.02836, allocations: 2.283 MB / 410.3 MB, free: 3.457 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006565/0.02902, allocations: 425.6 kB / 410.8 MB, free: 3.023 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002562/0.02928, allocations: 228.4 kB / 411 MB, free: 2.785 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/0.02931, allocations: 4 kB / 411 MB, free: 2.781 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004187/0.02973, allocations: 390.7 kB / 411.4 MB, free: 2.359 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 1.633e-06/0.02973, allocations: 4 kB / 411.4 MB, free: 2.355 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.001072/0.0308, allocations: 0.7791 MB / 412.1 MB, free: 1.531 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/0.03088, allocations: 170.2 kB / 412.3 MB, free: 1.328 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005171/0.03139, allocations: 0.6035 MB / 412.9 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.03142, allocations: 41.7 kB / 413 MB, free: 0.668 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004678/0.03189, allocations: 400.2 kB / 413.3 MB, free: 280 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.126e-05/0.03196, allocations: 126.9 kB / 413.5 MB, free: 152 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.03207, allocations: 98.14 kB / 413.6 MB, free: 48 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.03218, allocations: 362.8 kB / 413.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002857/0.03247, allocations: 275.8 kB / 414.2 MB, free: 15.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.03281, allocations: 451.8 kB / 414.6 MB, free: 14.87 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005631/0.03337, allocations: 0.6037 MB / 415.2 MB, free: 14.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.03338, allocations: 3.938 kB / 415.2 MB, free: 14.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007874/0.03417, allocations: 0.7556 MB / 416 MB, free: 13.38 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.809e-05/0.03422, allocations: 95.75 kB / 416.1 MB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.03423, allocations: 4 kB / 416.1 MB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001353/0.03437, allocations: 28.84 kB / 416.1 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.03458, allocations: 99.81 kB / 416.2 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007544/0.03533, allocations: 1.265 MB / 417.5 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.03557, allocations: 75.64 kB / 417.6 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.0356, allocations: 20 kB / 417.6 MB, free: 11.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004655/0.03606, allocations: 458.3 kB / 418 MB, free: 11.21 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003156/0.03638, allocations: 428 kB / 418.4 MB, free: 10.71 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005202/0.0369, allocations: 0.5748 MB / 419 MB, free: 10.05 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.555e-06/0.0369, allocations: 4 kB / 419 MB, free: 10.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0007183/0.03762, allocations: 0.7303 MB / 419.7 MB, free: 9.273 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003308/0.03795, allocations: 97.03 kB / 419.8 MB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.03795, allocations: 4 kB / 419.8 MB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.934e-05/0.03802, allocations: 28.78 kB / 419.9 MB, free: 9.125 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.0382, allocations: 95.83 kB / 420 MB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006043/0.03881, allocations: 1.268 MB / 421.2 MB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.03903, allocations: 63.75 kB / 421.3 MB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.03906, allocations: 23.98 kB / 421.3 MB, free: 7.57 MB / 394.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: 7 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1,twoFlanges.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 51 * 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.0001672/0.03922, allocations: 279.4 kB / 421.6 MB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.03928, allocations: 55.62 kB / 421.6 MB, free: 7.223 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007108/0.03999, allocations: 0.5921 MB / 422.2 MB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.03999, allocations: 4 kB / 422.2 MB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.04, allocations: 0 / 422.2 MB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.04, allocations: 3.938 kB / 422.2 MB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.0412, allocations: 1.147 MB / 423.4 MB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.0412, allocations: 0 / 423.4 MB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.04138, allocations: 67.89 kB / 423.5 MB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.851e-05/0.04144, allocations: 24.78 kB / 423.5 MB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.04147, allocations: 11.98 kB / 423.5 MB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005775/0.04204, allocations: 1.256 MB / 424.8 MB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.04205, allocations: 4.031 kB / 424.8 MB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009322/0.04298, allocations: 0.9445 MB / 425.7 MB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.046e-05/0.04305, allocations: 71.58 kB / 425.8 MB, free: 2.836 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.04308, allocations: 8 kB / 425.8 MB, free: 2.828 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.04326, allocations: 39.95 kB / 425.8 MB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.609e-05/0.04335, allocations: 43.88 kB / 425.9 MB, free: 2.746 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.04337, allocations: 12 kB / 425.9 MB, free: 2.734 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000353/0.04372, allocations: 438.8 kB / 426.3 MB, free: 2.309 MB / 394.7 MB Notification: Performance of sort global known variables: time 3e-08/0.04372, allocations: 0 / 426.3 MB, free: 2.309 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006766/0.0444, allocations: 362.7 kB / 426.7 MB, free: 1.953 MB / 394.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,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * 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.001071/0.04547, allocations: 487.6 kB / 427.1 MB, free: 1.656 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.04688, allocations: 1.442 MB / 428.6 MB, free: 68 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.04688, allocations: 0 / 428.6 MB, free: 68 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003919/0.04727, allocations: 485.7 kB / 429 MB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.04768, allocations: 92.17 kB / 429.1 MB, free: 15.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.0494, allocations: 1.372 MB / 430.5 MB, free: 14.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.04964, allocations: 346 kB / 430.8 MB, free: 13.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.04974, allocations: 44.5 kB / 430.9 MB, free: 13.62 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.04974, allocations: 0 / 430.9 MB, free: 13.62 MB / 410.7 MB Notification: Performance of Templates: time 0.01141/0.06115, allocations: 12.53 MB / 443.4 MB, free: 1.098 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.392951843328774] Failed to read output from testmodel.py, exit status != 0: 0.2245379015803337 0.234749372 0.213563303 Calling exit ...