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.001451/0.001451, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001882/0.001882, allocations: 177 kB / 23.36 MB, free: 1.129 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.124/1.124, allocations: 177.2 MB / 203.8 MB, free: 5.453 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.02573/0.02573, allocations: 6.492 MB / 266.7 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.773e-06/1.773e-06, allocations: 0 / 285.3 MB, free: 3.914 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.336e-05/1.513e-05, allocations: 2.312 kB / 285.3 MB, free: 3.91 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2): time 0.1079/0.108, allocations: 5.074 MB / 290.4 MB, free: 19.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003867/0.1118, allocations: 2.392 MB / 292.8 MB, free: 18.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005789/0.1124, allocations: 21.41 kB / 292.8 MB, free: 18.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005127/0.1129, allocations: 202.6 kB / 293 MB, free: 18.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007798/0.1137, allocations: 296.3 kB / 293.3 MB, free: 18.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007434/0.1144, allocations: 377.6 kB / 293.7 MB, free: 18.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00114/0.1156, allocations: 0.9848 MB / 294.7 MB, free: 17.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004414/0.116, allocations: 328 kB / 295 MB, free: 17.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008662/0.1169, allocations: 0.5708 MB / 295.5 MB, free: 17.01 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005873/0.1175, allocations: 344.7 kB / 295.9 MB, free: 16.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.1176, allocations: 107.2 kB / 296 MB, free: 16.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004386/0.1181, allocations: 212.2 kB / 296.2 MB, free: 16.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.1182, allocations: 220.5 kB / 296.4 MB, free: 16.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002663/0.1185, allocations: 298.6 kB / 296.7 MB, free: 16.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009173/0.1194, allocations: 0.7455 MB / 297.4 MB, free: 16.13 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1194, allocations: 5.406 kB / 297.4 MB, free: 16.13 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1194, allocations: 0.8438 kB / 297.5 MB, free: 16.13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.535e-05/0.1194, allocations: 0 / 297.5 MB, free: 16.13 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.001371/0.1208, allocations: 1.125 MB / 298.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.1208, allocations: 9.219 kB / 298.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.121, allocations: 117.5 kB / 298.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004783/0.1215, allocations: 359.2 kB / 299 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.974e-05/0.1216, allocations: 106.1 kB / 299.2 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.339e-05/0.1216, allocations: 78.38 kB / 299.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006549/0.1223, allocations: 0.6469 MB / 299.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.1223, allocations: 6.703 kB / 299.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.1224, allocations: 27.34 kB / 299.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.1224, allocations: 16.06 kB / 299.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003124/0.1227, allocations: 230.2 kB / 300.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/0.1247, allocations: 1.718 MB / 301.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/0.125, allocations: 256.6 kB / 302.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.018e-05/0.1251, allocations: 120.4 kB / 302.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.522e-05/0.1252, allocations: 6.938 kB / 302.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002263/0.1254, allocations: 298.8 kB / 302.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 2.103e-06/0.1254, allocations: 0 / 302.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.0004709/0.1259, allocations: 443.4 kB / 303 MB, free: 12.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.1259, allocations: 167.6 kB / 303.1 MB, free: 12.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003471/0.1262, allocations: 437 kB / 303.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.1263, allocations: 34.48 kB / 303.6 MB, free: 12.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.1264, allocations: 327.2 kB / 303.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.898e-05/0.1264, allocations: 129.7 kB / 304 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.1266, allocations: 101.8 kB / 304.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.832e-05/0.1266, allocations: 370.4 kB / 304.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.1268, allocations: 145 kB / 304.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.127, allocations: 325.4 kB / 305 MB, free: 11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/0.1273, allocations: 405.1 kB / 305.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.1273, allocations: 1.375 kB / 305.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006159/0.1279, allocations: 476.7 kB / 305.8 MB, free: 10.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.851e-05/0.128, allocations: 94.31 kB / 305.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.128, allocations: 8.219 kB / 305.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000207/0.1282, allocations: 21.38 kB / 305.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.1285, allocations: 100.4 kB / 306 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005269/0.1291, allocations: 1.174 MB / 307.2 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.1293, allocations: 70.73 kB / 307.3 MB, free: 8.953 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.1293, allocations: 16.94 kB / 307.3 MB, free: 8.949 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002384/0.1296, allocations: 235.7 kB / 307.5 MB, free: 8.746 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001316/0.1297, allocations: 319.1 kB / 307.8 MB, free: 8.418 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002396/0.13, allocations: 405.3 kB / 308.2 MB, free: 8.062 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.527e-06/0.13, allocations: 0.7812 kB / 308.2 MB, free: 8.062 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0003787/0.1303, allocations: 475.8 kB / 308.7 MB, free: 7.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.1304, allocations: 94.22 kB / 308.8 MB, free: 7.629 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1304, allocations: 3.812 kB / 308.8 MB, free: 7.629 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.464e-05/0.1304, allocations: 33.67 kB / 308.8 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.1306, allocations: 95.11 kB / 308.9 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003731/0.131, allocations: 1.162 MB / 310.1 MB, free: 6.406 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.1312, allocations: 60.91 kB / 310.1 MB, free: 6.375 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.1312, allocations: 18.94 kB / 310.2 MB, free: 6.367 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 0.0001197/0.1314, allocations: 275 kB / 310.4 MB, free: 6.094 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/0.1314, allocations: 48.36 kB / 310.5 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003066/0.1317, allocations: 355.1 kB / 310.8 MB, free: 5.812 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.1317, allocations: 5.188 kB / 310.8 MB, free: 5.812 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.1317, allocations: 0 / 310.8 MB, free: 5.812 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1317, allocations: 3.938 kB / 310.8 MB, free: 5.809 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007114/0.1324, allocations: 0.7039 MB / 311.5 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1324, allocations: 0 / 311.5 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.1326, allocations: 63.02 kB / 311.6 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.417e-05/0.1327, allocations: 18.89 kB / 311.6 MB, free: 5.258 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.1327, allocations: 13.95 kB / 311.6 MB, free: 5.246 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003235/0.133, allocations: 1.153 MB / 312.8 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.133, allocations: 0 / 312.8 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.1334, allocations: 0.5627 MB / 313.3 MB, free: 3.551 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-05/0.1335, allocations: 55.59 kB / 313.4 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.1335, allocations: 12 kB / 313.4 MB, free: 3.484 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.1336, allocations: 32.03 kB / 313.4 MB, free: 3.453 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/0.1337, allocations: 35.94 kB / 313.5 MB, free: 3.418 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.1337, allocations: 12 kB / 313.5 MB, free: 3.406 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000142/0.1339, allocations: 203.2 kB / 313.7 MB, free: 3.207 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1339, allocations: 0 / 313.7 MB, free: 3.207 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005413/0.1344, allocations: 334.8 kB / 314 MB, free: 2.879 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.001123/0.1355, allocations: 0.5723 MB / 314.6 MB, free: 2.629 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006171/0.1361, allocations: 1.153 MB / 315.7 MB, free: 1.324 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.1362, allocations: 4 kB / 315.7 MB, free: 1.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.1363, allocations: 397.5 kB / 316.1 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.1366, allocations: 93.84 kB / 316.2 MB, free: 0.793 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.138, allocations: 1.158 MB / 317.4 MB, free: 15.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.571e-05/0.1381, allocations: 153.5 kB / 317.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001739/0.1383, allocations: 59.23 kB / 317.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.1385, allocations: 155.3 kB / 317.7 MB, free: 15.2 MB / 282.7 MB Notification: Performance of SimCode: time 1.422e-06/0.1385, allocations: 0 / 317.7 MB, free: 15.2 MB / 282.7 MB Notification: Performance of Templates: time 0.01126/0.1498, allocations: 8.288 MB / 326 MB, free: 7.02 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0428934362716973]