Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.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.001085/0.001085, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001131/0.001131, allocations: 181 kB / 23.36 MB, free: 1.133 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.8717/0.8717, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.0319/0.0319, allocations: 6.502 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.TestOneFlange.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 285.3 MB, free: 3.973 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.231e-05, allocations: 5.969 kB / 285.3 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2): time 0.1132/0.1133, allocations: 5.036 MB / 290.3 MB, free: 18.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002828/0.1161, allocations: 2.392 MB / 292.7 MB, free: 18.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003101/0.1164, allocations: 22.19 kB / 292.7 MB, free: 18.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000378/0.1168, allocations: 197.9 kB / 292.9 MB, free: 18.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000551/0.1173, allocations: 306 kB / 293.2 MB, free: 18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000537/0.1179, allocations: 382.5 kB / 293.6 MB, free: 17.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006635/0.1185, allocations: 0.9807 MB / 294.6 MB, free: 17.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003193/0.1189, allocations: 328.6 kB / 294.9 MB, free: 17.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005072/0.1194, allocations: 0.5707 MB / 295.5 MB, free: 16.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000373/0.1197, allocations: 344.5 kB / 295.8 MB, free: 16.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.539e-05/0.1198, allocations: 106.8 kB / 295.9 MB, free: 16.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000251/0.1201, allocations: 207.6 kB / 296.1 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.1202, allocations: 219.5 kB / 296.3 MB, free: 16.53 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.1204, allocations: 297.1 kB / 296.6 MB, free: 16.37 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006578/0.1211, allocations: 0.7492 MB / 297.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1211, allocations: 1.719 kB / 297.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1211, allocations: 0 / 297.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1211, allocations: 0 / 297.4 MB, free: 15.95 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001063/0.1221, allocations: 1.128 MB / 298.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.1222, allocations: 9.781 kB / 298.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.1223, allocations: 120.6 kB / 298.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.1227, allocations: 352.4 kB / 299 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/0.1228, allocations: 109.2 kB / 299.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.974e-05/0.1228, allocations: 73.41 kB / 299.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005569/0.1234, allocations: 0.6464 MB / 299.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.1234, allocations: 6.734 kB / 299.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.1234, allocations: 28.16 kB / 299.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.1235, allocations: 16.42 kB / 299.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002641/0.1237, allocations: 235.7 kB / 300.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.1254, allocations: 1.711 MB / 301.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003123/0.1257, allocations: 255.5 kB / 302 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.922e-05/0.1258, allocations: 129.1 kB / 302.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.1258, allocations: 5.781 kB / 302.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.126, allocations: 292.3 kB / 302.4 MB, free: 12.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.734e-06/0.126, allocations: 0 / 302.4 MB, free: 12.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.000445/0.1265, allocations: 447.8 kB / 302.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.1265, allocations: 167.9 kB / 303 MB, free: 12.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.1268, allocations: 433.1 kB / 303.5 MB, free: 12.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.1268, allocations: 38.52 kB / 303.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.1269, allocations: 322.7 kB / 303.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.839e-05/0.1269, allocations: 130.2 kB / 303.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.684e-05/0.127, allocations: 98.91 kB / 304 MB, free: 11.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.549e-05/0.1271, allocations: 370.5 kB / 304.4 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.946e-05/0.1272, allocations: 153.4 kB / 304.6 MB, free: 11.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.1273, allocations: 320.7 kB / 304.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.1275, allocations: 406.6 kB / 305.3 MB, free: 10.51 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.1275, allocations: 7.375 kB / 305.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003322/0.1278, allocations: 483.4 kB / 305.7 MB, free: 10.17 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/0.1279, allocations: 97.16 kB / 305.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1279, allocations: 4.188 kB / 305.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001006/0.128, allocations: 18.55 kB / 305.9 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.1282, allocations: 100.1 kB / 306 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003851/0.1285, allocations: 1.161 MB / 307.1 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.1287, allocations: 68.52 kB / 307.2 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.1288, allocations: 21.03 kB / 307.2 MB, free: 8.801 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001541/0.1289, allocations: 231.3 kB / 307.4 MB, free: 8.602 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001201/0.129, allocations: 323.2 kB / 307.8 MB, free: 8.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002062/0.1292, allocations: 412.2 kB / 308.2 MB, free: 7.906 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.044e-06/0.1292, allocations: 1.281 kB / 308.2 MB, free: 7.906 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0003213/0.1296, allocations: 476.9 kB / 308.6 MB, free: 7.574 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.1296, allocations: 93.59 kB / 308.7 MB, free: 7.473 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1296, allocations: 3.375 kB / 308.7 MB, free: 7.473 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.545e-05/0.1296, allocations: 27.03 kB / 308.7 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.1298, allocations: 90.61 kB / 308.8 MB, free: 7.438 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003113/0.1301, allocations: 1.155 MB / 310 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.1303, allocations: 64.81 kB / 310 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.1303, allocations: 15.91 kB / 310.1 MB, free: 6.223 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: 8 (oneFlange.pDC.integrator1.local_reset,oneFlange.limTau.state,oneFlange.limitingTorque,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1) * 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 9.756e-05/0.1304, allocations: 277 kB / 310.3 MB, free: 5.949 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/0.1305, allocations: 48.45 kB / 310.4 MB, free: 5.934 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.1307, allocations: 354.8 kB / 310.7 MB, free: 5.668 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.1307, allocations: 6.281 kB / 310.7 MB, free: 5.668 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.1307, allocations: 0 / 310.7 MB, free: 5.668 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.1307, allocations: 7.938 kB / 310.7 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005923/0.1313, allocations: 0.701 MB / 311.4 MB, free: 5.141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1313, allocations: 0 / 311.4 MB, free: 5.141 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.1315, allocations: 60.34 kB / 311.5 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.165e-05/0.1315, allocations: 18.12 kB / 311.5 MB, free: 5.113 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.1315, allocations: 11 kB / 311.5 MB, free: 5.105 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002928/0.1318, allocations: 1.164 MB / 312.7 MB, free: 3.918 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1318, allocations: 0 / 312.7 MB, free: 3.918 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/0.1322, allocations: 0.5515 MB / 313.2 MB, free: 3.484 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.583e-05/0.1323, allocations: 64.92 kB / 313.3 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.1323, allocations: 11.91 kB / 313.3 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.1324, allocations: 40.22 kB / 313.4 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/0.1325, allocations: 39.88 kB / 313.4 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.1325, allocations: 8 kB / 313.4 MB, free: 3.352 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001198/0.1326, allocations: 199.2 kB / 313.6 MB, free: 3.156 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1326, allocations: 0 / 313.6 MB, free: 3.156 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004822/0.1331, allocations: 330.9 kB / 313.9 MB, free: 2.832 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,oneFlange.pDC.integrator1.y) * Number of discrete variables: 5 ($whenCondition1,tauRef.T_start,tauRef.count,oneFlange.limitingTorque,oneFlange.limTau.state) * 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.001158/0.1343, allocations: 0.5727 MB / 314.5 MB, free: 2.586 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005734/0.1348, allocations: 1.149 MB / 315.6 MB, free: 1.285 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.1349, allocations: 12 kB / 315.7 MB, free: 1.273 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.135, allocations: 389.5 kB / 316 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.1353, allocations: 86.72 kB / 316.1 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.1366, allocations: 1.158 MB / 317.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.72e-05/0.1367, allocations: 149.5 kB / 317.4 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001561/0.1369, allocations: 59.23 kB / 317.5 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/0.1371, allocations: 151.3 kB / 317.6 MB, free: 15.18 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1371, allocations: 0 / 317.6 MB, free: 15.18 MB / 282.7 MB Notification: Performance of Templates: time 0.01033/0.1474, allocations: 8.306 MB / 325.9 MB, free: 6.977 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.804681927897036]