Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DeltaRobot_DeltaRobot.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/DeltaRobot 1.0.2/package.mo", uses=false) Using package DeltaRobot with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 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(DeltaRobot.Tests.ServoMotor_test,fileNamePrefix="DeltaRobot_DeltaRobot_Tests_ServoMotor_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DeltaRobot.Tests.ServoMotor_test,fileNamePrefix="DeltaRobot_DeltaRobot_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.0008354/0.0008357, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.004961/0.004961, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.189/1.189, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1249/0.1249, allocations: 5.198 MB / 296.6 MB, free: 3.988 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002557/0.0002557, allocations: 12 kB / 359 MB, free: 1.363 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07517/0.07543, allocations: 51.55 MB / 410.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.001988/0.07746, allocations: 1.92 MB / 412.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007569/0.07823, allocations: 0.6157 MB / 413.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.478e-05/0.07832, allocations: 8 kB / 413.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.07848, allocations: 35.77 kB / 413.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.2e-05/0.07856, allocations: 35.69 kB / 413.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.07878, allocations: 75.69 kB / 413.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.07897, allocations: 207.6 kB / 413.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.07916, allocations: 96.94 kB / 413.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.812e-05/0.07925, allocations: 63.7 kB / 413.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.2e-05/0.07934, allocations: 71.64 kB / 413.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.07936, allocations: 8 kB / 413.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.994e-05/0.07939, allocations: 8 kB / 413.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.604e-05/0.07942, allocations: 23.86 kB / 413.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.644e-05/0.0795, allocations: 109.2 kB / 413.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.07967, allocations: 191.2 kB / 414 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.07968, allocations: 0 / 414 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.07968, allocations: 0 / 414 MB, free: 10.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.07969, allocations: 4 kB / 414 MB, free: 10.29 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0004948/0.08019, allocations: 462.9 kB / 414.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.08023, allocations: 12.03 kB / 414.5 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.794e-05/0.08029, allocations: 46.73 kB / 414.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.08033, allocations: 20.75 kB / 414.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.08054, allocations: 237.7 kB / 414.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.08056, allocations: 8.375 kB / 414.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.08059, allocations: 28.36 kB / 414.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003777/0.08098, allocations: 224.2 kB / 415.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.081, allocations: 4 kB / 415.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.08102, allocations: 7.984 kB / 415.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.08104, allocations: 8 kB / 415.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000357/0.0814, allocations: 159.8 kB / 415.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008703/0.08228, allocations: 0.7733 MB / 416 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.08258, allocations: 118.5 kB / 416.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.08273, allocations: 64.88 kB / 416.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.08275, allocations: 3.938 kB / 416.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.08277, allocations: 30.56 kB / 416.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.08278, allocations: 0 / 416.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004763/0.08326, allocations: 177.5 kB / 416.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.08331, allocations: 85.05 kB / 416.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.08342, allocations: 148.4 kB / 416.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.08344, allocations: 29.64 kB / 416.6 MB, free: 7.434 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.002e-05/0.08351, allocations: 151.7 kB / 416.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.08354, allocations: 27.64 kB / 416.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.516e-05/0.08357, allocations: 17.72 kB / 416.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.267e-05/0.08366, allocations: 322.8 kB / 417.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.08381, allocations: 59.95 kB / 417.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.08399, allocations: 106.8 kB / 417.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.08429, allocations: 153.9 kB / 417.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.0843, allocations: 0 / 417.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003594/0.08466, allocations: 185.4 kB / 417.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.82e-05/0.08473, allocations: 140.9 kB / 417.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.08474, allocations: 0 / 417.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.08476, allocations: 4 kB / 417.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.08491, allocations: 39.91 kB / 417.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.08492, allocations: 4 kB / 417.8 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.08504, allocations: 23.98 kB / 417.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.08505, allocations: 4 kB / 417.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.91e-06/0.08506, allocations: 4 kB / 417.9 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002382/0.0853, allocations: 119.8 kB / 418 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-06/0.08531, allocations: 0 / 418 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.318e-06/0.08532, allocations: 7.938 kB / 418 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.67e-05/0.08542, allocations: 27.98 kB / 418 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.08543, allocations: 4 kB / 418 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.47e-05/0.08552, allocations: 23.83 kB / 418 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.08554, allocations: 8.156 kB / 418 MB, free: 5.934 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 (13): * Single equations (assignments): 13 * 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.0001013/0.08564, allocations: 205 kB / 418.2 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.08568, allocations: 15.84 kB / 418.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/0.08571, allocations: 16.7 kB / 418.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.08572, allocations: 0 / 418.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.08573, allocations: 3.984 kB / 418.3 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.08574, allocations: 4 kB / 418.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.08594, allocations: 225.6 kB / 418.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.08594, allocations: 0 / 418.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.08609, allocations: 35.98 kB / 418.5 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.0861, allocations: 4.188 kB / 418.5 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.08611, allocations: 3.938 kB / 418.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.08612, allocations: 11.92 kB / 418.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.08613, allocations: 0 / 418.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004849/0.08661, allocations: 287.3 kB / 418.8 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.653e-05/0.08666, allocations: 85.05 kB / 418.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.08669, allocations: 3.938 kB / 418.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.08681, allocations: 15.98 kB / 418.9 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.08684, allocations: 7.984 kB / 419 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.08685, allocations: 0 / 419 MB, free: 4.934 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.257e-05/0.08692, allocations: 111.3 kB / 419.1 MB, free: 4.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08692, allocations: 0 / 419.1 MB, free: 4.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003269/0.08725, allocations: 79.53 kB / 419.1 MB, free: 4.746 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 (6): * Single equations (assignments): 6 * 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.0006641/0.08792, allocations: 0.8138 MB / 420 MB, free: 3.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004393/0.08837, allocations: 180.1 kB / 420.1 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.08838, allocations: 0 / 420.1 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.08853, allocations: 52.34 kB / 420.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.08883, allocations: 23.98 kB / 420.2 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.09094, allocations: 2.05 MB / 422.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.09117, allocations: 0.7204 MB / 423 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.956e-05/0.09124, allocations: 12.55 kB / 423 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.587e-05/0.09131, allocations: 47.42 kB / 423 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of SimCode: time 1.352e-06/0.09131, allocations: 0 / 423 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1468/0.2382, allocations: 2.562 MB / 425.6 MB, free: 44.23 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001161/0.2383, allocations: 172.6 kB / 425.8 MB, free: 43.97 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.49/1.728, allocations: 0 / 425.8 MB, free: 43.97 MB / 350.1 MB (rm -f DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe >> ../files/DeltaRobot_DeltaRobot.Tests.ServoMotor_test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_DeltaRobot_DeltaRobot_Tests_ServoMotor_test_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 DeltaRobot_DeltaRobot_Tests_ServoMotor_test.fmu > DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe 2>&1)