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.00217/0.00217, allocations: 93.47 kB / 19.44 MB, free: 336 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.002066/0.002066, allocations: 169.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.592/1.592, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.04633/0.04633, allocations: 6.483 MB / 266 MB, free: 6.648 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.543e-06/1.543e-06, allocations: 0 / 337.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.316e-05, allocations: 2.312 kB / 337.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn): time 0.0053/0.005323, allocations: 5.088 MB / 342.4 MB, free: 6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002555/0.007878, allocations: 1.612 MB / 344 MB, free: 4.383 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004607/0.008339, allocations: 15.94 kB / 344.1 MB, free: 4.367 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003947/0.008733, allocations: 210.4 kB / 344.3 MB, free: 4.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000549/0.009282, allocations: 293.9 kB / 344.6 MB, free: 3.871 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006472/0.00993, allocations: 371.3 kB / 344.9 MB, free: 3.508 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006763/0.01061, allocations: 0.9819 MB / 345.9 MB, free: 2.523 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004577/0.01106, allocations: 360.3 kB / 346.3 MB, free: 2.145 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005591/0.01162, allocations: 0.573 MB / 346.8 MB, free: 1.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003176/0.01194, allocations: 347 kB / 347.2 MB, free: 1.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.01204, allocations: 104 kB / 347.3 MB, free: 1.129 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.01222, allocations: 151.9 kB / 347.4 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.01235, allocations: 223.2 kB / 347.6 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002086/0.01256, allocations: 295.3 kB / 347.9 MB, free: 484 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.01381, allocations: 1.165 MB / 349.1 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.01381, allocations: 4 kB / 349.1 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.01381, allocations: 0 / 349.1 MB, free: 15.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.01382, allocations: 0 / 349.1 MB, free: 15.3 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002313/0.01614, allocations: 1.323 MB / 350.4 MB, free: 13.92 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.813e-05/0.01616, allocations: 8.031 kB / 350.4 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002668/0.01643, allocations: 152.4 kB / 350.6 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007879/0.01722, allocations: 489.9 kB / 351 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.01737, allocations: 110 kB / 351.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.01749, allocations: 80.38 kB / 351.2 MB, free: 13.06 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.01948, allocations: 0.8719 MB / 352.1 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.01951, allocations: 0 / 352.1 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.011e-05/0.01958, allocations: 32 kB / 352.1 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.01959, allocations: 16 kB / 352.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.02086, allocations: 0.5499 MB / 352.7 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004692/0.02556, allocations: 2.846 MB / 355.5 MB, free: 8.582 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.02658, allocations: 420 kB / 356 MB, free: 8.148 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004493/0.02703, allocations: 231.6 kB / 356.2 MB, free: 7.906 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.175e-05/0.02707, allocations: 8.281 kB / 356.2 MB, free: 7.898 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006953/0.02776, allocations: 408.7 kB / 356.6 MB, free: 7.453 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.283e-06/0.02777, allocations: 0 / 356.6 MB, free: 7.453 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.001708/0.02947, allocations: 0.7719 MB / 357.4 MB, free: 6.633 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.02959, allocations: 144.5 kB / 357.5 MB, free: 6.461 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008295/0.03042, allocations: 0.6353 MB / 358.1 MB, free: 5.809 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/0.03047, allocations: 33.7 kB / 358.2 MB, free: 5.77 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004182/0.03089, allocations: 471.1 kB / 358.6 MB, free: 5.305 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004004/0.03129, allocations: 135 kB / 358.8 MB, free: 5.172 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.03149, allocations: 119.8 kB / 358.9 MB, free: 5.043 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003579/0.03185, allocations: 0.5782 MB / 359.5 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004901/0.03234, allocations: 262.7 kB / 359.7 MB, free: 4.176 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006781/0.03302, allocations: 474.5 kB / 360.2 MB, free: 3.617 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.03413, allocations: 0.6375 MB / 360.8 MB, free: 2.883 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.03414, allocations: 4 kB / 360.8 MB, free: 2.879 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001425/0.03556, allocations: 0.7664 MB / 361.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.364e-05/0.03565, allocations: 93.09 kB / 361.7 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.03566, allocations: 4 kB / 361.7 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000153/0.03581, allocations: 27.69 kB / 361.7 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.03621, allocations: 95.88 kB / 361.8 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/0.03775, allocations: 1.783 MB / 363.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004303/0.03818, allocations: 63.66 kB / 363.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.73e-05/0.03823, allocations: 20 kB / 363.7 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007188/0.03895, allocations: 456.9 kB / 364.1 MB, free: 15.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000626/0.03957, allocations: 442.7 kB / 364.5 MB, free: 14.85 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009918/0.04057, allocations: 0.6317 MB / 365.2 MB, free: 14.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.375e-06/0.04057, allocations: 0 / 365.2 MB, free: 14.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001557/0.04213, allocations: 0.7411 MB / 365.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.555e-05/0.0422, allocations: 93.09 kB / 366 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.0422, allocations: 4 kB / 366 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.841e-05/0.0423, allocations: 27.69 kB / 366 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/0.04267, allocations: 95.83 kB / 366.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.04407, allocations: 1.786 MB / 367.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003761/0.04445, allocations: 59.75 kB / 368 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.42e-05/0.04449, allocations: 20 kB / 368 MB, free: 11.11 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: 8 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,oneFlange.limTau.state,oneFlange.limitingTorque,$whenCondition1,oneFlange.pDC.integrator1.local_reset) * 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.0002958/0.04479, allocations: 363.8 kB / 368.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.04491, allocations: 75.56 kB / 368.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.04612, allocations: 0.5761 MB / 369 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.04613, allocations: 4 kB / 369 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.04613, allocations: 3.938 kB / 369 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.04613, allocations: 0 / 369 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002224/0.04836, allocations: 1.302 MB / 370.3 MB, free: 8.672 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.04836, allocations: 0 / 370.3 MB, free: 8.672 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003218/0.04868, allocations: 67.89 kB / 370.4 MB, free: 8.605 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.552e-05/0.04878, allocations: 23.69 kB / 370.4 MB, free: 8.578 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.04881, allocations: 11.98 kB / 370.4 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/0.05024, allocations: 1.783 MB / 372.2 MB, free: 6.656 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.05024, allocations: 128 / 372.2 MB, free: 6.656 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/0.05221, allocations: 1.007 MB / 373.2 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.05242, allocations: 95.5 kB / 373.3 MB, free: 5.492 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.642e-05/0.05248, allocations: 8 kB / 373.3 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003297/0.05281, allocations: 31.97 kB / 373.3 MB, free: 5.453 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.05294, allocations: 39.94 kB / 373.4 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/0.05297, allocations: 16 kB / 373.4 MB, free: 5.398 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005196/0.05349, allocations: 398.8 kB / 373.8 MB, free: 5.012 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05349, allocations: 0 / 373.8 MB, free: 5.012 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009553/0.05445, allocations: 314.9 kB / 374.1 MB, free: 4.703 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,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.002437/0.05688, allocations: 390.4 kB / 374.5 MB, free: 4.469 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002489/0.05937, allocations: 1.614 MB / 376.1 MB, free: 2.688 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.05937, allocations: 4 kB / 376.1 MB, free: 2.684 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007935/0.06017, allocations: 0.5465 MB / 376.6 MB, free: 2.078 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005821/0.06075, allocations: 91.78 kB / 376.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/0.06314, allocations: 1.287 MB / 378 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.0635, allocations: 317.6 kB / 378.3 MB, free: 320 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002701/0.06377, allocations: 67.23 kB / 378.4 MB, free: 256 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.06389, allocations: 40.48 kB / 378.4 MB, free: 216 kB / 298.7 MB Notification: Performance of SimCode: time 8.12e-07/0.0639, allocations: 0 / 378.4 MB, free: 216 kB / 298.7 MB Notification: Performance of Templates: time 0.016/0.0799, allocations: 7.131 MB / 385.6 MB, free: 9.16 MB / 314.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: 4.82656905206386]