Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.00131/0.00131, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001433/0.001433, allocations: 161.9 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.514/1.514, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.04326/0.04326, allocations: 6.494 MB / 265.7 MB, free: 10.27 MB / 254.1 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.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.015e-06/3.015e-06, allocations: 0 / 392.1 MB, free: 9.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.744e-05/4.046e-05, allocations: 10.22 kB / 392.1 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.007353/0.007393, allocations: 4.123 MB / 396.3 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004801/0.01219, allocations: 2.33 MB / 398.6 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004848/0.01268, allocations: 15.94 kB / 398.6 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005766/0.01326, allocations: 170.6 kB / 398.8 MB, free: 3.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008548/0.01411, allocations: 289.9 kB / 399.1 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008961/0.01501, allocations: 433.8 kB / 399.5 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001167/0.01617, allocations: 0.9854 MB / 400.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005942/0.01677, allocations: 345 kB / 400.8 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008977/0.01767, allocations: 0.5847 MB / 401.4 MB, free: 440 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004901/0.01816, allocations: 303.1 kB / 401.7 MB, free: 136 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000153/0.01831, allocations: 116 kB / 401.8 MB, free: 20 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003798/0.01869, allocations: 203.8 kB / 402 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002877/0.01898, allocations: 251.2 kB / 402.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003877/0.01936, allocations: 319.2 kB / 402.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001682/0.02105, allocations: 1.324 MB / 403.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.02105, allocations: 0 / 403.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.02105, allocations: 0 / 403.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.02106, allocations: 0 / 403.9 MB, free: 13.93 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.002285/0.02335, allocations: 1.203 MB / 405.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.02339, allocations: 12.03 kB / 405.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002251/0.02361, allocations: 104.3 kB / 405.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.02463, allocations: 0.5187 MB / 405.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.469e-05/0.02469, allocations: 58.38 kB / 405.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.02483, allocations: 80.33 kB / 405.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.0264, allocations: 0.8825 MB / 406.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/0.02643, allocations: 7.938 kB / 406.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-05/0.0265, allocations: 28 kB / 406.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.02652, allocations: 16 kB / 406.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.02788, allocations: 0.5928 MB / 407.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004307/0.03219, allocations: 2.307 MB / 409.7 MB, free: 7.883 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.03334, allocations: 418.2 kB / 410.1 MB, free: 7.453 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004967/0.03384, allocations: 228.4 kB / 410.3 MB, free: 7.215 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.264e-05/0.03388, allocations: 7.938 kB / 410.3 MB, free: 7.207 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007306/0.03461, allocations: 390.3 kB / 410.7 MB, free: 6.785 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 2.275e-06/0.03461, allocations: 4 kB / 410.7 MB, free: 6.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001982/0.03659, allocations: 0.7713 MB / 411.5 MB, free: 5.965 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.03672, allocations: 166.2 kB / 411.6 MB, free: 5.766 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008489/0.03757, allocations: 0.6112 MB / 412.3 MB, free: 5.141 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.179e-05/0.03762, allocations: 41.7 kB / 412.3 MB, free: 5.094 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000376/0.038, allocations: 408.2 kB / 412.7 MB, free: 4.691 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.03813, allocations: 123 kB / 412.8 MB, free: 4.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/0.0383, allocations: 94.14 kB / 412.9 MB, free: 4.473 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.03851, allocations: 370.7 kB / 413.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005707/0.03908, allocations: 275.8 kB / 413.5 MB, free: 3.809 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007096/0.03979, allocations: 444 kB / 414 MB, free: 3.293 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.04094, allocations: 0.5918 MB / 414.6 MB, free: 2.625 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.04095, allocations: 7.938 kB / 414.6 MB, free: 2.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001589/0.04254, allocations: 0.7517 MB / 415.3 MB, free: 1.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.493e-05/0.04263, allocations: 103.5 kB / 415.4 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.04264, allocations: 4 kB / 415.4 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001778/0.04282, allocations: 20.84 kB / 415.4 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004299/0.04325, allocations: 99.81 kB / 415.5 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.0445, allocations: 1.272 MB / 416.8 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004937/0.04499, allocations: 71.69 kB / 416.9 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.602e-05/0.04504, allocations: 20 kB / 416.9 MB, free: 120 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008779/0.04592, allocations: 463 kB / 417.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006333/0.04655, allocations: 428 kB / 417.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00103/0.04758, allocations: 0.5746 MB / 418.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.545e-06/0.04758, allocations: 0 / 418.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001466/0.04905, allocations: 0.7343 MB / 419.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.063e-05/0.04913, allocations: 93.09 kB / 419.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.04914, allocations: 4 kB / 419.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001049/0.04924, allocations: 28.84 kB / 419.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/0.04961, allocations: 95.81 kB / 419.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.05071, allocations: 1.253 MB / 420.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004766/0.05118, allocations: 67.73 kB / 420.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.332e-05/0.05123, allocations: 24 kB / 420.6 MB, free: 12.03 MB / 350.1 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.0002993/0.05153, allocations: 274.2 kB / 420.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.691e-05/0.05162, allocations: 55.61 kB / 421 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.05297, allocations: 0.5999 MB / 421.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.05297, allocations: 4 kB / 421.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.05298, allocations: 3.938 kB / 421.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.05298, allocations: 0 / 421.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002277/0.05526, allocations: 1.147 MB / 422.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.05527, allocations: 3.938 kB / 422.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003478/0.05561, allocations: 67.89 kB / 422.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001053/0.05572, allocations: 20.84 kB / 422.8 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.859e-05/0.05576, allocations: 16 kB / 422.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/0.0569, allocations: 1.26 MB / 424.1 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.0569, allocations: 0 / 424.1 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.05876, allocations: 0.937 MB / 425 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.0589, allocations: 67.58 kB / 425.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.385e-05/0.05897, allocations: 8 kB / 425.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.05936, allocations: 51.94 kB / 425.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.05948, allocations: 35.89 kB / 425.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/0.05952, allocations: 8 kB / 425.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006139/0.06013, allocations: 438.8 kB / 425.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.06013, allocations: 0 / 425.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001153/0.06128, allocations: 366.7 kB / 426 MB, free: 6.414 MB / 350.1 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.001933/0.06322, allocations: 497.3 kB / 426.5 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002757/0.06597, allocations: 1.438 MB / 427.9 MB, free: 4.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.06598, allocations: 0 / 427.9 MB, free: 4.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008515/0.06683, allocations: 489.7 kB / 428.4 MB, free: 4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007243/0.06755, allocations: 86.69 kB / 428.5 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/0.07074, allocations: 1.355 MB / 429.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000464/0.0712, allocations: 350 kB / 430.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003045/0.07151, allocations: 59.38 kB / 430.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.07166, allocations: 40.48 kB / 430.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of SimCode: time 9.92e-07/0.07166, allocations: 0 / 430.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of Templates: time 0.01778/0.08944, allocations: 8.259 MB / 438.5 MB, free: 9.855 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.978926241397858] Failed to read output from testmodel.py, exit status != 0: 0.09908043593168259 0.30903952799999995 0.28442902699999995 Calling exit ...