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.001446/0.001446, allocations: 88.72 kB / 19.44 MB, free: 356 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.001641/0.001641, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.498/1.498, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.04676/0.04676, allocations: 6.471 MB / 266 MB, free: 6.66 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.855e-06/2.855e-06, allocations: 0 / 337.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.714e-05/4e-05, allocations: 2.312 kB / 337.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.005007/0.005047, allocations: 4.102 MB / 341.4 MB, free: 7.031 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003352/0.0084, allocations: 2.326 MB / 343.8 MB, free: 4.695 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005086/0.008908, allocations: 19.94 kB / 343.8 MB, free: 4.676 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005046/0.009413, allocations: 162.6 kB / 343.9 MB, free: 4.516 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008795/0.01029, allocations: 289.9 kB / 344.2 MB, free: 4.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007994/0.01109, allocations: 419.2 kB / 344.6 MB, free: 3.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008022/0.01189, allocations: 0.9856 MB / 345.6 MB, free: 2.832 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004487/0.01234, allocations: 333.1 kB / 345.9 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006498/0.01299, allocations: 0.5847 MB / 346.5 MB, free: 1.895 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003601/0.01335, allocations: 307.1 kB / 346.8 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.01345, allocations: 116 kB / 346.9 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002921/0.01375, allocations: 199.9 kB / 347.1 MB, free: 1.285 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.01394, allocations: 247.2 kB / 347.4 MB, free: 1.043 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002548/0.01419, allocations: 319.2 kB / 347.7 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.01578, allocations: 1.32 MB / 349 MB, free: 15.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.01579, allocations: 4 kB / 349 MB, free: 15.4 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.01579, allocations: 0 / 349 MB, free: 15.4 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.859e-05/0.01581, allocations: 0 / 349 MB, free: 15.4 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.002611/0.01842, allocations: 1.195 MB / 350.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.01847, allocations: 16.03 kB / 350.2 MB, free: 14.14 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003275/0.0188, allocations: 160.3 kB / 350.4 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.01982, allocations: 0.5304 MB / 350.9 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-05/0.01989, allocations: 54.38 kB / 351 MB, free: 13.37 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.02003, allocations: 84.33 kB / 351 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/0.02171, allocations: 0.8825 MB / 351.9 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/0.02174, allocations: 7.875 kB / 351.9 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.446e-05/0.02181, allocations: 28 kB / 352 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.02183, allocations: 20 kB / 352 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.02323, allocations: 0.5889 MB / 352.6 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004586/0.02781, allocations: 2.322 MB / 354.9 MB, free: 9.285 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.029, allocations: 422.2 kB / 355.3 MB, free: 8.852 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005205/0.02952, allocations: 224.5 kB / 355.5 MB, free: 8.617 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.515e-05/0.02958, allocations: 7.984 kB / 355.5 MB, free: 8.609 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007569/0.03034, allocations: 396.5 kB / 355.9 MB, free: 8.184 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 1.583e-06/0.03034, allocations: 0 / 355.9 MB, free: 8.184 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.00205/0.03239, allocations: 0.7908 MB / 356.7 MB, free: 7.348 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002672/0.03266, allocations: 166.2 kB / 356.9 MB, free: 7.148 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009183/0.03357, allocations: 0.6073 MB / 357.5 MB, free: 6.527 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.081e-05/0.03363, allocations: 41.7 kB / 357.5 MB, free: 6.48 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004069/0.03404, allocations: 404.2 kB / 357.9 MB, free: 6.082 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.03418, allocations: 127 kB / 358 MB, free: 5.957 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.03436, allocations: 98.12 kB / 358.1 MB, free: 5.855 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002467/0.03461, allocations: 362.8 kB / 358.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005676/0.03518, allocations: 271.9 kB / 358.8 MB, free: 5.203 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007309/0.03591, allocations: 452 kB / 359.2 MB, free: 4.68 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.03709, allocations: 0.5959 MB / 359.8 MB, free: 4.004 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.0371, allocations: 3.938 kB / 359.8 MB, free: 4 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001653/0.03875, allocations: 0.779 MB / 360.6 MB, free: 3.176 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.428e-05/0.03884, allocations: 97.09 kB / 360.7 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.03885, allocations: 4 kB / 360.7 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002014/0.03906, allocations: 25.19 kB / 360.7 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004326/0.03949, allocations: 99.81 kB / 360.8 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.04081, allocations: 1.276 MB / 362.1 MB, free: 1.555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000502/0.04132, allocations: 83.78 kB / 362.2 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.783e-05/0.04136, allocations: 16 kB / 362.2 MB, free: 1.457 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008408/0.04221, allocations: 450.1 kB / 362.6 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006831/0.04289, allocations: 439.9 kB / 363 MB, free: 496 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001099/0.04399, allocations: 0.5746 MB / 363.6 MB, free: 15.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.761e-06/0.04399, allocations: 4 kB / 363.6 MB, free: 15.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001673/0.04567, allocations: 0.7536 MB / 364.4 MB, free: 15.03 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.499e-05/0.04575, allocations: 97.03 kB / 364.5 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.04576, allocations: 0 / 364.5 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001155/0.04587, allocations: 28.84 kB / 364.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/0.04626, allocations: 91.89 kB / 364.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.04749, allocations: 1.272 MB / 365.9 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004846/0.04797, allocations: 71.73 kB / 365.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-05/0.04802, allocations: 20 kB / 365.9 MB, free: 13.33 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.0003065/0.04832, allocations: 279.6 kB / 366.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.04846, allocations: 71.62 kB / 366.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.04987, allocations: 0.5881 MB / 366.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.04987, allocations: 4 kB / 366.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.04988, allocations: 4 kB / 366.9 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.04988, allocations: 3.938 kB / 366.9 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/0.05217, allocations: 1.14 MB / 368 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.05217, allocations: 0 / 368 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003748/0.05255, allocations: 71.89 kB / 368.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001079/0.05266, allocations: 24.78 kB / 368.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-05/0.0527, allocations: 16 kB / 368.1 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/0.0539, allocations: 1.252 MB / 369.4 MB, free: 9.652 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.0539, allocations: 160 / 369.4 MB, free: 9.652 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002063/0.05597, allocations: 0.9601 MB / 370.3 MB, free: 8.637 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.05612, allocations: 71.66 kB / 370.4 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.651e-05/0.05621, allocations: 8 kB / 370.4 MB, free: 8.559 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/0.05663, allocations: 51.95 kB / 370.5 MB, free: 8.508 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.05678, allocations: 39.81 kB / 370.5 MB, free: 8.469 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-05/0.05681, allocations: 8 kB / 370.5 MB, free: 8.461 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007696/0.05758, allocations: 438.8 kB / 371 MB, free: 8.035 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05758, allocations: 0 / 371 MB, free: 8.035 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001101/0.05868, allocations: 366.7 kB / 371.3 MB, free: 7.676 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.0021/0.06078, allocations: 487.6 kB / 371.8 MB, free: 7.383 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002778/0.06356, allocations: 1.435 MB / 373.2 MB, free: 5.801 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.06356, allocations: 4.062 kB / 373.2 MB, free: 5.797 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008537/0.06442, allocations: 476.6 kB / 373.7 MB, free: 5.281 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006838/0.0651, allocations: 103.1 kB / 373.8 MB, free: 5.191 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/0.06795, allocations: 1.381 MB / 375.2 MB, free: 3.762 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004786/0.06843, allocations: 341.9 kB / 375.5 MB, free: 3.398 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003117/0.06874, allocations: 71.28 kB / 375.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.0689, allocations: 44.48 kB / 375.6 MB, free: 3.281 MB / 298.7 MB Notification: Performance of SimCode: time 7.52e-07/0.0689, allocations: 0 / 375.6 MB, free: 3.281 MB / 298.7 MB Notification: Performance of Templates: time 0.01827/0.08717, allocations: 8.309 MB / 383.9 MB, free: 11.05 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=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.9538830479141325]