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.000814/0.000814, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0007988/0.0007988, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.859/0.859, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.03111/0.03111, allocations: 6.477 MB / 265.7 MB, free: 6.828 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: "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestLimTorque,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestLimTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestLimTorque,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestLimTorque",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 391.6 MB, free: 5.711 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.171e-05, allocations: 2.281 kB / 391.6 MB, free: 5.707 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.002264/0.002285, allocations: 1.842 MB / 393.5 MB, free: 3.852 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.003867, allocations: 1.706 MB / 395.2 MB, free: 2.137 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.285e-05/0.00394, allocations: 0 / 395.2 MB, free: 2.137 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002404/0.00418, allocations: 115.5 kB / 395.3 MB, free: 2.023 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003273/0.004507, allocations: 163.2 kB / 395.4 MB, free: 1.863 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.004793, allocations: 182.8 kB / 395.6 MB, free: 1.688 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.005057, allocations: 307.2 kB / 395.9 MB, free: 1.387 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.354e-05/0.005151, allocations: 24.56 kB / 395.9 MB, free: 1.359 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002077/0.005358, allocations: 163.5 kB / 396.1 MB, free: 1.199 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.005503, allocations: 119.7 kB / 396.2 MB, free: 1.082 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.005528, allocations: 20 kB / 396.2 MB, free: 1.062 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.00567, allocations: 115.9 kB / 396.4 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.768e-05/0.005728, allocations: 47.8 kB / 396.4 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.677e-05/0.005785, allocations: 67.77 kB / 396.5 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.006085, allocations: 354.8 kB / 396.8 MB, free: 500 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.006087, allocations: 4 kB / 396.8 MB, free: 496 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.006088, allocations: 0 / 396.8 MB, free: 496 kB / 362.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.006092, allocations: 0 / 396.8 MB, free: 496 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.00058/0.006672, allocations: 0.5545 MB / 397.4 MB, free: 15.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.006707, allocations: 12.03 kB / 397.4 MB, free: 15.87 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.138e-05/0.006739, allocations: 42.75 kB / 397.4 MB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.006786, allocations: 32.75 kB / 397.5 MB, free: 15.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.007005, allocations: 233.7 kB / 397.7 MB, free: 15.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.007017, allocations: 12.36 kB / 397.7 MB, free: 15.53 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.007033, allocations: 16.38 kB / 397.7 MB, free: 15.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.007273, allocations: 248.6 kB / 398 MB, free: 15.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.007281, allocations: 0 / 398 MB, free: 15.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.007294, allocations: 4 kB / 398 MB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.007298, allocations: 0 / 398 MB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.007471, allocations: 151.3 kB / 398.1 MB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005689/0.00804, allocations: 459.5 kB / 398.6 MB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.008195, allocations: 149.9 kB / 398.7 MB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.0083, allocations: 120.2 kB / 398.8 MB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.008327, allocations: 4 kB / 398.8 MB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.008346, allocations: 38.64 kB / 398.9 MB, free: 14.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.008347, allocations: 0 / 398.9 MB, free: 14.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004285/0.008775, allocations: 423.8 kB / 399.3 MB, free: 13.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.008825, allocations: 136.5 kB / 399.4 MB, free: 13.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.009103, allocations: 396.5 kB / 399.8 MB, free: 13.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.00912, allocations: 29.7 kB / 399.8 MB, free: 13.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.395e-05/0.009194, allocations: 156 kB / 400 MB, free: 13.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.009222, allocations: 35.7 kB / 400 MB, free: 12.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.783e-05/0.00927, allocations: 41.92 kB / 400.1 MB, free: 12.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.247e-05/0.009362, allocations: 338.8 kB / 400.4 MB, free: 12.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.009464, allocations: 111.4 kB / 400.5 MB, free: 12.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.009577, allocations: 158.7 kB / 400.7 MB, free: 12.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.009767, allocations: 231.5 kB / 400.9 MB, free: 12.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.009768, allocations: 0 / 400.9 MB, free: 12.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002592/0.01003, allocations: 304.3 kB / 401.2 MB, free: 11.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.039e-05/0.01007, allocations: 63.41 kB / 401.2 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.01007, allocations: 3.984 kB / 401.2 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.01009, allocations: 0 / 401.2 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.296e-05/0.01015, allocations: 19.94 kB / 401.3 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.01015, allocations: 7.922 kB / 401.3 MB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.01026, allocations: 31.92 kB / 401.3 MB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.01027, allocations: 12 kB / 401.3 MB, free: 11.57 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.0001174/0.01039, allocations: 217.2 kB / 401.5 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.01042, allocations: 27.86 kB / 401.6 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003094/0.01073, allocations: 334.3 kB / 401.9 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.01073, allocations: 0 / 401.9 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.01074, allocations: 0 / 401.9 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01074, allocations: 3.938 kB / 401.9 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.01091, allocations: 232.6 kB / 402.1 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.01091, allocations: 4.094 kB / 402.1 MB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.599e-05/0.01095, allocations: 19.92 kB / 402.1 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.01095, allocations: 0 / 402.1 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.01096, allocations: 4 kB / 402.1 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01096, allocations: 0 / 402.1 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01096, allocations: 0 / 402.1 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.01126, allocations: 426 kB / 402.6 MB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.532e-05/0.01135, allocations: 39.83 kB / 402.6 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/0.01138, allocations: 8 kB / 402.6 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.01152, allocations: 31.97 kB / 402.6 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.01157, allocations: 15.92 kB / 402.6 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.01159, allocations: 11.98 kB / 402.7 MB, free: 10.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001953/0.01178, allocations: 291 kB / 402.9 MB, free: 9.805 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01178, allocations: 0 / 402.9 MB, free: 9.805 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002218/0.012, allocations: 71.81 kB / 403 MB, free: 9.734 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.001228/0.01323, allocations: 1.329 MB / 404.3 MB, free: 8.551 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003197/0.01355, allocations: 365.4 kB / 404.7 MB, free: 8.145 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01355, allocations: 0 / 404.7 MB, free: 8.145 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.0137, allocations: 242.2 kB / 404.9 MB, free: 7.871 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.01398, allocations: 48.5 kB / 405 MB, free: 7.824 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.01608, allocations: 2.834 MB / 407.8 MB, free: 4.832 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.847e-05/0.01618, allocations: 144.7 kB / 408 MB, free: 4.672 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.284e-05/0.01624, allocations: 33.77 kB / 408 MB, free: 4.641 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.729e-05/0.01632, allocations: 72.47 kB / 408.1 MB, free: 4.57 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01632, allocations: 0 / 408.1 MB, free: 4.57 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.03405, allocations: 7.599 MB / 415.7 MB, free: 13 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.01/7.044, allocations: 4.062 kB / 415.7 MB, free: 12.99 MB / 394.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_MapBased_TestingModels_TestLimTorque_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_MapBased_TestingModels_TestLimTorque.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.70883151423186] Failed to read output from testmodel.py, exit status != 0: 7.14142943918705 7.150777419 7.142797056 Calling exit ...