Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.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.001825/0.001825, allocations: 85.48 kB / 19.44 MB, free: 340 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.001971/0.001971, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.57/1.57, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.04734/0.04734, allocations: 6.475 MB / 266 MB, free: 6.672 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.TestLimTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque") translateModel(EHPTlib.MapBased.TestingModels.TestLimTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 337.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.771e-05, allocations: 2.312 kB / 337.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.002788/0.002816, allocations: 1.887 MB / 339.2 MB, free: 9.254 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.004849, allocations: 1.722 MB / 340.9 MB, free: 7.523 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.004985, allocations: 8 kB / 340.9 MB, free: 7.516 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.005282, allocations: 107.5 kB / 341.1 MB, free: 7.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004877/0.00577, allocations: 175.1 kB / 341.2 MB, free: 7.238 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003966/0.006167, allocations: 179.6 kB / 341.4 MB, free: 7.062 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003113/0.006478, allocations: 291.2 kB / 341.7 MB, free: 6.777 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.695e-05/0.006575, allocations: 28.56 kB / 341.7 MB, free: 6.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002651/0.00684, allocations: 155.6 kB / 341.9 MB, free: 6.598 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.007033, allocations: 119.7 kB / 342 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.221e-05/0.007075, allocations: 16 kB / 342 MB, free: 6.465 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.007273, allocations: 119.8 kB / 342.1 MB, free: 6.348 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.755e-05/0.00734, allocations: 55.78 kB / 342.2 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.252e-05/0.007413, allocations: 67.77 kB / 342.2 MB, free: 6.227 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004106/0.007824, allocations: 350.9 kB / 342.6 MB, free: 5.883 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.716e-06/0.007827, allocations: 0 / 342.6 MB, free: 5.883 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.007829, allocations: 0 / 342.6 MB, free: 5.883 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.007837, allocations: 0 / 342.6 MB, free: 5.883 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007099/0.008547, allocations: 0.6813 MB / 343.3 MB, free: 5.152 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.008584, allocations: 12.03 kB / 343.3 MB, free: 5.141 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.008687, allocations: 40.75 kB / 343.3 MB, free: 5.102 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.008963, allocations: 240.6 kB / 343.5 MB, free: 4.836 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.008978, allocations: 8.375 kB / 343.6 MB, free: 4.828 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.009, allocations: 12.38 kB / 343.6 MB, free: 4.816 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.009278, allocations: 242.6 kB / 343.8 MB, free: 4.547 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.009289, allocations: 3.938 kB / 343.8 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.009307, allocations: 4 kB / 343.8 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.009311, allocations: 0 / 343.8 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002126/0.009524, allocations: 143.4 kB / 344 MB, free: 4.387 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007843/0.01031, allocations: 0.4993 MB / 344.4 MB, free: 3.852 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.01049, allocations: 166.4 kB / 344.6 MB, free: 3.664 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.01063, allocations: 127.1 kB / 344.7 MB, free: 3.523 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.01066, allocations: 0 / 344.7 MB, free: 3.523 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.01068, allocations: 41.39 kB / 344.8 MB, free: 3.473 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 8.91e-07/0.01068, allocations: 0 / 344.8 MB, free: 3.473 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005458/0.01123, allocations: 423.8 kB / 345.2 MB, free: 3.016 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.01127, allocations: 136.5 kB / 345.3 MB, free: 2.852 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003374/0.0116, allocations: 422.3 kB / 345.7 MB, free: 2.426 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.01162, allocations: 33.7 kB / 345.8 MB, free: 2.387 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.395e-05/0.01171, allocations: 222.7 kB / 346 MB, free: 2.164 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.01175, allocations: 31.75 kB / 346 MB, free: 2.133 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.194e-05/0.01181, allocations: 43.36 kB / 346.1 MB, free: 2.082 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.01191, allocations: 0.5352 MB / 346.6 MB, free: 1.535 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.01203, allocations: 111.4 kB / 346.7 MB, free: 1.414 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.01216, allocations: 152.5 kB / 346.9 MB, free: 1.238 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.01237, allocations: 226.5 kB / 347.1 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01237, allocations: 0 / 347.1 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003395/0.01271, allocations: 308.6 kB / 347.4 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/0.01275, allocations: 63.39 kB / 347.4 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.01275, allocations: 3.938 kB / 347.4 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.01277, allocations: 0 / 347.4 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.496e-05/0.01285, allocations: 24.02 kB / 347.5 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.01286, allocations: 0 / 347.5 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.01301, allocations: 23.92 kB / 347.5 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.01302, allocations: 7.938 kB / 347.5 MB, free: 0.5234 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fileTxtLimits.state,fixedLimits.state) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.01313, allocations: 239.9 kB / 347.7 MB, free: 272 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.084e-05/0.01319, allocations: 39.81 kB / 347.8 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004791/0.01367, allocations: 322.3 kB / 348.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.01367, allocations: 4 kB / 348.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.01367, allocations: 4 kB / 348.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.01368, allocations: 4 kB / 348.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003608/0.01404, allocations: 256.5 kB / 348.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01404, allocations: 3.938 kB / 348.4 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.127e-05/0.01412, allocations: 11.98 kB / 348.4 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.01412, allocations: 4 kB / 348.4 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.01414, allocations: 4 kB / 348.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01414, allocations: 0 / 348.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01414, allocations: 0 / 348.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006393/0.01478, allocations: 478.4 kB / 348.8 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.01489, allocations: 55.72 kB / 348.9 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.01493, allocations: 4 kB / 348.9 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.01511, allocations: 15.98 kB / 348.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.893e-05/0.01519, allocations: 15.98 kB / 348.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.01522, allocations: 15.98 kB / 348.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003377/0.01555, allocations: 275 kB / 349.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01555, allocations: 0 / 349.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003495/0.0159, allocations: 75.86 kB / 349.3 MB, free: 14.6 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fixedLimits.state,fileTxtLimits.state) * Number of discrete states: 2 (fileTxtLimits.state,fixedLimits.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002942/0.01885, allocations: 487.3 kB / 349.8 MB, free: 14.31 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006066/0.01945, allocations: 385.1 kB / 350.1 MB, free: 13.88 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.01945, allocations: 0 / 350.1 MB, free: 13.88 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000331/0.01979, allocations: 261.9 kB / 350.4 MB, free: 13.58 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.02021, allocations: 59.75 kB / 350.5 MB, free: 13.53 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009913/0.0212, allocations: 0.5123 MB / 351 MB, free: 12.98 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.02138, allocations: 132.7 kB / 351.1 MB, free: 12.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.517e-05/0.02148, allocations: 29.14 kB / 351.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.094e-05/0.02154, allocations: 24.48 kB / 351.1 MB, free: 12.77 MB / 282.7 MB Notification: Performance of SimCode: time 8.92e-07/0.02154, allocations: 0 / 351.1 MB, free: 12.77 MB / 282.7 MB Notification: Performance of Templates: time 0.01039/0.03192, allocations: 3.954 MB / 355.1 MB, free: 8.84 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.741807638085447]