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.00113/0.00113, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001196/0.001197, allocations: 195.1 kB / 16.25 MB, free: 6.621 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.202/1.202, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1242/0.1242, allocations: 6.492 MB / 296.6 MB, free: 2.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 63.91 kB / 358.3 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08049/0.08168, allocations: 50.85 MB / 409.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.003544/0.08526, allocations: 2.521 MB / 411.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.08629, allocations: 0.6584 MB / 412.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.97e-05/0.08641, allocations: 7.938 kB / 412.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.0866, allocations: 35.75 kB / 412.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.15e-05/0.08672, allocations: 47.62 kB / 412.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.08695, allocations: 83.86 kB / 412.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002375/0.0872, allocations: 243.5 kB / 412.8 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002255/0.08743, allocations: 140 kB / 412.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.972e-05/0.08753, allocations: 95.7 kB / 413 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.08768, allocations: 111.5 kB / 413.1 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.08771, allocations: 24 kB / 413.1 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.293e-05/0.08775, allocations: 24 kB / 413.2 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.699e-05/0.08779, allocations: 39.86 kB / 413.2 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.03e-05/0.08789, allocations: 119.4 kB / 413.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.08812, allocations: 255.4 kB / 413.6 MB, free: 9.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.08813, allocations: 0 / 413.6 MB, free: 9.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.08814, allocations: 4 kB / 413.6 MB, free: 9.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.08815, allocations: 0 / 413.6 MB, free: 9.199 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.0006334/0.08879, allocations: 0.5185 MB / 414.1 MB, free: 8.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.08883, allocations: 15.89 kB / 414.1 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.704e-05/0.0889, allocations: 50.73 kB / 414.2 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.08895, allocations: 28.66 kB / 414.2 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.0892, allocations: 247.8 kB / 414.4 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.08923, allocations: 16.81 kB / 414.4 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.08927, allocations: 20.38 kB / 414.5 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004157/0.08969, allocations: 246.8 kB / 414.7 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.08971, allocations: 3.906 kB / 414.7 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.08974, allocations: 12 kB / 414.7 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.08975, allocations: 4 kB / 414.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003585/0.09011, allocations: 165.6 kB / 414.9 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009594/0.09108, allocations: 0.8374 MB / 415.7 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.09141, allocations: 110.5 kB / 415.8 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.09155, allocations: 48.81 kB / 415.9 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.09158, allocations: 8.125 kB / 415.9 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.09161, allocations: 42.5 kB / 415.9 MB, free: 6.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.09161, allocations: 0 / 415.9 MB, free: 6.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004743/0.09209, allocations: 169.4 kB / 416.1 MB, free: 6.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.09214, allocations: 81.11 kB / 416.2 MB, free: 6.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.09228, allocations: 159.4 kB / 416.3 MB, free: 6.195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.0923, allocations: 29.7 kB / 416.4 MB, free: 6.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.757e-05/0.09239, allocations: 163.8 kB / 416.5 MB, free: 5.996 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.09243, allocations: 35.45 kB / 416.5 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.177e-05/0.09248, allocations: 37.7 kB / 416.6 MB, free: 5.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.09261, allocations: 326.8 kB / 416.9 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.09277, allocations: 56.77 kB / 417 MB, free: 5.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.09294, allocations: 101.5 kB / 417.1 MB, free: 5.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/0.09325, allocations: 157.8 kB / 417.2 MB, free: 5.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.09326, allocations: 0 / 417.2 MB, free: 5.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003542/0.09362, allocations: 185.3 kB / 417.4 MB, free: 5.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.09364, allocations: 8 kB / 417.4 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.09365, allocations: 480 / 417.4 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.09367, allocations: 4 kB / 417.4 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.09382, allocations: 40.11 kB / 417.4 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.09384, allocations: 11.98 kB / 417.5 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.09395, allocations: 19.89 kB / 417.5 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.09396, allocations: 7.938 kB / 417.5 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001553/0.09412, allocations: 140 kB / 417.6 MB, free: 4.816 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001182/0.09425, allocations: 90.84 kB / 417.7 MB, free: 4.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002105/0.09447, allocations: 137.8 kB / 417.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.09448, allocations: 0 / 417.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.000281/0.09476, allocations: 157.3 kB / 418 MB, free: 4.387 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.893e-06/0.09478, allocations: 8 kB / 418 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-06/0.09479, allocations: 192 / 418 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.397e-06/0.0948, allocations: 8 kB / 418 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.09491, allocations: 31.98 kB / 418 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.09492, allocations: 7.922 kB / 418.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.447e-05/0.09502, allocations: 16 kB / 418.1 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.09503, allocations: 4 kB / 418.1 MB, free: 4.312 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.959e-05/0.09513, allocations: 196.1 kB / 418.3 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.09516, allocations: 11.81 kB / 418.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.987e-05/0.09521, allocations: 21.41 kB / 418.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.09522, allocations: 4 kB / 418.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.09523, allocations: 0 / 418.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.09523, allocations: 3.984 kB / 418.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.09547, allocations: 261.5 kB / 418.6 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.09548, allocations: 0 / 418.6 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.09563, allocations: 35.91 kB / 418.6 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.09564, allocations: 0 / 418.6 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.09565, allocations: 0 / 418.6 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.09566, allocations: 4 kB / 418.6 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.09567, allocations: 4 kB / 418.6 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004801/0.09615, allocations: 291.2 kB / 418.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-05/0.0962, allocations: 92.97 kB / 419 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.09623, allocations: 4.062 kB / 419 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.09635, allocations: 15.98 kB / 419 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.0964, allocations: 7.984 kB / 419 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.09641, allocations: 0 / 419 MB, free: 3.285 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.516e-05/0.0965, allocations: 124.9 kB / 419.1 MB, free: 3.164 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.0965, allocations: 0 / 419.1 MB, free: 3.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003432/0.09685, allocations: 91.44 kB / 419.2 MB, free: 3.074 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.0006923/0.09755, allocations: 0.8176 MB / 420 MB, free: 2.227 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004391/0.098, allocations: 187.7 kB / 420.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.09801, allocations: 0 / 420.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.09814, allocations: 56.7 kB / 420.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.09848, allocations: 27.23 kB / 420.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1312/0.2297, allocations: 2.137 MB / 422.4 MB, free: 45.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.2299, allocations: 0.7298 MB / 423.2 MB, free: 44.53 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.23, allocations: 23.41 kB / 423.2 MB, free: 44.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.152e-05/0.2301, allocations: 55.08 kB / 423.2 MB, free: 44.53 MB / 350.1 MB Notification: Performance of SimCode: time 1.122e-06/0.2301, allocations: 0 / 423.2 MB, free: 44.53 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01363/0.2437, allocations: 3.065 MB / 426.3 MB, free: 44.32 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001475/0.2439, allocations: 189.7 kB / 426.5 MB, free: 44.06 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/1.858, allocations: 0 / 426.5 MB, free: 44.06 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)