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.001285/0.001285, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001444, allocations: 197.1 kB / 16.53 MB, free: 6.699 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.22/1.22, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1193/0.1193, allocations: 6.49 MB / 296.9 MB, free: 2.684 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 59.91 kB / 358.8 MB, free: 160 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08214/0.08365, allocations: 50.87 MB / 409.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.003541/0.08722, allocations: 2.462 MB / 412.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.08876, allocations: 0.6701 MB / 412.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002654/0.08906, allocations: 4 kB / 412.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.08935, allocations: 39.59 kB / 412.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.08961, allocations: 59.48 kB / 412.9 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003905/0.09001, allocations: 103.8 kB / 413 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003661/0.09039, allocations: 239.5 kB / 413.3 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002968/0.0907, allocations: 144 kB / 413.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.09087, allocations: 95.7 kB / 413.5 MB, free: 9.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.09103, allocations: 95.55 kB / 413.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.147e-05/0.09108, allocations: 24 kB / 413.6 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.156e-05/0.09113, allocations: 28 kB / 413.7 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.954e-05/0.09119, allocations: 55.78 kB / 413.7 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.09129, allocations: 115.5 kB / 413.8 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.09154, allocations: 247.5 kB / 414.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.09155, allocations: 4 kB / 414.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.09156, allocations: 0 / 414.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.09157, allocations: 3.938 kB / 414.1 MB, free: 8.859 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.0006715/0.09225, allocations: 0.5224 MB / 414.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.09229, allocations: 11.89 kB / 414.6 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.62e-05/0.09236, allocations: 58.72 kB / 414.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.09241, allocations: 28.66 kB / 414.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.09264, allocations: 231.9 kB / 414.9 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.09266, allocations: 16.81 kB / 414.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.0927, allocations: 28.36 kB / 415 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004117/0.09312, allocations: 246.8 kB / 415.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.09315, allocations: 3.906 kB / 415.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.09317, allocations: 12 kB / 415.2 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.09318, allocations: 4 kB / 415.2 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003605/0.09355, allocations: 157.6 kB / 415.4 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009499/0.09451, allocations: 0.8413 MB / 416.2 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.09484, allocations: 110.4 kB / 416.3 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.09499, allocations: 52.83 kB / 416.4 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.09501, allocations: 0 / 416.4 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.09504, allocations: 38.56 kB / 416.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 8.71e-07/0.09504, allocations: 0 / 416.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004783/0.09553, allocations: 177.6 kB / 416.6 MB, free: 6.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.09558, allocations: 77.11 kB / 416.7 MB, free: 6.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.09571, allocations: 168 kB / 416.8 MB, free: 5.855 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.09573, allocations: 25.7 kB / 416.9 MB, free: 5.824 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.276e-05/0.09582, allocations: 167.8 kB / 417 MB, free: 5.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.09585, allocations: 35.45 kB / 417.1 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-05/0.0959, allocations: 33.7 kB / 417.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.85e-05/0.096, allocations: 330.8 kB / 417.4 MB, free: 5.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.09615, allocations: 60.75 kB / 417.5 MB, free: 5.188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.09632, allocations: 106.8 kB / 417.6 MB, free: 5.059 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.09662, allocations: 154.2 kB / 417.7 MB, free: 4.887 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.09663, allocations: 3.938 kB / 417.7 MB, free: 4.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003606/0.09699, allocations: 177.5 kB / 417.9 MB, free: 4.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.09701, allocations: 8.031 kB / 417.9 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.09702, allocations: 4 kB / 417.9 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.09705, allocations: 0 / 417.9 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.09721, allocations: 47.91 kB / 418 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.09722, allocations: 3.984 kB / 418 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.09733, allocations: 19.89 kB / 418 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.09735, allocations: 4 kB / 418 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001608/0.09751, allocations: 140 kB / 418.1 MB, free: 4.477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000124/0.09765, allocations: 101.2 kB / 418.2 MB, free: 4.355 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002045/0.09786, allocations: 133.9 kB / 418.4 MB, free: 4.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.82e-07/0.09787, allocations: 0 / 418.4 MB, free: 4.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002789/0.09815, allocations: 161.3 kB / 418.5 MB, free: 4.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.213e-06/0.09816, allocations: 4 kB / 418.5 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.09817, allocations: 7.984 kB / 418.5 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-06/0.09818, allocations: 192 / 418.5 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.0983, allocations: 35.92 kB / 418.6 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.09831, allocations: 7.938 kB / 418.6 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.391e-05/0.09841, allocations: 15.98 kB / 418.6 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.09842, allocations: 8.188 kB / 418.6 MB, free: 3.961 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.723e-05/0.09852, allocations: 196.9 kB / 418.8 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.09856, allocations: 15.81 kB / 418.8 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.769e-05/0.0986, allocations: 17.39 kB / 418.8 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.09861, allocations: 4 kB / 418.8 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.09861, allocations: 0 / 418.8 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.09862, allocations: 0 / 418.8 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.09886, allocations: 253.5 kB / 419.1 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.09886, allocations: 0 / 419.1 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.09901, allocations: 31.97 kB / 419.1 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.09902, allocations: 4 kB / 419.1 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.09904, allocations: 0 / 419.1 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.09904, allocations: 0 / 419.1 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.09905, allocations: 0 / 419.1 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004782/0.09953, allocations: 299.1 kB / 419.4 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.09958, allocations: 89.05 kB / 419.5 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.09961, allocations: 0 / 419.5 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.09973, allocations: 15.98 kB / 419.5 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.09977, allocations: 7.984 kB / 419.5 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/0.09978, allocations: 4 kB / 419.5 MB, free: 2.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.149e-05/0.09987, allocations: 124 kB / 419.6 MB, free: 2.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.342e-06/0.09988, allocations: 4 kB / 419.6 MB, free: 2.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000356/0.1002, allocations: 91.38 kB / 419.7 MB, free: 2.734 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.0006825/0.1009, allocations: 0.8217 MB / 420.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004651/0.1014, allocations: 192.3 kB / 420.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1014, allocations: 4.125 kB / 420.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.1016, allocations: 59.91 kB / 420.8 MB, free: 1.633 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.1019, allocations: 18.33 kB / 420.8 MB, free: 1.617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.137/0.239, allocations: 2.06 MB / 422.9 MB, free: 44.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.2391, allocations: 0.7305 MB / 423.6 MB, free: 44.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.88e-05/0.2392, allocations: 16.03 kB / 423.6 MB, free: 44.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.412e-05/0.2393, allocations: 58.23 kB / 423.7 MB, free: 44.29 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2393, allocations: 0 / 423.7 MB, free: 44.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.17/1.409, allocations: 3.208 MB / 426.9 MB, free: 43.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.46/9.87, allocations: 2.031 kB / 426.9 MB, free: 43.98 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)