Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.0009034/0.0009034, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.0009048/0.0009048, allocations: 177 kB / 23.36 MB, free: 1.137 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 0.8748/0.8748, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.02476/0.02476, allocations: 6.499 MB / 266.8 MB, free: 6.492 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 285.3 MB, free: 3.977 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.273e-05/1.442e-05, allocations: 5.828 kB / 285.3 MB, free: 3.973 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.1024/0.1024, allocations: 4.338 MB / 289.6 MB, free: 19.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003221/0.1056, allocations: 2.427 MB / 292 MB, free: 18.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003317/0.1059, allocations: 20.19 kB / 292.1 MB, free: 18.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003837/0.1063, allocations: 163.4 kB / 292.2 MB, free: 18.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006446/0.107, allocations: 290.3 kB / 292.5 MB, free: 18.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006678/0.1076, allocations: 432.7 kB / 292.9 MB, free: 18.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000835/0.1085, allocations: 0.9842 MB / 293.9 MB, free: 17.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003792/0.1088, allocations: 357.2 kB / 294.3 MB, free: 17.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000661/0.1095, allocations: 0.582 MB / 294.8 MB, free: 17.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000417/0.1099, allocations: 330.5 kB / 295.2 MB, free: 17.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.1101, allocations: 112.2 kB / 295.3 MB, free: 17.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002768/0.1103, allocations: 204.4 kB / 295.5 MB, free: 17.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.1105, allocations: 259.6 kB / 295.7 MB, free: 17.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003249/0.1108, allocations: 316.2 kB / 296 MB, free: 17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009234/0.1118, allocations: 0.7909 MB / 296.8 MB, free: 16.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.1118, allocations: 0 / 296.8 MB, free: 16.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1118, allocations: 2.875 kB / 296.8 MB, free: 16.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.609e-05/0.1118, allocations: 0 / 296.8 MB, free: 16.56 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001321/0.1131, allocations: 1.172 MB / 298 MB, free: 15.74 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.1131, allocations: 8.562 kB / 298 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.1133, allocations: 123.2 kB / 298.1 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004923/0.1138, allocations: 367.8 kB / 298.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.874e-05/0.1139, allocations: 57.31 kB / 298.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.718e-05/0.114, allocations: 90.22 kB / 298.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007104/0.1147, allocations: 0.6681 MB / 299.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.1147, allocations: 6.234 kB / 299.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.1147, allocations: 32.38 kB / 299.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.1147, allocations: 16.69 kB / 299.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.115, allocations: 237.7 kB / 299.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001918/0.117, allocations: 1.784 MB / 301.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.1173, allocations: 245 kB / 301.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.425e-05/0.1174, allocations: 116.2 kB / 301.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.1174, allocations: 8.688 kB / 301.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.1176, allocations: 294.9 kB / 302 MB, free: 13.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.723e-06/0.1176, allocations: 0 / 302 MB, free: 13.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0004601/0.118, allocations: 452 kB / 302.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.1181, allocations: 170 kB / 302.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/0.1184, allocations: 450.6 kB / 303.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.1184, allocations: 43 kB / 303.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.1185, allocations: 347.2 kB / 303.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.33e-05/0.1186, allocations: 123.4 kB / 303.6 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-05/0.1187, allocations: 97.66 kB / 303.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.408e-05/0.1187, allocations: 371 kB / 304 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.952e-05/0.1188, allocations: 144.1 kB / 304.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.1189, allocations: 324.7 kB / 304.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.1191, allocations: 412.2 kB / 304.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.1192, allocations: 0 / 304.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003492/0.1195, allocations: 479.5 kB / 305.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.1195, allocations: 93.16 kB / 305.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1195, allocations: 4.25 kB / 305.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.557e-05/0.1196, allocations: 22.27 kB / 305.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.1198, allocations: 90.86 kB / 305.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004047/0.1202, allocations: 1.173 MB / 306.7 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.1204, allocations: 63.8 kB / 306.8 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.1204, allocations: 15.44 kB / 306.8 MB, free: 9.398 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001548/0.1206, allocations: 234.3 kB / 307 MB, free: 9.195 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001243/0.1207, allocations: 328.6 kB / 307.4 MB, free: 8.859 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000218/0.1209, allocations: 398.3 kB / 307.7 MB, free: 8.508 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.984e-06/0.1209, allocations: 1.219 kB / 307.7 MB, free: 8.508 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0003142/0.1212, allocations: 474.1 kB / 308.2 MB, free: 8.176 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1213, allocations: 86.89 kB / 308.3 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1213, allocations: 3.281 kB / 308.3 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.136e-05/0.1213, allocations: 26.44 kB / 308.3 MB, free: 8.066 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.1215, allocations: 98.67 kB / 308.4 MB, free: 8.039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002928/0.1218, allocations: 1.174 MB / 309.6 MB, free: 6.844 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.1219, allocations: 63.45 kB / 309.7 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.1219, allocations: 15.69 kB / 309.7 MB, free: 6.805 MB / 266.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 9.258e-05/0.122, allocations: 273 kB / 309.9 MB, free: 6.535 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/0.1221, allocations: 50.67 kB / 310 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.1223, allocations: 351.3 kB / 310.3 MB, free: 6.246 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1223, allocations: 2.438 kB / 310.3 MB, free: 6.246 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.1223, allocations: 0 / 310.3 MB, free: 6.246 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.1223, allocations: 3.984 kB / 310.3 MB, free: 6.242 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005544/0.1229, allocations: 0.7062 MB / 311 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1229, allocations: 1.094 kB / 311 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.123, allocations: 57.69 kB / 311.1 MB, free: 5.703 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.417e-05/0.1231, allocations: 24.8 kB / 311.1 MB, free: 5.684 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.1231, allocations: 9.312 kB / 311.1 MB, free: 5.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002788/0.1234, allocations: 1.162 MB / 312.3 MB, free: 4.496 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1234, allocations: 0 / 312.3 MB, free: 4.496 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.1237, allocations: 0.5656 MB / 312.9 MB, free: 4.051 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.1237, allocations: 59.38 kB / 312.9 MB, free: 4.008 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.1238, allocations: 10.44 kB / 312.9 MB, free: 4.004 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.1239, allocations: 28.19 kB / 313 MB, free: 3.977 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.124, allocations: 31.95 kB / 313 MB, free: 3.945 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.124, allocations: 11.98 kB / 313 MB, free: 3.934 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001344/0.1241, allocations: 203.2 kB / 313.2 MB, free: 3.734 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1241, allocations: 0 / 313.2 MB, free: 3.734 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004821/0.1246, allocations: 362.7 kB / 313.6 MB, free: 3.379 MB / 266.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.00102/0.1256, allocations: 0.5598 MB / 314.1 MB, free: 3.141 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005636/0.1262, allocations: 1.126 MB / 315.2 MB, free: 1.863 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.1262, allocations: 4 kB / 315.2 MB, free: 1.859 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.1263, allocations: 393.5 kB / 315.6 MB, free: 1.422 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.1266, allocations: 107.7 kB / 315.7 MB, free: 1.324 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.1279, allocations: 1.23 MB / 317 MB, free: 48 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.128, allocations: 162.5 kB / 317.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000148/0.1282, allocations: 59.34 kB / 317.2 MB, free: 15.81 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.1284, allocations: 155.3 kB / 317.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1284, allocations: 3.938 kB / 317.3 MB, free: 15.65 MB / 282.7 MB Notification: Performance of Templates: time 0.01085/0.1392, allocations: 8.765 MB / 326.1 MB, free: 6.984 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8238344467245042]