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.001227/0.001227, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.0014/0.0014, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1454/0.1454, allocations: 5.19 MB / 296.2 MB, free: 3.949 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002923/0.0002924, allocations: 8 kB / 358.3 MB, free: 1.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1039, allocations: 51.55 MB / 409.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.002323/0.1062, allocations: 1.819 MB / 411.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009561/0.1072, allocations: 0.5889 MB / 412.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.975e-05/0.1073, allocations: 7.938 kB / 412.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.1075, allocations: 31.77 kB / 412.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.1076, allocations: 47.83 kB / 412.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.1079, allocations: 63.92 kB / 412.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.1081, allocations: 128.2 kB / 412.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.1083, allocations: 98.97 kB / 412.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.398e-05/0.1084, allocations: 59.78 kB / 412.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.519e-05/0.1085, allocations: 59.7 kB / 412.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.1085, allocations: 11.94 kB / 412.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.432e-05/0.1086, allocations: 8 kB / 412.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.083e-05/0.1086, allocations: 23.91 kB / 412.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.618e-05/0.1087, allocations: 57.64 kB / 412.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.1089, allocations: 155.8 kB / 413 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.1089, allocations: 0 / 413 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1089, allocations: 11.88 kB / 413 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1089, allocations: 0 / 413 MB, free: 10.98 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.0006305/0.1095, allocations: 458.7 kB / 413.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.1096, allocations: 8.031 kB / 413.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.832e-05/0.1096, allocations: 58.5 kB / 413.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.1098, allocations: 19.81 kB / 413.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.11, allocations: 218.8 kB / 413.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.11, allocations: 16 kB / 413.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.1101, allocations: 19.98 kB / 413.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004157/0.1105, allocations: 224 kB / 414 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.1105, allocations: 4 kB / 414 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.1106, allocations: 8 kB / 414 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.1106, allocations: 7.953 kB / 414 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003677/0.1109, allocations: 159.8 kB / 414.2 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009904/0.1119, allocations: 0.781 MB / 415 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.1123, allocations: 114.5 kB / 415.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.1123, allocations: 4 kB / 415.1 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.1123, allocations: 34.5 kB / 415.1 MB, free: 8.664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.1123, allocations: 0 / 415.1 MB, free: 8.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005335/0.1129, allocations: 177.6 kB / 415.3 MB, free: 8.484 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.1129, allocations: 81.11 kB / 415.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.1131, allocations: 152 kB / 415.5 MB, free: 8.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.1131, allocations: 25.7 kB / 415.6 MB, free: 8.199 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.1132, allocations: 147.8 kB / 415.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.1132, allocations: 19.72 kB / 415.7 MB, free: 8.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.383e-06/0.1132, allocations: 4 kB / 415.7 MB, free: 8.027 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1134, allocations: 318.8 kB / 416 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.1136, allocations: 55.95 kB / 416.1 MB, free: 7.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.1138, allocations: 114.6 kB / 416.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.1139, allocations: 60 kB / 416.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1139, allocations: 3.938 kB / 416.3 MB, free: 7.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000378/0.1143, allocations: 177.4 kB / 416.4 MB, free: 7.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002457/0.1146, allocations: 0.6124 MB / 417 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.1146, allocations: 15.92 kB / 417.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1146, allocations: 3.953 kB / 417.1 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.1148, allocations: 35.98 kB / 417.1 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.1148, allocations: 3.984 kB / 417.1 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.1149, allocations: 27.83 kB / 417.1 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.1149, allocations: 4 kB / 417.1 MB, free: 6.527 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.913e-06/0.115, allocations: 8 kB / 417.1 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002774/0.1152, allocations: 111.8 kB / 417.3 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-06/0.1153, allocations: 0 / 417.3 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.851e-06/0.1153, allocations: 12.17 kB / 417.3 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.1154, allocations: 27.98 kB / 417.3 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1154, allocations: 7.938 kB / 417.3 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.574e-05/0.1155, allocations: 19.92 kB / 417.3 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.1155, allocations: 4 kB / 417.3 MB, free: 6.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001376/0.1156, allocations: 201.1 kB / 417.5 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.1157, allocations: 19.91 kB / 417.5 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.731e-05/0.1157, allocations: 8.719 kB / 417.5 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1157, allocations: 0 / 417.5 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1157, allocations: 4 kB / 417.6 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.1158, allocations: 3.984 kB / 417.6 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003437/0.1161, allocations: 229.5 kB / 417.8 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1161, allocations: 0 / 417.8 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.1163, allocations: 31.98 kB / 417.8 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.1163, allocations: 4 kB / 417.8 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.1163, allocations: 4.188 kB / 417.8 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1163, allocations: 4 kB / 417.8 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1163, allocations: 3.938 kB / 417.8 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005181/0.1168, allocations: 287.3 kB / 418.1 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.252e-05/0.1169, allocations: 85.05 kB / 418.2 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.1169, allocations: 4.062 kB / 418.2 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.117, allocations: 15.98 kB / 418.2 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.1171, allocations: 7.984 kB / 418.2 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-06/0.1171, allocations: 4 kB / 418.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.09e-05/0.1172, allocations: 109.3 kB / 418.3 MB, free: 5.242 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1172, allocations: 0 / 418.3 MB, free: 5.242 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003599/0.1176, allocations: 79.53 kB / 418.4 MB, free: 5.164 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007467/0.1183, allocations: 0.8177 MB / 419.2 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000455/0.1188, allocations: 180.5 kB / 419.4 MB, free: 4.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1188, allocations: 0 / 419.4 MB, free: 4.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.1189, allocations: 51.91 kB / 419.5 MB, free: 4.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.1192, allocations: 24.05 kB / 419.5 MB, free: 4.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0023/0.1215, allocations: 1.956 MB / 421.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.1219, allocations: 0.7243 MB / 422.2 MB, free: 1.285 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.176e-05/0.122, allocations: 13 kB / 422.2 MB, free: 1.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.378e-05/0.1221, allocations: 47.42 kB / 422.2 MB, free: 1.227 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1221, allocations: 0 / 422.2 MB, free: 1.227 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1757/0.2977, allocations: 2.626 MB / 424.8 MB, free: 44.15 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001478/0.2979, allocations: 158.4 kB / 425 MB, free: 43.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/1.964, allocations: 0 / 425 MB, free: 43.91 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/linux/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) Environment - environmentSimulation: