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.0009933/0.0009933, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001268/0.001268, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8522/0.8522, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.02374/0.02374, allocations: 6.478 MB / 266.4 MB, free: 6.84 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 2.415e-06/2.415e-06, allocations: 3.938 kB / 392.9 MB, free: 5.238 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.254e-05, allocations: 2.281 kB / 392.9 MB, free: 5.234 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.002359/0.002382, allocations: 1.859 MB / 394.7 MB, free: 3.363 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.004019, allocations: 1.687 MB / 396.4 MB, free: 1.668 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.531e-05/0.004104, allocations: 4 kB / 396.4 MB, free: 1.664 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.004377, allocations: 119.4 kB / 396.6 MB, free: 1.547 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.004767, allocations: 167.2 kB / 396.7 MB, free: 1.383 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.005122, allocations: 185.6 kB / 396.9 MB, free: 1.203 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003162/0.005438, allocations: 303.1 kB / 397.2 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.005548, allocations: 24.56 kB / 397.2 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.005776, allocations: 155.6 kB / 397.4 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.005928, allocations: 111.7 kB / 397.5 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.005956, allocations: 24 kB / 397.5 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.006104, allocations: 123.8 kB / 397.6 MB, free: 484 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.95e-05/0.006174, allocations: 55.7 kB / 397.7 MB, free: 428 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.539e-05/0.006239, allocations: 63.83 kB / 397.7 MB, free: 364 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003375/0.006577, allocations: 346.9 kB / 398.1 MB, free: 16 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.00658, allocations: 4 kB / 398.1 MB, free: 12 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.006581, allocations: 0 / 398.1 MB, free: 12 kB / 362.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.006586, allocations: 0 / 398.1 MB, free: 12 kB / 362.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.0006019/0.007188, allocations: 0.5621 MB / 398.6 MB, free: 15.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.007221, allocations: 8.031 kB / 398.7 MB, free: 15.4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.679e-05/0.007278, allocations: 40.69 kB / 398.7 MB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.007517, allocations: 221.8 kB / 398.9 MB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.00753, allocations: 12.31 kB / 398.9 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.007547, allocations: 12.38 kB / 398.9 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.007806, allocations: 236.9 kB / 399.2 MB, free: 14.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.007816, allocations: 3.938 kB / 399.2 MB, free: 14.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.007831, allocations: 8 kB / 399.2 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.007837, allocations: 4 kB / 399.2 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.008009, allocations: 155.3 kB / 399.3 MB, free: 14.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005775/0.008587, allocations: 440 kB / 399.8 MB, free: 14.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.008755, allocations: 145.9 kB / 399.9 MB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.008867, allocations: 120.2 kB / 400 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.008892, allocations: 4.031 kB / 400 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.008915, allocations: 34.56 kB / 400.1 MB, free: 13.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.008916, allocations: 0 / 400.1 MB, free: 13.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004511/0.009367, allocations: 423.7 kB / 400.5 MB, free: 13.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/0.009431, allocations: 140.5 kB / 400.6 MB, free: 13.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.009727, allocations: 388.5 kB / 401 MB, free: 12.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.009745, allocations: 29.7 kB / 401 MB, free: 12.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.282e-05/0.009828, allocations: 152.1 kB / 401.2 MB, free: 12.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.009861, allocations: 47.62 kB / 401.2 MB, free: 12.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.009904, allocations: 29.72 kB / 401.2 MB, free: 12.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.396e-05/0.009998, allocations: 342.8 kB / 401.6 MB, free: 12.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.0101, allocations: 107.4 kB / 401.7 MB, free: 12.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.01022, allocations: 158.9 kB / 401.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.01042, allocations: 239.9 kB / 402.1 MB, free: 11.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.01042, allocations: 0 / 402.1 MB, free: 11.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002656/0.01069, allocations: 304.2 kB / 402.4 MB, free: 11.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/0.01073, allocations: 66.2 kB / 402.4 MB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.01074, allocations: 0 / 402.4 MB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.01075, allocations: 4 kB / 402.4 MB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.388e-05/0.01081, allocations: 11.98 kB / 402.5 MB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.01082, allocations: 8 kB / 402.5 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.01092, allocations: 39.86 kB / 402.5 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.01093, allocations: 7.938 kB / 402.5 MB, free: 11.19 MB / 378.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.000123/0.01105, allocations: 217.2 kB / 402.7 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.01108, allocations: 27.86 kB / 402.7 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003188/0.0114, allocations: 334.3 kB / 403.1 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.01141, allocations: 8 kB / 403.1 MB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.01141, allocations: 3.938 kB / 403.1 MB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01141, allocations: 0 / 403.1 MB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.01157, allocations: 193.2 kB / 403.3 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.01157, allocations: 0 / 403.3 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-05/0.01161, allocations: 15.98 kB / 403.3 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.01161, allocations: 4 kB / 403.3 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.01162, allocations: 4 kB / 403.3 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01163, allocations: 0 / 403.3 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01163, allocations: 0 / 403.3 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.01193, allocations: 433.9 kB / 403.7 MB, free: 9.852 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.843e-05/0.01199, allocations: 39.77 kB / 403.8 MB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.01201, allocations: 12 kB / 403.8 MB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.01212, allocations: 27.97 kB / 403.8 MB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/0.01217, allocations: 11.98 kB / 403.8 MB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.01218, allocations: 11.94 kB / 403.8 MB, free: 9.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000194/0.01238, allocations: 291 kB / 404.1 MB, free: 9.469 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01238, allocations: 4 kB / 404.1 MB, free: 9.465 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002209/0.0126, allocations: 63.88 kB / 404.2 MB, free: 9.402 MB / 378.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.0007669/0.01336, allocations: 483.5 kB / 404.6 MB, free: 9.113 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000326/0.01369, allocations: 369.4 kB / 405 MB, free: 8.703 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.01369, allocations: 0 / 405 MB, free: 8.703 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.01384, allocations: 238.2 kB / 405.2 MB, free: 8.434 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.01412, allocations: 50.73 kB / 405.3 MB, free: 8.391 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006241/0.01474, allocations: 0.5552 MB / 405.8 MB, free: 7.785 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.01485, allocations: 152.6 kB / 406 MB, free: 7.617 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/0.01489, allocations: 24.48 kB / 406 MB, free: 7.594 MB / 378.7 MB Notification: Performance of SimCode: time 5.92e-07/0.01489, allocations: 0 / 406 MB, free: 7.594 MB / 378.7 MB Notification: Performance of Templates: time 0.003991/0.01888, allocations: 3.797 MB / 409.8 MB, free: 3.793 MB / 378.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=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.790003773756325] Failed to read output from testmodel.py, exit status != 0: 0.024083075113594532 0.031286608 0.02311726 Calling exit ...