Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.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.001205/0.001205, allocations: 80.94 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.001429/0.001429, allocations: 173 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 1.046/1.046, allocations: 177.1 MB / 203.8 MB, free: 5.504 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.05693/0.05693, allocations: 6.503 MB / 266.8 MB, free: 6.523 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.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 285.3 MB, free: 3.961 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.682e-05, allocations: 10.05 kB / 285.3 MB, free: 3.953 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1): time 0.122/0.122, allocations: 5.076 MB / 290.4 MB, free: 19.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.1242, allocations: 1.663 MB / 292.1 MB, free: 18.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003428/0.1246, allocations: 18.09 kB / 292.1 MB, free: 18.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003395/0.1249, allocations: 197.5 kB / 292.3 MB, free: 18.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004797/0.1254, allocations: 292 kB / 292.6 MB, free: 18.76 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005166/0.1259, allocations: 381.2 kB / 292.9 MB, free: 18.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00069/0.1266, allocations: 0.978 MB / 293.9 MB, free: 18.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003186/0.1269, allocations: 328 kB / 294.2 MB, free: 17.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005234/0.1274, allocations: 0.5604 MB / 294.8 MB, free: 17.6 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003572/0.1278, allocations: 336.7 kB / 295.1 MB, free: 17.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.1279, allocations: 104.2 kB / 295.2 MB, free: 17.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.1281, allocations: 146.3 kB / 295.4 MB, free: 17.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.1282, allocations: 215.2 kB / 295.6 MB, free: 17.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.1284, allocations: 288.7 kB / 295.8 MB, free: 17.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005715/0.129, allocations: 0.6836 MB / 296.5 MB, free: 16.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.129, allocations: 5.062 kB / 296.5 MB, free: 16.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.129, allocations: 0 / 296.5 MB, free: 16.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.129, allocations: 0 / 296.5 MB, free: 16.78 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.001038/0.13, allocations: 1.102 MB / 297.6 MB, free: 16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.513e-05/0.13, allocations: 10.2 kB / 297.6 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.1302, allocations: 120.2 kB / 297.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/0.1305, allocations: 361.6 kB / 298.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.513e-05/0.1306, allocations: 106.9 kB / 298.2 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.341e-05/0.1307, allocations: 72.67 kB / 298.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005304/0.1312, allocations: 0.611 MB / 298.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.1312, allocations: 5.078 kB / 298.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.1312, allocations: 29.22 kB / 298.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.1313, allocations: 17 kB / 299 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00027/0.1315, allocations: 229.2 kB / 299.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.1331, allocations: 1.706 MB / 300.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.1334, allocations: 254.6 kB / 301.1 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.286e-05/0.1335, allocations: 125.9 kB / 301.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.1336, allocations: 8.203 kB / 301.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.1337, allocations: 293 kB / 301.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.312e-06/0.1338, allocations: 0 / 301.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.000401/0.1342, allocations: 440.7 kB / 302 MB, free: 13.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.1342, allocations: 141.3 kB / 302.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.1344, allocations: 430.6 kB / 302.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.1344, allocations: 37.36 kB / 302.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.539e-05/0.1345, allocations: 328.1 kB / 302.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/0.1346, allocations: 131.2 kB / 303 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.569e-05/0.1347, allocations: 98.19 kB / 303.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.32e-05/0.1347, allocations: 371.2 kB / 303.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.425e-05/0.1348, allocations: 145.1 kB / 303.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.1349, allocations: 284.8 kB / 303.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.1351, allocations: 415.3 kB / 304.3 MB, free: 11.53 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1351, allocations: 1.312 kB / 304.3 MB, free: 11.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003394/0.1355, allocations: 473.6 kB / 304.8 MB, free: 11.24 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.1355, allocations: 93.59 kB / 304.9 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1355, allocations: 4.031 kB / 304.9 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.239e-05/0.1356, allocations: 25.66 kB / 304.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.1358, allocations: 96.77 kB / 305 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000354/0.1361, allocations: 1.169 MB / 306.2 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.1363, allocations: 71.3 kB / 306.2 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.1364, allocations: 16.31 kB / 306.2 MB, free: 9.863 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000144/0.1365, allocations: 234.6 kB / 306.5 MB, free: 9.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001036/0.1366, allocations: 278.7 kB / 306.7 MB, free: 9.379 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000198/0.1368, allocations: 399.2 kB / 307.1 MB, free: 9.027 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.244e-06/0.1368, allocations: 5.594 kB / 307.1 MB, free: 9.023 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0003073/0.1371, allocations: 472.4 kB / 307.6 MB, free: 8.691 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.1371, allocations: 95.03 kB / 307.7 MB, free: 8.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1371, allocations: 3.25 kB / 307.7 MB, free: 8.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.226e-05/0.1372, allocations: 22.67 kB / 307.7 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.1374, allocations: 101.7 kB / 307.8 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003002/0.1377, allocations: 1.162 MB / 309 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.1378, allocations: 58.89 kB / 309 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.1379, allocations: 15.78 kB / 309.1 MB, free: 7.336 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.102e-05/0.138, allocations: 282.8 kB / 309.3 MB, free: 7.055 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.696e-05/0.138, allocations: 47.58 kB / 309.4 MB, free: 7.039 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002704/0.1383, allocations: 352 kB / 309.7 MB, free: 6.777 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1383, allocations: 3.719 kB / 309.7 MB, free: 6.777 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.1383, allocations: 0 / 309.7 MB, free: 6.777 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1383, allocations: 12.98 kB / 309.7 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005177/0.1388, allocations: 0.677 MB / 310.4 MB, free: 6.266 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1388, allocations: 3.984 kB / 310.4 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.139, allocations: 68.03 kB / 310.5 MB, free: 6.242 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-05/0.139, allocations: 21.55 kB / 310.5 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.139, allocations: 10.72 kB / 310.5 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002825/0.1393, allocations: 1.159 MB / 311.7 MB, free: 5.035 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1393, allocations: 6 kB / 311.7 MB, free: 5.031 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.1396, allocations: 0.5645 MB / 312.2 MB, free: 4.582 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.392e-05/0.1397, allocations: 49.3 kB / 312.3 MB, free: 4.551 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.1397, allocations: 9.812 kB / 312.3 MB, free: 4.547 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.1399, allocations: 35.56 kB / 312.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.1399, allocations: 38.41 kB / 312.4 MB, free: 4.504 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.1399, allocations: 13.8 kB / 312.4 MB, free: 4.496 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001185/0.1401, allocations: 186.4 kB / 312.6 MB, free: 4.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1401, allocations: 0 / 312.6 MB, free: 4.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003862/0.1405, allocations: 310.9 kB / 312.9 MB, free: 4.105 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.0008042/0.1413, allocations: 448 kB / 313.3 MB, free: 3.926 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005256/0.1418, allocations: 1.145 MB / 314.5 MB, free: 2.629 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.1418, allocations: 4 kB / 314.5 MB, free: 2.625 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.1419, allocations: 389.5 kB / 314.8 MB, free: 2.191 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.1422, allocations: 93.17 kB / 314.9 MB, free: 2.113 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.1434, allocations: 1.169 MB / 316.1 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.029e-05/0.1434, allocations: 142.5 kB / 316.2 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001438/0.1436, allocations: 55.25 kB / 316.3 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.1437, allocations: 151.3 kB / 316.4 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1437, allocations: 0 / 316.4 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of Templates: time 0.009447/0.1532, allocations: 7.454 MB / 323.9 MB, free: 9.168 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.970023723784834]