Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04117/0.04117, allocations: 8.537 MB / 313 MB, free: 1.871 MB / 238.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestLimTorque,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestLimTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestLimTorque,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestLimTorque",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 63.89 kB / 436.1 MB, free: 10.17 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2684, allocations: 54.19 MB / 490.2 MB, free: 25.75 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.003042/0.2715, allocations: 1.893 MB / 492.1 MB, free: 24.44 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.2734, allocations: 1.558 MB / 493.7 MB, free: 23.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.567e-05/0.2735, allocations: 0.9062 kB / 493.7 MB, free: 23.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.2738, allocations: 101.5 kB / 493.8 MB, free: 23.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.2741, allocations: 117.3 kB / 493.9 MB, free: 23.26 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.2745, allocations: 177 kB / 494.1 MB, free: 23.17 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003091/0.2748, allocations: 266.9 kB / 494.3 MB, free: 23.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.2749, allocations: 29.39 kB / 494.4 MB, free: 23.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.2751, allocations: 106.4 kB / 494.5 MB, free: 22.99 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.2753, allocations: 134.3 kB / 494.6 MB, free: 22.94 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.327e-05/0.2754, allocations: 16.56 kB / 494.6 MB, free: 22.94 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.2755, allocations: 73.39 kB / 494.7 MB, free: 22.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.672e-05/0.2756, allocations: 56.14 kB / 494.7 MB, free: 22.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.816e-05/0.2756, allocations: 102.5 kB / 494.8 MB, free: 22.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003579/0.276, allocations: 272.7 kB / 495.1 MB, free: 22.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.276, allocations: 1.188 kB / 495.1 MB, free: 22.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.276, allocations: 4 kB / 495.1 MB, free: 22.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.276, allocations: 0 / 495.1 MB, free: 22.71 MB / 366.1 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.0006872/0.2767, allocations: 0.6177 MB / 495.7 MB, free: 22.13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.2767, allocations: 14.23 kB / 495.7 MB, free: 22.13 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.875e-05/0.2768, allocations: 45.94 kB / 495.8 MB, free: 22.08 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.586e-05/0.2768, allocations: 29.3 kB / 495.8 MB, free: 22.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.2771, allocations: 280.3 kB / 496.1 MB, free: 21.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.2771, allocations: 5.875 kB / 496.1 MB, free: 21.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.2771, allocations: 21.56 kB / 496.1 MB, free: 21.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.2774, allocations: 150.3 kB / 496.3 MB, free: 21.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2774, allocations: 0 / 496.3 MB, free: 21.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.2775, allocations: 8.125 kB / 496.3 MB, free: 21.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.2775, allocations: 5.359 kB / 496.3 MB, free: 21.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002578/0.2777, allocations: 95.47 kB / 496.4 MB, free: 21.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008565/0.2786, allocations: 0.5017 MB / 496.9 MB, free: 21.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.2788, allocations: 93.92 kB / 497 MB, free: 21.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.2789, allocations: 61.8 kB / 497 MB, free: 21.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.444e-05/0.279, allocations: 6.594 kB / 497 MB, free: 21.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.279, allocations: 33.19 kB / 497.1 MB, free: 21.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.279, allocations: 0 / 497.1 MB, free: 21.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006331/0.2796, allocations: 313 kB / 497.4 MB, free: 21.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.2797, allocations: 133.3 kB / 497.5 MB, free: 20.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003776/0.28, allocations: 364.5 kB / 497.9 MB, free: 20.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.2801, allocations: 29.3 kB / 497.9 MB, free: 20.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.207e-05/0.2801, allocations: 157.4 kB / 498 MB, free: 20.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.2802, allocations: 32.78 kB / 498.1 MB, free: 20.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.866e-05/0.2802, allocations: 31.17 kB / 498.1 MB, free: 20.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.459e-05/0.2803, allocations: 341.6 kB / 498.4 MB, free: 20.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.2804, allocations: 52.64 kB / 498.5 MB, free: 20.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.2806, allocations: 70.5 kB / 498.6 MB, free: 20.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.2809, allocations: 229.2 kB / 498.8 MB, free: 19.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2809, allocations: 1.688 kB / 498.8 MB, free: 19.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003756/0.2812, allocations: 245.5 kB / 499 MB, free: 19.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/0.2813, allocations: 62.84 kB / 499.1 MB, free: 19.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2813, allocations: 0 / 499.1 MB, free: 19.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.2813, allocations: 5.469 kB / 499.1 MB, free: 19.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.2814, allocations: 14.33 kB / 499.1 MB, free: 19.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.2814, allocations: 5.375 kB / 499.1 MB, free: 19.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.2816, allocations: 43.42 kB / 499.1 MB, free: 19.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.2817, allocations: 4.781 kB / 499.2 MB, free: 19.7 MB / 366.1 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.0001709/0.2818, allocations: 214 kB / 499.4 MB, free: 19.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.882e-05/0.2819, allocations: 30.67 kB / 499.4 MB, free: 19.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005526/0.2824, allocations: 281.7 kB / 499.7 MB, free: 19.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.2824, allocations: 1.797 kB / 499.7 MB, free: 19.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2824, allocations: 0 / 499.7 MB, free: 19.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.2825, allocations: 6.078 kB / 499.7 MB, free: 19.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003593/0.2828, allocations: 278.1 kB / 499.9 MB, free: 19.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2828, allocations: 0 / 499.9 MB, free: 19.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.268e-05/0.2829, allocations: 14.86 kB / 500 MB, free: 19.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.2829, allocations: 2.25 kB / 500 MB, free: 19.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.2829, allocations: 7.938 kB / 500 MB, free: 19.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2829, allocations: 0 / 500 MB, free: 19.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2829, allocations: 1.594 kB / 500 MB, free: 19.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005117/0.2834, allocations: 361.2 kB / 0.4886 GB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.617e-05/0.2835, allocations: 115.2 kB / 0.4887 GB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/0.2836, allocations: 12.31 kB / 0.4887 GB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.2838, allocations: 28 kB / 0.4887 GB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.379e-05/0.2839, allocations: 12.44 kB / 0.4888 GB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.2839, allocations: 10.34 kB / 0.4888 GB, free: 18.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002946/0.2842, allocations: 274.5 kB / 0.489 GB, free: 18.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2842, allocations: 0 / 0.489 GB, free: 18.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003502/0.2846, allocations: 58.95 kB / 0.4891 GB, free: 18.52 MB / 366.1 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.001897/0.2865, allocations: 1.185 MB / 0.4902 GB, free: 17.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000465/0.2869, allocations: 246.2 kB / 0.4905 GB, free: 17.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2869, allocations: 1.406 kB / 0.4905 GB, free: 17.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002517/0.2872, allocations: 178.6 kB / 0.4907 GB, free: 17.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005405/0.2877, allocations: 44.66 kB / 0.4907 GB, free: 17.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.2907, allocations: 2.487 MB / 0.4931 GB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.2909, allocations: 0.7449 MB / 0.4938 GB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.336e-05/0.2909, allocations: 29.62 kB / 0.4939 GB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.607e-05/0.291, allocations: 69.53 kB / 0.4939 GB, free: 14.57 MB / 366.1 MB Notification: Performance of SimCode: time 5.82e-07/0.291, allocations: 0 / 0.4939 GB, free: 14.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03103/0.3221, allocations: 6.099 MB / 0.4999 GB, free: 11.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.026/8.348, allocations: 9.453 kB / 0.4999 GB, free: 11.24 MB / 366.1 MB " [Timeout remaining time 652] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestLimTorque_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestLimTorque.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.868770368018886] Failed to read output from testmodel.py, exit status != 0: 8.470774828980211 8.481092243 8.203042059 Calling exit ...