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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005353/0.005353, allocations: 97.84 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 197.1 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1271/0.1271, allocations: 6.487 MB / 297 MB, free: 2.684 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 59.89 kB / 410.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2187, allocations: 50.86 MB / 461.3 MB, free: 18.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.003099/0.2218, allocations: 2.465 MB / 463.8 MB, free: 16.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008757/0.2227, allocations: 0.6615 MB / 464.4 MB, free: 16.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.2229, allocations: 3.062 kB / 464.4 MB, free: 16.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002173/0.2231, allocations: 51.81 kB / 464.5 MB, free: 16.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.601e-05/0.2232, allocations: 53.59 kB / 464.5 MB, free: 16.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.2235, allocations: 100.4 kB / 464.6 MB, free: 16.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.2237, allocations: 248.3 kB / 464.9 MB, free: 16.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002392/0.224, allocations: 133.5 kB / 465 MB, free: 16.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.814e-05/0.2241, allocations: 97.22 kB / 465.1 MB, free: 16.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.2242, allocations: 101.1 kB / 465.2 MB, free: 16.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.785e-05/0.2243, allocations: 31.03 kB / 465.2 MB, free: 16.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.405e-05/0.2243, allocations: 24.03 kB / 465.2 MB, free: 16.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.137e-05/0.2244, allocations: 50.12 kB / 465.3 MB, free: 16.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.222e-05/0.2245, allocations: 119.5 kB / 465.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.2248, allocations: 260.6 kB / 465.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2248, allocations: 5.375 kB / 465.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2248, allocations: 0 / 465.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.2248, allocations: 0 / 465.7 MB, free: 15.84 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.0006386/0.2254, allocations: 0.5236 MB / 466.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.2255, allocations: 13.56 kB / 466.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.816e-05/0.2255, allocations: 54.55 kB / 466.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.2256, allocations: 25.17 kB / 466.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.2259, allocations: 247.8 kB / 466.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.2259, allocations: 20.53 kB / 466.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.2259, allocations: 19.22 kB / 466.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004473/0.2264, allocations: 251.8 kB / 466.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.2264, allocations: 1.219 kB / 466.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.2264, allocations: 9.156 kB / 466.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.2264, allocations: 5.375 kB / 466.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003961/0.2268, allocations: 163.9 kB / 467 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009383/0.2278, allocations: 0.8339 MB / 467.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/0.2282, allocations: 108.7 kB / 467.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.2283, allocations: 48.83 kB / 468 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.2284, allocations: 1.531 kB / 468 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.2284, allocations: 36.91 kB / 468 MB, free: 14.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.2284, allocations: 192 / 468 MB, free: 14.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005316/0.2289, allocations: 175.4 kB / 468.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.229, allocations: 82.89 kB / 468.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.2291, allocations: 170.9 kB / 468.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.2291, allocations: 26.8 kB / 468.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.353e-05/0.2292, allocations: 167.2 kB / 468.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.2293, allocations: 38.72 kB / 468.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.2293, allocations: 31.5 kB / 468.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.69e-05/0.2294, allocations: 330.6 kB / 469 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.2295, allocations: 50.94 kB / 469.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.2297, allocations: 117.4 kB / 469.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00032/0.2301, allocations: 151.3 kB / 469.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2301, allocations: 1.062 kB / 469.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003921/0.2305, allocations: 187.1 kB / 469.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.2305, allocations: 5.5 kB / 469.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2305, allocations: 1.375 kB / 469.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.2305, allocations: 2.75 kB / 469.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.2307, allocations: 37.47 kB / 469.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.2307, allocations: 11.38 kB / 469.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.2308, allocations: 31.2 kB / 469.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.2308, allocations: 4.875 kB / 469.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001542/0.231, allocations: 136.4 kB / 469.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001254/0.2311, allocations: 87.89 kB / 469.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002123/0.2313, allocations: 136.9 kB / 469.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.072e-06/0.2314, allocations: 1.375 kB / 469.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002939/0.2317, allocations: 163 kB / 470.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.223e-06/0.2317, allocations: 5.5 kB / 470.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.2317, allocations: 3.266 kB / 470.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-06/0.2317, allocations: 1.562 kB / 470.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.2318, allocations: 37.03 kB / 470.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.2318, allocations: 3.406 kB / 470.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.2319, allocations: 22.91 kB / 470.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.2319, allocations: 6.062 kB / 470.2 MB, free: 12.6 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 6.081e-05/0.232, allocations: 192.7 kB / 470.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.2321, allocations: 14.78 kB / 470.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.2321, allocations: 17.61 kB / 470.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2321, allocations: 6.125 kB / 470.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2321, allocations: 0 / 470.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2321, allocations: 0.6562 kB / 470.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.2324, allocations: 251.9 kB / 470.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2324, allocations: 4 kB / 470.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.2325, allocations: 33.89 kB / 470.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.2326, allocations: 0 / 470.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.2326, allocations: 2.078 kB / 470.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.2326, allocations: 3.938 kB / 470.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2326, allocations: 1.375 kB / 470.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004979/0.2331, allocations: 297.7 kB / 471 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.848e-05/0.2331, allocations: 89.98 kB / 471.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.2332, allocations: 2.016 kB / 471.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.2333, allocations: 19.36 kB / 471.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.2333, allocations: 7 kB / 471.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.2333, allocations: 1.531 kB / 471.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.702e-05/0.2334, allocations: 119.2 kB / 471.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2334, allocations: 0 / 471.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003761/0.2338, allocations: 95.28 kB / 471.3 MB, free: 11.73 MB / 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.0006511/0.2345, allocations: 0.8212 MB / 472.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004771/0.235, allocations: 185.9 kB / 472.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.235, allocations: 0 / 472.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.2351, allocations: 54.36 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.2355, allocations: 28.91 kB / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.2377, allocations: 2.077 MB / 474.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.2379, allocations: 0.7329 MB / 475.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.862e-05/0.2379, allocations: 11.64 kB / 475.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.576e-05/0.238, allocations: 64.44 kB / 475.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.238, allocations: 0 / 475.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.2632, allocations: 3.267 MB / 478.6 MB, free: 8.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.178, allocations: 18.06 kB / 478.6 MB, free: 8.008 MB / 350.1 MB (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)