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.007981/0.007981, allocations: 106 kB / 15.74 MB, free: 5.992 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.001938/0.001938, allocations: 195.5 kB / 16.67 MB, free: 5.914 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02574/0.02574, allocations: 5.232 MB / 295.8 MB, free: 9.598 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 63.89 kB / 408.6 MB, free: 26.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09373/0.09512, allocations: 50.58 MB / 459.1 MB, free: 8.129 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.004091/0.09927, allocations: 2.231 MB / 461.4 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.1006, allocations: 0.6466 MB / 462 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.1008, allocations: 4 kB / 462 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002636/0.101, allocations: 39.64 kB / 462.1 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.1012, allocations: 39.64 kB / 462.1 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.1015, allocations: 95.83 kB / 462.2 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.1017, allocations: 203.7 kB / 462.4 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002644/0.102, allocations: 127.5 kB / 462.5 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.1021, allocations: 71.78 kB / 462.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.1023, allocations: 91.61 kB / 462.7 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.1023, allocations: 20 kB / 462.7 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.077e-05/0.1023, allocations: 20 kB / 462.7 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.23e-05/0.1024, allocations: 47.84 kB / 462.8 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.472e-05/0.1025, allocations: 91.55 kB / 462.8 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.1028, allocations: 224.1 kB / 463.1 MB, free: 4.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1028, allocations: 0 / 463.1 MB, free: 4.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.1028, allocations: 0 / 463.1 MB, free: 4.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1028, allocations: 0 / 463.1 MB, free: 4.18 MB / 334.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.0006926/0.1035, allocations: 478.9 kB / 463.5 MB, free: 3.664 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.1035, allocations: 12.03 kB / 463.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.112e-05/0.1036, allocations: 50.73 kB / 463.6 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.237e-05/0.1037, allocations: 28.66 kB / 463.6 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.104, allocations: 224 kB / 463.8 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.104, allocations: 12.38 kB / 463.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.104, allocations: 24.31 kB / 463.9 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004288/0.1045, allocations: 224.2 kB / 464.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1045, allocations: 4 kB / 464.1 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.1045, allocations: 8 kB / 464.1 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.1045, allocations: 4 kB / 464.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003693/0.1049, allocations: 135.8 kB / 464.2 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.1059, allocations: 0.7615 MB / 465 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/0.1063, allocations: 106.4 kB / 465.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.1064, allocations: 40.95 kB / 465.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.1064, allocations: 7.938 kB / 465.2 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.1065, allocations: 38.56 kB / 465.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1065, allocations: 0 / 465.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005173/0.107, allocations: 145.5 kB / 465.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.1071, allocations: 77.11 kB / 465.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.1072, allocations: 152.5 kB / 465.6 MB, free: 1.445 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1072, allocations: 29.7 kB / 465.6 MB, free: 1.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.41e-05/0.1073, allocations: 151.7 kB / 465.7 MB, free: 1.258 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.1074, allocations: 27.58 kB / 465.8 MB, free: 1.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/0.1074, allocations: 33.72 kB / 465.8 MB, free: 1.191 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1075, allocations: 318.8 kB / 466.1 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.1077, allocations: 56.75 kB / 466.2 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.1079, allocations: 94.83 kB / 466.3 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/0.1082, allocations: 133.9 kB / 466.4 MB, free: 0.543 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1082, allocations: 7.938 kB / 466.4 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003763/0.1086, allocations: 161.3 kB / 466.5 MB, free: 380 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1086, allocations: 4 kB / 466.6 MB, free: 376 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1086, allocations: 4.188 kB / 466.6 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1087, allocations: 7.984 kB / 466.6 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.1088, allocations: 31.98 kB / 466.6 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.1089, allocations: 3.938 kB / 466.6 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.109, allocations: 19.89 kB / 466.6 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.109, allocations: 8 kB / 466.6 MB, free: 300 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001531/0.1092, allocations: 124.8 kB / 466.7 MB, free: 172 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001402/0.1093, allocations: 85.97 kB / 466.8 MB, free: 64 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002396/0.1096, allocations: 121.9 kB / 467 MB, free: 15.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.1096, allocations: 0 / 467 MB, free: 15.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.00029/0.1099, allocations: 133.6 kB / 467.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.1099, allocations: 15.97 kB / 467.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-06/0.1099, allocations: 0 / 467.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.578e-06/0.1099, allocations: 4.25 kB / 467.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.11, allocations: 27.98 kB / 467.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.11, allocations: 11.92 kB / 467.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.817e-05/0.1101, allocations: 19.84 kB / 467.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1101, allocations: 4 kB / 467.2 MB, free: 15.7 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.0001149/0.1103, allocations: 192.2 kB / 467.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.1103, allocations: 15.84 kB / 467.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.875e-05/0.1103, allocations: 12.72 kB / 467.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1103, allocations: 0 / 467.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1104, allocations: 0 / 467.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1104, allocations: 0 / 467.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.1106, allocations: 233.6 kB / 467.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1106, allocations: 3.938 kB / 467.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.1108, allocations: 27.91 kB / 467.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1108, allocations: 0 / 467.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.1108, allocations: 4 kB / 467.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1108, allocations: 4 kB / 467.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1108, allocations: 3.938 kB / 467.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005127/0.1113, allocations: 247.4 kB / 467.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.1114, allocations: 101 kB / 468 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.1114, allocations: 3.938 kB / 468 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.1116, allocations: 15.98 kB / 468 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.1116, allocations: 0 / 468 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.1116, allocations: 4 kB / 468 MB, free: 14.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.069e-05/0.1117, allocations: 111.2 kB / 468.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1117, allocations: 0 / 468.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003608/0.1121, allocations: 75.59 kB / 468.2 MB, free: 14.57 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.000816/0.1129, allocations: 0.7833 MB / 469 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004805/0.1134, allocations: 155.8 kB / 469.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1134, allocations: 0 / 469.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.1136, allocations: 44.83 kB / 469.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.1139, allocations: 30.36 kB / 469.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.1164, allocations: 1.903 MB / 471.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.1168, allocations: 0.7201 MB / 471.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.176e-05/0.1168, allocations: 8.547 kB / 471.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.245e-05/0.1169, allocations: 47.42 kB / 471.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1169, allocations: 0 / 471.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.1415, allocations: 2.952 MB / 474.8 MB, free: 7.844 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.615/7.756, allocations: 7.859 kB / 474.8 MB, free: 7.836 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)