Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.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.001307/0.001307, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001313/0.001313, allocations: 177 kB / 23.49 MB, free: 1.059 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.9979/0.9979, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.02656/0.02656, allocations: 6.5 MB / 266.8 MB, free: 6.684 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.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 338.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.926e-05, allocations: 2.312 kB / 338.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.005458/0.005478, allocations: 4.404 MB / 342.5 MB, free: 6.684 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003477/0.008954, allocations: 2.369 MB / 344.9 MB, free: 4.305 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004168/0.009371, allocations: 23.88 kB / 344.9 MB, free: 4.281 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004531/0.009824, allocations: 166.6 kB / 345 MB, free: 4.117 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007318/0.01056, allocations: 293.8 kB / 345.3 MB, free: 3.828 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007244/0.01128, allocations: 419.3 kB / 345.7 MB, free: 3.418 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008545/0.01213, allocations: 0.9817 MB / 346.7 MB, free: 2.434 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005007/0.01264, allocations: 349 kB / 347.1 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006/0.01324, allocations: 0.573 MB / 347.6 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003782/0.01361, allocations: 327.1 kB / 348 MB, free: 1.172 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.01372, allocations: 108 kB / 348.1 MB, free: 1.066 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.0139, allocations: 147.9 kB / 348.2 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.0141, allocations: 243.2 kB / 348.4 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002403/0.01434, allocations: 311.2 kB / 348.7 MB, free: 388 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008468/0.01518, allocations: 0.724 MB / 349.5 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.01519, allocations: 0 / 349.5 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01519, allocations: 4 kB / 349.5 MB, free: 15.65 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.445e-06/0.0152, allocations: 0 / 349.5 MB, free: 15.65 MB / 282.7 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.001811/0.01701, allocations: 1.276 MB / 350.8 MB, free: 14.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.01705, allocations: 8.031 kB / 350.8 MB, free: 14.31 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002384/0.01728, allocations: 164.3 kB / 350.9 MB, free: 14.15 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007457/0.01803, allocations: 0.4902 MB / 351.4 MB, free: 13.63 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.751e-05/0.0181, allocations: 58.36 kB / 351.5 MB, free: 13.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.01822, allocations: 88.31 kB / 351.6 MB, free: 13.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.01936, allocations: 0.6819 MB / 352.2 MB, free: 12.76 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/0.01939, allocations: 3.938 kB / 352.2 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.508e-05/0.01946, allocations: 32 kB / 352.3 MB, free: 12.72 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.01948, allocations: 20 kB / 352.3 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007059/0.02018, allocations: 315.2 kB / 352.6 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003442/0.02362, allocations: 2.37 MB / 355 MB, free: 9.906 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006266/0.02425, allocations: 285.3 kB / 355.2 MB, free: 9.605 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.02446, allocations: 140.2 kB / 355.4 MB, free: 9.453 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-05/0.02449, allocations: 11.94 kB / 355.4 MB, free: 9.441 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003948/0.02489, allocations: 301.4 kB / 355.7 MB, free: 9.102 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 1.813e-06/0.02489, allocations: 0 / 355.7 MB, free: 9.102 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.001007/0.02589, allocations: 0.567 MB / 356.3 MB, free: 8.488 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.02596, allocations: 136.5 kB / 356.4 MB, free: 8.324 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006144/0.02658, allocations: 0.5142 MB / 356.9 MB, free: 7.793 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.02662, allocations: 41.69 kB / 356.9 MB, free: 7.746 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/0.02693, allocations: 447 kB / 357.4 MB, free: 7.305 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.02703, allocations: 123 kB / 357.5 MB, free: 7.184 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.02719, allocations: 103.8 kB / 357.6 MB, free: 7.074 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.0274, allocations: 0.543 MB / 358.1 MB, free: 6.52 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/0.02765, allocations: 174.7 kB / 358.3 MB, free: 6.324 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003512/0.028, allocations: 366.6 kB / 358.7 MB, free: 5.875 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005386/0.02854, allocations: 468.7 kB / 359.1 MB, free: 5.32 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.02854, allocations: 4 kB / 359.1 MB, free: 5.316 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008482/0.02939, allocations: 0.5945 MB / 359.7 MB, free: 4.676 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.48e-05/0.02944, allocations: 85.11 kB / 359.8 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.02945, allocations: 7.984 kB / 359.8 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001609/0.02961, allocations: 23.69 kB / 359.8 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.02992, allocations: 95.83 kB / 359.9 MB, free: 4.445 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009967/0.03092, allocations: 1.748 MB / 361.7 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.03119, allocations: 59.72 kB / 361.7 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.876e-05/0.03123, allocations: 20 kB / 361.8 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003567/0.03159, allocations: 300.9 kB / 362.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003394/0.03193, allocations: 350.7 kB / 362.4 MB, free: 1.746 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005166/0.03244, allocations: 478.9 kB / 362.9 MB, free: 1.184 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.264e-06/0.03244, allocations: 0 / 362.9 MB, free: 1.184 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0007845/0.03323, allocations: 0.5806 MB / 363.4 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.13e-05/0.03328, allocations: 93.53 kB / 363.5 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.03329, allocations: 7.984 kB / 363.5 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.674e-05/0.03337, allocations: 31.61 kB / 363.6 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/0.03367, allocations: 95.83 kB / 363.7 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009891/0.03466, allocations: 1.74 MB / 365.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.03494, allocations: 59.94 kB / 365.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.03498, allocations: 20 kB / 365.5 MB, free: 14.37 MB / 298.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.0002107/0.03519, allocations: 367.2 kB / 365.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.03529, allocations: 71.62 kB / 365.9 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006717/0.03596, allocations: 428.9 kB / 366.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.03596, allocations: 4 kB / 366.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.03597, allocations: 7.938 kB / 366.3 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.03597, allocations: 0 / 366.3 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.03735, allocations: 1.017 MB / 367.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.03735, allocations: 3.938 kB / 367.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.03759, allocations: 47.97 kB / 367.4 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.239e-05/0.03768, allocations: 23.67 kB / 367.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.225e-05/0.03771, allocations: 15.94 kB / 367.5 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009/0.03861, allocations: 1.732 MB / 369.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.03861, allocations: 0 / 369.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008968/0.03951, allocations: 0.7172 MB / 369.9 MB, free: 9.633 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.319e-05/0.03958, allocations: 59.53 kB / 370 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.543e-05/0.03963, allocations: 12 kB / 370 MB, free: 9.562 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.03988, allocations: 36.09 kB / 370 MB, free: 9.527 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.03999, allocations: 39.88 kB / 370 MB, free: 9.488 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.04001, allocations: 12 kB / 370.1 MB, free: 9.477 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000368/0.04038, allocations: 334.8 kB / 370.4 MB, free: 9.152 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04038, allocations: 0 / 370.4 MB, free: 9.152 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008536/0.04124, allocations: 334.8 kB / 370.7 MB, free: 8.824 MB / 298.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.001054/0.04229, allocations: 354 kB / 371.1 MB, free: 8.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.04369, allocations: 1.314 MB / 372.4 MB, free: 7.109 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.0437, allocations: 4.188 kB / 372.4 MB, free: 7.105 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004173/0.04411, allocations: 463.5 kB / 372.8 MB, free: 6.594 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005425/0.04466, allocations: 92.45 kB / 372.9 MB, free: 6.512 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.04693, allocations: 1.254 MB / 374.2 MB, free: 5.207 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.04706, allocations: 153.7 kB / 374.3 MB, free: 5.039 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002076/0.04727, allocations: 63.34 kB / 374.4 MB, free: 4.973 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.04738, allocations: 40.5 kB / 374.4 MB, free: 4.934 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.04738, allocations: 0 / 374.4 MB, free: 4.934 MB / 298.7 MB Notification: Performance of Templates: time 0.01364/0.06102, allocations: 7.579 MB / 382 MB, free: 13.42 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3731296670157462]