Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr StewartPlatform_StewartPlatform.Tests.ServoMotor_test.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.00128/0.00128, allocations: 104.5 kB / 18.84 MB, free: 3.043 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.001367/0.001367, allocations: 193 kB / 22.11 MB, free: 5.152 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.338/1.338, allocations: 225.6 MB / 250.8 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.03192/0.03192, allocations: 6.582 MB / 312.6 MB, free: 2.184 MB / 238.1 MB " [Timeout remaining time 180] Using package StewartPlatform with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/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(StewartPlatform.Tests.ServoMotor_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_ServoMotor_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(StewartPlatform.Tests.ServoMotor_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_ServoMotor_test",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 63.89 kB / 435 MB, free: 16.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0885/0.09035, allocations: 53.68 MB / 488.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.003706/0.09406, allocations: 2.499 MB / 491.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.09516, allocations: 0.6816 MB / 491.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.09526, allocations: 8 kB / 491.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.09549, allocations: 51.56 kB / 491.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.0956, allocations: 47.5 kB / 492 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.09587, allocations: 99.83 kB / 492.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.09615, allocations: 247.5 kB / 492.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002158/0.09637, allocations: 100.8 kB / 492.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.09648, allocations: 103.6 kB / 492.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.09662, allocations: 99.56 kB / 492.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.826e-05/0.09666, allocations: 24 kB / 492.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.808e-05/0.0967, allocations: 24 kB / 492.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.954e-05/0.09675, allocations: 59.77 kB / 492.7 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.09686, allocations: 119.4 kB / 492.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002983/0.09716, allocations: 255 kB / 493.1 MB, free: 6.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.09717, allocations: 0 / 493.1 MB, free: 6.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.09717, allocations: 3.938 kB / 493.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.09717, allocations: 0 / 493.1 MB, free: 6.008 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.000699/0.09787, allocations: 453.7 kB / 493.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.09791, allocations: 12.03 kB / 493.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.547e-05/0.09798, allocations: 54.72 kB / 493.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.709e-05/0.09802, allocations: 24.8 kB / 493.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.09834, allocations: 190.1 kB / 493.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.09836, allocations: 20.75 kB / 493.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.344e-05/0.0984, allocations: 24.38 kB / 493.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004422/0.09884, allocations: 246.8 kB / 494.1 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.09886, allocations: 0 / 494.1 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.09888, allocations: 12 kB / 494.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.09889, allocations: 4 kB / 494.1 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003786/0.09927, allocations: 165.6 kB / 494.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.1003, allocations: 0.7544 MB / 495 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003456/0.1007, allocations: 110.5 kB / 495.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.1008, allocations: 44.83 kB / 495.2 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.1008, allocations: 0 / 495.2 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.1008, allocations: 34.75 kB / 495.2 MB, free: 3.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 9.42e-07/0.1008, allocations: 0 / 495.2 MB, free: 3.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004908/0.1013, allocations: 181.5 kB / 495.4 MB, free: 3.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.1014, allocations: 81.05 kB / 495.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.1016, allocations: 164 kB / 495.6 MB, free: 3.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.1016, allocations: 29.7 kB / 495.7 MB, free: 3.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.1017, allocations: 172 kB / 495.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.1017, allocations: 31.7 kB / 495.9 MB, free: 3.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.255e-05/0.1018, allocations: 29.7 kB / 495.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1019, allocations: 331.1 kB / 496.2 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.102, allocations: 52.81 kB / 496.3 MB, free: 2.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.1022, allocations: 110.6 kB / 496.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.1025, allocations: 161.7 kB / 496.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1025, allocations: 0 / 496.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003729/0.1029, allocations: 189.3 kB / 496.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1029, allocations: 4 kB / 496.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1029, allocations: 7.984 kB / 496.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1029, allocations: 4 kB / 496.7 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.1031, allocations: 39.97 kB / 496.8 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.1031, allocations: 8.125 kB / 496.8 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.1032, allocations: 27.88 kB / 496.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.1032, allocations: 8 kB / 496.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000164/0.1034, allocations: 136.1 kB / 496.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001398/0.1035, allocations: 94.83 kB / 497 MB, free: 1.758 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002217/0.1037, allocations: 129.8 kB / 497.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.82e-07/0.1037, allocations: 0 / 497.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.00029/0.104, allocations: 165.4 kB / 497.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.667e-06/0.104, allocations: 8 kB / 497.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-06/0.104, allocations: 0 / 497.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.927e-06/0.104, allocations: 4.188 kB / 497.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.1041, allocations: 31.98 kB / 497.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-06/0.1041, allocations: 4 kB / 497.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.132e-05/0.1042, allocations: 15.94 kB / 497.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1043, allocations: 12 kB / 497.4 MB, free: 1.367 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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.0001119/0.1044, allocations: 192.1 kB / 497.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.1044, allocations: 15.91 kB / 497.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.909e-05/0.1044, allocations: 17.39 kB / 497.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1045, allocations: 4 kB / 497.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1045, allocations: 0 / 497.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1045, allocations: 0 / 497.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.1047, allocations: 232.6 kB / 497.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1047, allocations: 0 / 497.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.1049, allocations: 27.98 kB / 497.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1049, allocations: 0 / 497.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.1049, allocations: 4 kB / 497.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1049, allocations: 3.938 kB / 497.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1049, allocations: 3.984 kB / 497.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004914/0.1054, allocations: 303.2 kB / 498.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.099e-05/0.1054, allocations: 7.984 kB / 498.2 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.1054, allocations: 0 / 498.2 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.1055, allocations: 16.05 kB / 498.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.1056, allocations: 11.98 kB / 498.2 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.1056, allocations: 3.984 kB / 498.2 MB, free: 488 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.1057, allocations: 124.2 kB / 498.3 MB, free: 364 kB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1057, allocations: 0 / 498.3 MB, free: 364 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003645/0.106, allocations: 95.62 kB / 498.4 MB, free: 268 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0007945/0.1068, allocations: 0.814 MB / 499.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004373/0.1073, allocations: 175.9 kB / 499.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1073, allocations: 0 / 499.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.1074, allocations: 55.89 kB / 499.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.1077, allocations: 22.31 kB / 499.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.1103, allocations: 2.105 MB / 0.4898 GB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.1106, allocations: 0.7319 MB / 0.4906 GB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.715e-05/0.1107, allocations: 13.3 kB / 0.4906 GB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.635e-05/0.1108, allocations: 63.41 kB / 0.4906 GB, free: 12.12 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1108, allocations: 0 / 0.4906 GB, free: 12.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/0.1379, allocations: 3.358 MB / 0.4939 GB, free: 8.859 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.777/7.914, allocations: 14.12 kB / 0.4939 GB, free: 8.852 MB / 366.1 MB " [Timeout remaining time 652] (rm -f StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe >> ../files/StewartPlatform_StewartPlatform.Tests.ServoMotor_test.sim & python3 -m fmpy simulate --output-file StewartPlatform_StewartPlatform.Tests.ServoMotor_test_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 StewartPlatform_StewartPlatform_Tests_ServoMotor_test.fmu > StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.875287750997813] Failed to read output from testmodel.py, exit status != 0: 7.981419374991674 8.156717476 8.056635387 Calling exit ...