Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.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.001282/0.001282, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.00146/0.00146, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.018/1.018, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.0266/0.0266, allocations: 6.477 MB / 267.5 MB, free: 6.488 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.TestOneFlange.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 339.3 MB, free: 11.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.287e-05/1.448e-05, allocations: 2.312 kB / 339.3 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn): time 0.006363/0.006377, allocations: 5.056 MB / 344.4 MB, free: 6.504 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002738/0.009115, allocations: 1.596 MB / 345.9 MB, free: 4.902 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004448/0.00956, allocations: 23.88 kB / 346 MB, free: 4.879 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006582/0.01022, allocations: 198.5 kB / 346.2 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006434/0.01086, allocations: 293.9 kB / 346.5 MB, free: 4.395 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006448/0.01151, allocations: 383.3 kB / 346.8 MB, free: 4.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008766/0.01238, allocations: 0.9857 MB / 347.8 MB, free: 3.031 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004863/0.01287, allocations: 344.4 kB / 348.1 MB, free: 2.676 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006336/0.0135, allocations: 0.573 MB / 348.7 MB, free: 2.102 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003848/0.01389, allocations: 343.1 kB / 349.1 MB, free: 1.766 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.01399, allocations: 108 kB / 349.2 MB, free: 1.66 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001933/0.01419, allocations: 151.9 kB / 349.3 MB, free: 1.512 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.01435, allocations: 223.2 kB / 349.5 MB, free: 1.293 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002433/0.01459, allocations: 303.2 kB / 349.8 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007299/0.01532, allocations: 0.6889 MB / 350.5 MB, free: 312 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.01532, allocations: 0 / 350.5 MB, free: 312 kB / 314.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.01532, allocations: 0 / 350.5 MB, free: 312 kB / 314.7 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.01533, allocations: 0 / 350.5 MB, free: 312 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.001399/0.01673, allocations: 1.241 MB / 351.8 MB, free: 15 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.01676, allocations: 8.031 kB / 351.8 MB, free: 14.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.01694, allocations: 160.4 kB / 351.9 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005345/0.01747, allocations: 481.9 kB / 352.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.502e-05/0.01757, allocations: 110 kB / 352.5 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.755e-05/0.01766, allocations: 68.38 kB / 352.6 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000746/0.0184, allocations: 0.6265 MB / 353.2 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.01842, allocations: 3.953 kB / 353.2 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.141e-05/0.01848, allocations: 35.98 kB / 353.2 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.01849, allocations: 16 kB / 353.2 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005862/0.01908, allocations: 261.2 kB / 353.5 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00248/0.02156, allocations: 2.273 MB / 355.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004164/0.02197, allocations: 267.8 kB / 356 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.0221, allocations: 131.6 kB / 356.2 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.02213, allocations: 8.281 kB / 356.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002766/0.02241, allocations: 304.6 kB / 356.5 MB, free: 9.996 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.814e-06/0.02241, allocations: 0 / 356.5 MB, free: 9.996 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006813/0.02309, allocations: 0.5104 MB / 357 MB, free: 9.438 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.02315, allocations: 144.5 kB / 357.1 MB, free: 9.266 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003728/0.02352, allocations: 486.3 kB / 357.6 MB, free: 8.773 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.02355, allocations: 33.7 kB / 357.6 MB, free: 8.734 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/0.02379, allocations: 455 kB / 358.1 MB, free: 8.285 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.63e-05/0.02388, allocations: 126.9 kB / 358.2 MB, free: 8.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.02402, allocations: 107.7 kB / 358.3 MB, free: 8.047 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.02418, allocations: 0.539 MB / 358.8 MB, free: 7.496 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.02432, allocations: 154.7 kB / 359 MB, free: 7.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.02454, allocations: 334.7 kB / 359.3 MB, free: 6.902 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003556/0.0249, allocations: 444.8 kB / 359.8 MB, free: 6.371 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.0249, allocations: 0 / 359.8 MB, free: 6.371 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000792/0.02569, allocations: 0.5707 MB / 360.3 MB, free: 5.754 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.639e-05/0.02574, allocations: 96.06 kB / 360.4 MB, free: 5.645 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.02574, allocations: 4 kB / 360.4 MB, free: 5.641 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001013/0.02585, allocations: 24.12 kB / 360.4 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.02612, allocations: 99.81 kB / 360.5 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007684/0.02689, allocations: 1.717 MB / 362.3 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.02712, allocations: 59.78 kB / 362.3 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.02715, allocations: 24 kB / 362.3 MB, free: 3.605 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002384/0.02739, allocations: 280.9 kB / 362.6 MB, free: 3.305 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002158/0.02761, allocations: 346.5 kB / 363 MB, free: 2.879 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003454/0.02795, allocations: 450.9 kB / 363.4 MB, free: 2.344 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.944e-06/0.02796, allocations: 0 / 363.4 MB, free: 2.344 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0005469/0.0285, allocations: 0.5494 MB / 363.9 MB, free: 1.746 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/0.02854, allocations: 93.09 kB / 364 MB, free: 1.637 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.02855, allocations: 4 kB / 364 MB, free: 1.633 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.004e-05/0.02861, allocations: 23.67 kB / 364.1 MB, free: 1.605 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.02884, allocations: 91.89 kB / 364.1 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000707/0.02955, allocations: 1.725 MB / 365.9 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.02978, allocations: 55.77 kB / 365.9 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.02981, allocations: 16 kB / 365.9 MB, free: 15.61 MB / 346.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.pDC.integrator1.local_reset,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,oneFlange.limTau.state,oneFlange.limitingTorque,$whenCondition1) * 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.0001657/0.02997, allocations: 359.5 kB / 366.3 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.974e-05/0.03005, allocations: 67.67 kB / 366.4 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004623/0.03052, allocations: 413.9 kB / 366.8 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.03052, allocations: 4 kB / 366.8 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.03052, allocations: 0 / 366.8 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.03053, allocations: 0 / 366.8 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.03172, allocations: 0.8837 MB / 367.7 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.03172, allocations: 3.938 kB / 367.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.03192, allocations: 67.91 kB / 367.7 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.782e-05/0.03198, allocations: 19.67 kB / 367.7 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.032, allocations: 8 kB / 367.8 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006801/0.03268, allocations: 1.713 MB / 369.5 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.03269, allocations: 8.062 kB / 369.5 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006301/0.03332, allocations: 0.6825 MB / 370.2 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.03344, allocations: 87.56 kB / 370.2 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.03349, allocations: 15.98 kB / 370.3 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.0337, allocations: 35.95 kB / 370.3 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.786e-05/0.03377, allocations: 31.94 kB / 370.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.0338, allocations: 12 kB / 370.3 MB, free: 10.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002087/0.03401, allocations: 306.7 kB / 370.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03401, allocations: 4 kB / 370.6 MB, free: 10.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006342/0.03464, allocations: 314.9 kB / 370.9 MB, free: 10.3 MB / 346.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,oneFlange.limitingTorque,oneFlange.limTau.state,tauRef.T_start,tauRef.count) * 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.0007754/0.03542, allocations: 337.1 kB / 371.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009621/0.03638, allocations: 1.27 MB / 372.5 MB, free: 8.648 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.03638, allocations: 0 / 372.5 MB, free: 8.648 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002968/0.03668, allocations: 457.2 kB / 373 MB, free: 8.145 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.03709, allocations: 100.5 kB / 373.1 MB, free: 8.051 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.03907, allocations: 1.196 MB / 374.3 MB, free: 6.805 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.03918, allocations: 137.7 kB / 374.4 MB, free: 6.648 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000197/0.03938, allocations: 59.23 kB / 374.5 MB, free: 6.594 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/0.03963, allocations: 174.2 kB / 374.6 MB, free: 6.422 MB / 346.7 MB Notification: Performance of SimCode: time 7.22e-07/0.03963, allocations: 0 / 374.6 MB, free: 6.422 MB / 346.7 MB Notification: Performance of Templates: time 0.01219/0.05182, allocations: 7.81 MB / 382.5 MB, free: 14.69 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2718498539179564]