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.001196/0.001196, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001219/0.001219, allocations: 194.2 kB / 16.13 MB, free: 6.668 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.186/1.186, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1179/0.1179, allocations: 6.47 MB / 296.4 MB, free: 2.734 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 55.91 kB / 358.2 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08125/0.08235, allocations: 50.85 MB / 409 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.003229/0.08561, allocations: 2.521 MB / 411.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008452/0.08648, allocations: 0.6545 MB / 412.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.853e-05/0.08658, allocations: 4 kB / 412.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.08677, allocations: 35.77 kB / 412.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.201e-05/0.08687, allocations: 47.61 kB / 412.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.0871, allocations: 87.92 kB / 412.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.08731, allocations: 231.5 kB / 412.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002196/0.08754, allocations: 127.6 kB / 412.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.101e-05/0.08763, allocations: 87.64 kB / 412.8 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.08774, allocations: 95.55 kB / 412.9 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.285e-05/0.08778, allocations: 16 kB / 412.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.204e-05/0.08781, allocations: 16 kB / 412.9 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.629e-05/0.08786, allocations: 43.84 kB / 413 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.191e-05/0.08794, allocations: 107.4 kB / 413.1 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.08815, allocations: 243.5 kB / 413.3 MB, free: 9.438 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.08816, allocations: 0 / 413.3 MB, free: 9.438 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.08816, allocations: 3.984 kB / 413.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.237e-06/0.08817, allocations: 0 / 413.3 MB, free: 9.434 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.0006003/0.08878, allocations: 0.5186 MB / 413.8 MB, free: 8.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.08882, allocations: 8.031 kB / 413.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.928e-05/0.08887, allocations: 58.67 kB / 413.9 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.08892, allocations: 28.59 kB / 413.9 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.08915, allocations: 247.8 kB / 414.2 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.08918, allocations: 12.81 kB / 414.2 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.08921, allocations: 24.38 kB / 414.2 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000404/0.08962, allocations: 254.8 kB / 414.4 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.08964, allocations: 3.906 kB / 414.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.08967, allocations: 8 kB / 414.5 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.08968, allocations: 7.938 kB / 414.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003445/0.09003, allocations: 157.6 kB / 414.6 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009743/0.09101, allocations: 0.8374 MB / 415.5 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.09133, allocations: 106.7 kB / 415.6 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.09147, allocations: 56.77 kB / 415.6 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.09149, allocations: 4 kB / 415.6 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.09154, allocations: 30.56 kB / 415.6 MB, free: 6.883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.09154, allocations: 0 / 415.6 MB, free: 6.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004729/0.09202, allocations: 177.4 kB / 415.8 MB, free: 6.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.09208, allocations: 85.11 kB / 415.9 MB, free: 6.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.09222, allocations: 163.3 kB / 416.1 MB, free: 6.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.09225, allocations: 25.7 kB / 416.1 MB, free: 6.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.188e-05/0.09233, allocations: 159.8 kB / 416.2 MB, free: 6.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.09237, allocations: 39.45 kB / 416.3 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/0.09243, allocations: 29.72 kB / 416.3 MB, free: 6.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.09254, allocations: 326.8 kB / 416.6 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.09269, allocations: 64.75 kB / 416.7 MB, free: 5.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.09287, allocations: 106.8 kB / 416.8 MB, free: 5.637 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.09316, allocations: 158.2 kB / 417 MB, free: 5.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.09317, allocations: 0 / 417 MB, free: 5.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003459/0.09352, allocations: 177.3 kB / 417.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.09355, allocations: 6.844 kB / 417.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.09356, allocations: 4 kB / 417.1 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.09358, allocations: 7.938 kB / 417.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.09373, allocations: 39.91 kB / 417.2 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.09374, allocations: 4 kB / 417.2 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.09386, allocations: 23.89 kB / 417.2 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.09387, allocations: 7.984 kB / 417.2 MB, free: 5.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001502/0.09403, allocations: 136.1 kB / 417.3 MB, free: 5.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001297/0.09417, allocations: 97.78 kB / 417.4 MB, free: 4.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002029/0.09438, allocations: 133.8 kB / 417.6 MB, free: 4.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.09439, allocations: 0 / 417.6 MB, free: 4.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002687/0.09466, allocations: 165.3 kB / 417.7 MB, free: 4.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.181e-06/0.09467, allocations: 4 kB / 417.7 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.09468, allocations: 8 kB / 417.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-06/0.09469, allocations: 0 / 417.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.09481, allocations: 39.92 kB / 417.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.09482, allocations: 4 kB / 417.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.509e-05/0.09492, allocations: 12.17 kB / 417.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.09494, allocations: 8.156 kB / 417.8 MB, free: 4.543 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 8.69e-05/0.09503, allocations: 200.1 kB / 418 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.09507, allocations: 11.81 kB / 418 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.042e-05/0.09512, allocations: 17.39 kB / 418 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.09512, allocations: 0 / 418 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.09513, allocations: 0 / 418 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.09514, allocations: 4 kB / 418 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.09538, allocations: 265.4 kB / 418.3 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.09538, allocations: 0 / 418.3 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.09553, allocations: 27.98 kB / 418.3 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.09554, allocations: 0 / 418.3 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.09556, allocations: 11.98 kB / 418.3 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.09557, allocations: 0 / 418.3 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.09557, allocations: 0 / 418.3 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004768/0.09605, allocations: 287.1 kB / 418.6 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.827e-05/0.09611, allocations: 89.05 kB / 418.7 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.09614, allocations: 3.984 kB / 418.7 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.09626, allocations: 11.98 kB / 418.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.0963, allocations: 11.94 kB / 418.7 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.09631, allocations: 3.984 kB / 418.7 MB, free: 3.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.364e-05/0.0964, allocations: 120.9 kB / 418.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.09641, allocations: 4.062 kB / 418.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003451/0.09676, allocations: 91.44 kB / 418.9 MB, free: 3.316 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.0006879/0.09745, allocations: 0.8215 MB / 419.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004282/0.09789, allocations: 184.5 kB / 419.9 MB, free: 2.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.0979, allocations: 8.062 kB / 420 MB, free: 2.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.09805, allocations: 51.95 kB / 420 MB, free: 2.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.09839, allocations: 16 kB / 420 MB, free: 2.211 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1237/0.2221, allocations: 2.146 MB / 422.2 MB, free: 45.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.2223, allocations: 0.7284 MB / 422.9 MB, free: 45.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.2224, allocations: 16.14 kB / 422.9 MB, free: 45.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.304e-05/0.2224, allocations: 57.66 kB / 423 MB, free: 45.15 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2225, allocations: 1.688 kB / 423 MB, free: 45.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01096/0.2334, allocations: 2.982 MB / 426 MB, free: 44.95 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001259/0.2336, allocations: 191 kB / 426.1 MB, free: 44.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.608/1.842, allocations: 6.016 kB / 426.1 MB, free: 44.7 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_StewartPlatform_StewartPlatform_Tests_ServoMotor_test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 StewartPlatform_StewartPlatform_Tests_ServoMotor_test.fmu > StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe 2>&1)