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.001367/0.001367, allocations: 77.86 kB / 20.66 MB, free: 3.836 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.0009492/0.0009492, allocations: 165 kB / 24.05 MB, free: 452 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.03/1.03, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.02656/0.02656, allocations: 6.478 MB / 267.5 MB, free: 6.504 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.254e-06/2.254e-06, allocations: 0 / 339.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.966e-05, allocations: 6.312 kB / 339.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.006189/0.006219, allocations: 4.32 MB / 343.6 MB, free: 6.199 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003836/0.01006, allocations: 2.368 MB / 346 MB, free: 3.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006279/0.01068, allocations: 19.88 kB / 346 MB, free: 3.801 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005658/0.01125, allocations: 162.6 kB / 346.2 MB, free: 3.641 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.01227, allocations: 289.8 kB / 346.5 MB, free: 3.355 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008655/0.01314, allocations: 435.2 kB / 346.9 MB, free: 2.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001027/0.01416, allocations: 0.9778 MB / 347.9 MB, free: 1.949 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005284/0.01469, allocations: 345 kB / 348.2 MB, free: 1.586 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008566/0.01555, allocations: 0.577 MB / 348.8 MB, free: 1.008 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005566/0.01611, allocations: 335 kB / 349.1 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001598/0.01627, allocations: 112 kB / 349.2 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003118/0.01658, allocations: 195.9 kB / 349.4 MB, free: 388 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002063/0.01678, allocations: 263.1 kB / 349.7 MB, free: 124 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004104/0.01719, allocations: 319.2 kB / 350 MB, free: 15.81 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.01837, allocations: 0.7903 MB / 350.8 MB, free: 15.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.01838, allocations: 0 / 350.8 MB, free: 15.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.01838, allocations: 0 / 350.8 MB, free: 15.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.428e-05/0.0184, allocations: 0 / 350.8 MB, free: 15.02 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.002068/0.02047, allocations: 1.299 MB / 352.1 MB, free: 13.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.02051, allocations: 8.031 kB / 352.1 MB, free: 13.65 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002716/0.02078, allocations: 160.3 kB / 352.2 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007694/0.02155, allocations: 494 kB / 352.7 MB, free: 12.98 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.447e-05/0.02161, allocations: 54.38 kB / 352.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.02175, allocations: 92.25 kB / 352.8 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.02281, allocations: 0.6598 MB / 353.5 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.404e-05/0.02284, allocations: 7.938 kB / 353.5 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-05/0.02292, allocations: 32 kB / 353.5 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.02294, allocations: 16 kB / 353.6 MB, free: 12.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005002/0.02344, allocations: 265.1 kB / 353.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003604/0.02704, allocations: 2.261 MB / 356.1 MB, free: 9.445 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000537/0.02758, allocations: 262.7 kB / 356.3 MB, free: 9.164 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.02775, allocations: 132.1 kB / 356.5 MB, free: 9.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.02778, allocations: 8 kB / 356.5 MB, free: 9.012 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000344/0.02813, allocations: 289.3 kB / 356.8 MB, free: 8.684 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 2.114e-06/0.02813, allocations: 4 kB / 356.8 MB, free: 8.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009328/0.02906, allocations: 0.5279 MB / 357.3 MB, free: 8.105 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.985e-05/0.02915, allocations: 166.2 kB / 357.4 MB, free: 7.906 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000646/0.0298, allocations: 0.4983 MB / 357.9 MB, free: 7.391 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/0.02985, allocations: 37.7 kB / 358 MB, free: 7.348 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/0.03021, allocations: 466.9 kB / 358.4 MB, free: 6.887 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.03033, allocations: 126.9 kB / 358.6 MB, free: 6.762 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.0305, allocations: 103.8 kB / 358.7 MB, free: 6.652 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002228/0.03072, allocations: 0.5468 MB / 359.2 MB, free: 6.094 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.03092, allocations: 154.7 kB / 359.4 MB, free: 5.918 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/0.03122, allocations: 376.1 kB / 359.7 MB, free: 5.449 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004639/0.03169, allocations: 444.7 kB / 360.2 MB, free: 4.918 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.03169, allocations: 7.938 kB / 360.2 MB, free: 4.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007779/0.03247, allocations: 0.5552 MB / 360.7 MB, free: 4.309 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.954e-05/0.03254, allocations: 93.09 kB / 360.8 MB, free: 4.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.03255, allocations: 4 kB / 360.8 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001352/0.03269, allocations: 27.67 kB / 360.9 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/0.03299, allocations: 96.23 kB / 360.9 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.03404, allocations: 1.721 MB / 362.7 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000325/0.03437, allocations: 71.59 kB / 362.7 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/0.03441, allocations: 16 kB / 362.8 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000307/0.03471, allocations: 280.9 kB / 363 MB, free: 1.844 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002962/0.03501, allocations: 372.2 kB / 363.4 MB, free: 1.383 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000444/0.03545, allocations: 446.8 kB / 363.8 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.198e-06/0.03546, allocations: 4 kB / 363.8 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0007139/0.03617, allocations: 0.542 MB / 364.4 MB, free: 264 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.343e-05/0.03623, allocations: 97.09 kB / 364.5 MB, free: 148 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.03623, allocations: 4 kB / 364.5 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-05/0.03632, allocations: 19.69 kB / 364.5 MB, free: 120 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/0.03661, allocations: 91.83 kB / 364.6 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009896/0.0376, allocations: 1.729 MB / 366.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002967/0.0379, allocations: 55.75 kB / 366.4 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/0.03794, allocations: 20 kB / 366.4 MB, free: 14.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: 7 (twoFlanges.constPDC.integrator1.local_reset,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1) * 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.0002042/0.03814, allocations: 355.3 kB / 366.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.03825, allocations: 75.56 kB / 366.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006075/0.03886, allocations: 409 kB / 367.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.03886, allocations: 4 kB / 367.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.03887, allocations: 0 / 367.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.03887, allocations: 0 / 367.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.04008, allocations: 0.9153 MB / 368.1 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.04008, allocations: 0 / 368.1 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.04031, allocations: 59.89 kB / 368.2 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-05/0.04039, allocations: 19.69 kB / 368.2 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/0.04042, allocations: 11.98 kB / 368.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007945/0.04121, allocations: 1.713 MB / 369.9 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.04121, allocations: 0 / 369.9 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007164/0.04193, allocations: 0.6742 MB / 370.6 MB, free: 9.594 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.849e-05/0.042, allocations: 67.66 kB / 370.7 MB, free: 9.527 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.403e-05/0.04205, allocations: 12 kB / 370.7 MB, free: 9.516 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.04226, allocations: 27.97 kB / 370.7 MB, free: 9.488 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.288e-05/0.04234, allocations: 31.95 kB / 370.7 MB, free: 9.457 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.04237, allocations: 15.98 kB / 370.7 MB, free: 9.441 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002607/0.04263, allocations: 318.7 kB / 371.1 MB, free: 9.133 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04263, allocations: 0 / 371.1 MB, free: 9.133 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007937/0.04342, allocations: 358.7 kB / 371.4 MB, free: 8.781 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.001074/0.04449, allocations: 467 kB / 371.9 MB, free: 8.469 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.04553, allocations: 1.259 MB / 373.1 MB, free: 7.043 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.04554, allocations: 0 / 373.1 MB, free: 7.043 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003059/0.04584, allocations: 451.5 kB / 373.6 MB, free: 6.543 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.04629, allocations: 100.5 kB / 373.7 MB, free: 6.453 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.04825, allocations: 1.246 MB / 374.9 MB, free: 5.156 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.04838, allocations: 153.7 kB / 375.1 MB, free: 4.984 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002081/0.04859, allocations: 67.34 kB / 375.1 MB, free: 4.918 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/0.04887, allocations: 174.2 kB / 375.3 MB, free: 4.746 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.04887, allocations: 0 / 375.3 MB, free: 4.746 MB / 298.7 MB Notification: Performance of Templates: time 0.01421/0.06308, allocations: 9.122 MB / 384.4 MB, free: 11.7 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.23908233596012]