Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.00164/0.00164, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001622/0.001622, allocations: 169 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 1.036/1.036, 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 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.0276/0.0276, allocations: 6.479 MB / 266.8 MB, free: 6.707 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.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 338.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.4e-05, allocations: 2.312 kB / 338.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.008153/0.008177, allocations: 4.38 MB / 342.5 MB, free: 6.723 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002992/0.01117, allocations: 2.38 MB / 344.8 MB, free: 4.332 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004011/0.01157, allocations: 15.94 kB / 344.9 MB, free: 4.316 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004954/0.01207, allocations: 166.6 kB / 345 MB, free: 4.152 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008144/0.01288, allocations: 289.8 kB / 345.3 MB, free: 3.867 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007351/0.01361, allocations: 423.3 kB / 345.7 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008552/0.01447, allocations: 0.9817 MB / 346.7 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004859/0.01496, allocations: 345 kB / 347 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006237/0.01558, allocations: 0.5809 MB / 347.6 MB, free: 1.523 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004086/0.01599, allocations: 327.1 kB / 347.9 MB, free: 1.203 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.01611, allocations: 112 kB / 348 MB, free: 1.094 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002492/0.01636, allocations: 211.8 kB / 348.2 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.01654, allocations: 251.2 kB / 348.5 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005742/0.01711, allocations: 323.2 kB / 348.8 MB, free: 332 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009701/0.01808, allocations: 0.7902 MB / 349.6 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.01809, allocations: 0 / 349.6 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.01809, allocations: 0 / 349.6 MB, free: 15.53 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.0181, allocations: 0 / 349.6 MB, free: 15.53 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.001812/0.01991, allocations: 1.292 MB / 350.9 MB, free: 14.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.01995, allocations: 8.031 kB / 350.9 MB, free: 14.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000247/0.0202, allocations: 156.3 kB / 351.1 MB, free: 14.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007796/0.02098, allocations: 0.5018 MB / 351.6 MB, free: 13.49 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.436e-05/0.02104, allocations: 58.38 kB / 351.6 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.02116, allocations: 80.33 kB / 351.7 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.02237, allocations: 0.7068 MB / 352.4 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.02239, allocations: 11.88 kB / 352.4 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.43e-05/0.02246, allocations: 28 kB / 352.4 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.02248, allocations: 16 kB / 352.5 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000719/0.0232, allocations: 315.2 kB / 352.8 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003442/0.02664, allocations: 2.37 MB / 355.1 MB, free: 9.746 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006573/0.0273, allocations: 274.7 kB / 355.4 MB, free: 9.453 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/0.02752, allocations: 148.1 kB / 355.5 MB, free: 9.293 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-05/0.02756, allocations: 12 kB / 355.6 MB, free: 9.281 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004078/0.02796, allocations: 309.3 kB / 355.9 MB, free: 8.934 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 2.835e-06/0.02797, allocations: 0 / 355.9 MB, free: 8.934 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.00104/0.02901, allocations: 0.5592 MB / 356.4 MB, free: 8.328 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.544e-05/0.02908, allocations: 162.2 kB / 356.6 MB, free: 8.133 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006374/0.02972, allocations: 0.5182 MB / 357.1 MB, free: 7.598 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/0.02976, allocations: 37.7 kB / 357.1 MB, free: 7.555 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003018/0.03006, allocations: 455 kB / 357.6 MB, free: 7.105 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.03016, allocations: 127 kB / 357.7 MB, free: 6.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.03032, allocations: 103.8 kB / 357.8 MB, free: 6.871 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.03052, allocations: 0.543 MB / 358.3 MB, free: 6.316 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.03077, allocations: 170.7 kB / 358.5 MB, free: 6.125 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.03114, allocations: 396.1 kB / 358.9 MB, free: 5.637 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005515/0.03169, allocations: 472.7 kB / 359.4 MB, free: 5.078 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.03169, allocations: 7.938 kB / 359.4 MB, free: 5.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001238/0.03293, allocations: 0.5904 MB / 360 MB, free: 4.434 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.132e-05/0.03299, allocations: 97.03 kB / 360 MB, free: 4.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.033, allocations: 4 kB / 360.1 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001656/0.03317, allocations: 28.11 kB / 360.1 MB, free: 4.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.03349, allocations: 91.89 kB / 360.2 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.03453, allocations: 1.736 MB / 361.9 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.03483, allocations: 71.59 kB / 362 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/0.03487, allocations: 24.12 kB / 362 MB, free: 2.238 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003695/0.03524, allocations: 300.9 kB / 362.3 MB, free: 1.918 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006875/0.03593, allocations: 380.1 kB / 362.7 MB, free: 1.449 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005434/0.03647, allocations: 474.9 kB / 363.1 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.536e-06/0.03647, allocations: 3.984 kB / 363.1 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0008358/0.03731, allocations: 0.5768 MB / 363.7 MB, free: 268 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.287e-05/0.03736, allocations: 101 kB / 363.8 MB, free: 148 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.03737, allocations: 0 / 363.8 MB, free: 148 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.226e-05/0.03746, allocations: 27.67 kB / 363.8 MB, free: 116 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.03776, allocations: 91.83 kB / 363.9 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009319/0.03869, allocations: 1.74 MB / 365.7 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000286/0.03897, allocations: 55.77 kB / 365.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/0.03901, allocations: 23.98 kB / 365.7 MB, free: 14.08 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.0002112/0.03922, allocations: 363.4 kB / 366.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.03937, allocations: 75.62 kB / 366.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007083/0.04007, allocations: 432.9 kB / 366.6 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.04008, allocations: 0 / 366.6 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.04008, allocations: 4 kB / 366.6 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.04009, allocations: 3.938 kB / 366.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.04154, allocations: 1.032 MB / 367.6 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.04154, allocations: 3.984 kB / 367.6 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/0.04179, allocations: 55.91 kB / 367.7 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.819e-05/0.04187, allocations: 23.62 kB / 367.7 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.04191, allocations: 19.92 kB / 367.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/0.04293, allocations: 1.732 MB / 369.5 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.04293, allocations: 0 / 369.5 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008259/0.04375, allocations: 0.7134 MB / 370.2 MB, free: 9.328 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.002e-05/0.04382, allocations: 63.59 kB / 370.2 MB, free: 9.266 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.484e-05/0.04387, allocations: 12 kB / 370.3 MB, free: 9.254 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.04404, allocations: 31.97 kB / 370.3 MB, free: 9.223 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.376e-05/0.04414, allocations: 39.88 kB / 370.3 MB, free: 9.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.04415, allocations: 12 kB / 370.3 MB, free: 9.172 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002936/0.04445, allocations: 338.8 kB / 370.7 MB, free: 8.844 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04445, allocations: 0 / 370.7 MB, free: 8.844 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006374/0.04509, allocations: 362.8 kB / 371 MB, free: 8.488 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.0009996/0.04609, allocations: 467.1 kB / 371.5 MB, free: 8.184 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.04718, allocations: 1.309 MB / 372.8 MB, free: 6.707 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.04718, allocations: 0 / 372.8 MB, free: 6.707 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002832/0.04746, allocations: 467.5 kB / 373.2 MB, free: 6.191 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.04781, allocations: 88.25 kB / 373.3 MB, free: 6.109 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.04945, allocations: 1.254 MB / 374.6 MB, free: 4.805 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.436e-05/0.04954, allocations: 153.7 kB / 374.7 MB, free: 4.633 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000145/0.04969, allocations: 67.34 kB / 374.8 MB, free: 4.566 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.074e-05/0.04977, allocations: 44.48 kB / 374.8 MB, free: 4.523 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.04977, allocations: 0 / 374.8 MB, free: 4.523 MB / 298.7 MB Notification: Performance of Templates: time 0.01132/0.06109, allocations: 8.34 MB / 383.2 MB, free: 12.25 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.18808790598996]