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.001781/0.001781, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.001976/0.001976, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.551/1.551, allocations: 177.1 MB / 203.1 MB, free: 5.629 MB / 186.7 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.04449/0.04449, allocations: 6.49 MB / 266.1 MB, free: 6.672 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.355e-06/2.355e-06, allocations: 0 / 337.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.71e-05/2.946e-05, allocations: 6.312 kB / 337.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.004788/0.004818, allocations: 4.365 MB / 341.7 MB, free: 6.758 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003252/0.00807, allocations: 2.353 MB / 344.1 MB, free: 4.395 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004278/0.008498, allocations: 15.94 kB / 344.1 MB, free: 4.379 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004216/0.008919, allocations: 166.6 kB / 344.2 MB, free: 4.215 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007057/0.009625, allocations: 289.9 kB / 344.5 MB, free: 3.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008176/0.01044, allocations: 431.1 kB / 344.9 MB, free: 3.508 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008469/0.01129, allocations: 0.9778 MB / 345.9 MB, free: 2.527 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005453/0.01183, allocations: 341.1 kB / 346.3 MB, free: 2.168 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00072/0.01255, allocations: 0.5769 MB / 346.8 MB, free: 1.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000411/0.01297, allocations: 323.1 kB / 347.2 MB, free: 1.273 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.01309, allocations: 108 kB / 347.3 MB, free: 1.168 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/0.01331, allocations: 144 kB / 347.4 MB, free: 1.027 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002159/0.01353, allocations: 247.2 kB / 347.6 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000246/0.01378, allocations: 315.2 kB / 347.9 MB, free: 488 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.01531, allocations: 1.246 MB / 349.2 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.01532, allocations: 3.938 kB / 349.2 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.01532, allocations: 4 kB / 349.2 MB, free: 15.22 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.01534, allocations: 0 / 349.2 MB, free: 15.22 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.0026/0.01794, allocations: 1.366 MB / 350.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.01798, allocations: 8.031 kB / 350.6 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003102/0.01829, allocations: 168.3 kB / 350.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000948/0.01924, allocations: 0.498 MB / 351.2 MB, free: 13.1 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.29e-05/0.01931, allocations: 58.38 kB / 351.3 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.01945, allocations: 84.33 kB / 351.4 MB, free: 12.96 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/0.02111, allocations: 0.8883 MB / 352.3 MB, free: 12.03 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.857e-05/0.02115, allocations: 7.938 kB / 352.3 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.356e-05/0.02122, allocations: 28 kB / 352.3 MB, free: 11.99 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.02124, allocations: 20 kB / 352.3 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.02249, allocations: 0.546 MB / 352.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005436/0.02792, allocations: 2.916 MB / 355.8 MB, free: 8.383 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.02899, allocations: 421.6 kB / 356.2 MB, free: 7.949 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004238/0.02941, allocations: 219.3 kB / 356.4 MB, free: 7.719 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.047e-05/0.02946, allocations: 20.14 kB / 356.4 MB, free: 7.699 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007153/0.03018, allocations: 398.2 kB / 356.8 MB, free: 7.266 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 2.255e-06/0.03018, allocations: 0 / 356.8 MB, free: 7.266 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.001802/0.03198, allocations: 0.7622 MB / 357.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.03209, allocations: 136.5 kB / 357.7 MB, free: 6.293 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.03331, allocations: 0.6822 MB / 358.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.268e-05/0.03337, allocations: 33.7 kB / 358.4 MB, free: 5.555 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005394/0.03391, allocations: 499 kB / 358.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.03406, allocations: 127 kB / 359 MB, free: 4.938 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/0.03429, allocations: 123.8 kB / 359.2 MB, free: 4.809 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004255/0.03472, allocations: 0.5938 MB / 359.8 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000487/0.03521, allocations: 262.7 kB / 360 MB, free: 3.922 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006904/0.0359, allocations: 462.6 kB / 360.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.03696, allocations: 0.6219 MB / 361.1 MB, free: 2.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.03697, allocations: 4 kB / 361.1 MB, free: 2.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00172/0.03869, allocations: 0.7504 MB / 361.8 MB, free: 1.859 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.0388, allocations: 101 kB / 361.9 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.03882, allocations: 8 kB / 361.9 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002303/0.03905, allocations: 23.67 kB / 362 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003885/0.03944, allocations: 92.23 kB / 362.1 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/0.04112, allocations: 1.802 MB / 363.9 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004879/0.04161, allocations: 63.64 kB / 363.9 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.895e-05/0.04168, allocations: 20 kB / 363.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008745/0.04255, allocations: 444.9 kB / 364.4 MB, free: 15.15 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006417/0.0432, allocations: 454.8 kB / 364.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009611/0.04416, allocations: 0.6085 MB / 365.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.976e-06/0.04416, allocations: 0 / 365.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001475/0.04564, allocations: 0.7444 MB / 366.2 MB, free: 13.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.811e-05/0.04573, allocations: 85.11 kB / 366.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.04574, allocations: 4 kB / 366.3 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001487/0.04589, allocations: 31.67 kB / 366.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/0.04626, allocations: 91.83 kB / 366.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/0.04789, allocations: 1.787 MB / 368.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005615/0.04845, allocations: 59.75 kB / 368.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-05/0.04849, allocations: 20 kB / 368.2 MB, free: 10.9 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.0003832/0.04888, allocations: 371.3 kB / 368.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.049, allocations: 75.56 kB / 368.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.05017, allocations: 0.552 MB / 369.2 MB, free: 9.855 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.05018, allocations: 4 kB / 369.2 MB, free: 9.852 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.05018, allocations: 7.938 kB / 369.2 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.05019, allocations: 3.984 kB / 369.2 MB, free: 9.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002333/0.05252, allocations: 1.353 MB / 370.6 MB, free: 8.418 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.05253, allocations: 3.938 kB / 370.6 MB, free: 8.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/0.05284, allocations: 59.91 kB / 370.7 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001103/0.05295, allocations: 23.67 kB / 370.7 MB, free: 8.328 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.152e-05/0.05299, allocations: 12 kB / 370.7 MB, free: 8.316 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001527/0.05452, allocations: 1.779 MB / 372.5 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.05452, allocations: 0 / 372.5 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.05625, allocations: 0.9791 MB / 373.5 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.05641, allocations: 63.59 kB / 373.5 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.673e-05/0.05648, allocations: 8 kB / 373.5 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/0.05679, allocations: 36.03 kB / 373.6 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.05691, allocations: 39.89 kB / 373.6 MB, free: 5.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/0.05695, allocations: 11.98 kB / 373.6 MB, free: 5.219 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005858/0.05753, allocations: 414.8 kB / 374 MB, free: 4.816 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05753, allocations: 0 / 374 MB, free: 4.816 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00101/0.05854, allocations: 338.8 kB / 374.3 MB, free: 4.484 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.002563/0.06111, allocations: 388.5 kB / 374.7 MB, free: 4.246 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002654/0.06376, allocations: 1.606 MB / 376.3 MB, free: 2.473 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.06376, allocations: 0 / 376.3 MB, free: 2.473 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007726/0.06454, allocations: 0.5513 MB / 376.9 MB, free: 1.863 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006114/0.06515, allocations: 94.88 kB / 377 MB, free: 1.777 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.06768, allocations: 1.324 MB / 378.3 MB, free: 408 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.06809, allocations: 342 kB / 378.6 MB, free: 40 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002752/0.06836, allocations: 59.42 kB / 378.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.06849, allocations: 40.48 kB / 378.7 MB, free: 15.94 MB / 314.7 MB Notification: Performance of SimCode: time 1.072e-06/0.06849, allocations: 0 / 378.7 MB, free: 15.94 MB / 314.7 MB Notification: Performance of Templates: time 0.01633/0.08481, allocations: 7.575 MB / 386.3 MB, free: 8.438 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: 5.028369173989631]