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.008363/0.008363, allocations: 105 kB / 15.74 MB, free: 6.02 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.00217/0.00217, allocations: 193.4 kB / 16.68 MB, free: 5.938 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02749/0.02749, allocations: 5.226 MB / 295.8 MB, free: 9.574 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 59.91 kB / 408.6 MB, free: 26.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07911/0.08092, allocations: 50.58 MB / 459.1 MB, free: 8.109 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.003375/0.08433, allocations: 2.223 MB / 461.4 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.08538, allocations: 0.6506 MB / 462 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.511e-05/0.08549, allocations: 4 kB / 462 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002009/0.0857, allocations: 39.64 kB / 462.1 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.21e-05/0.08582, allocations: 39.62 kB / 462.1 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.08609, allocations: 95.81 kB / 462.2 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000243/0.08634, allocations: 199.7 kB / 462.4 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002376/0.08659, allocations: 132.9 kB / 462.5 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.08671, allocations: 79.77 kB / 462.6 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.08684, allocations: 87.56 kB / 462.7 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.702e-05/0.08689, allocations: 20 kB / 462.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.475e-05/0.08693, allocations: 20 kB / 462.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.48e-05/0.08698, allocations: 43.84 kB / 462.8 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.864e-05/0.08708, allocations: 95.59 kB / 462.9 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.08737, allocations: 219.2 kB / 463.1 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.08738, allocations: 0 / 463.1 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.08739, allocations: 0 / 463.1 MB, free: 4.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.0874, allocations: 0 / 463.1 MB, free: 4.16 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.0006771/0.08809, allocations: 490.6 kB / 463.5 MB, free: 3.633 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.08813, allocations: 12.03 kB / 463.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.296e-05/0.08819, allocations: 50.73 kB / 463.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.08824, allocations: 16.84 kB / 463.6 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.08857, allocations: 240 kB / 463.9 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.08859, allocations: 16.38 kB / 463.9 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.08863, allocations: 20.38 kB / 463.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004341/0.08907, allocations: 216.2 kB / 464.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.0891, allocations: 4 kB / 464.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.08912, allocations: 4 kB / 464.1 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.08913, allocations: 4 kB / 464.1 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003837/0.08952, allocations: 143.8 kB / 464.3 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.09058, allocations: 0.754 MB / 465 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.09091, allocations: 102.5 kB / 465.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.09106, allocations: 40.95 kB / 465.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.09109, allocations: 7.922 kB / 465.2 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.09113, allocations: 46.55 kB / 465.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.09113, allocations: 0 / 465.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005145/0.09165, allocations: 141.5 kB / 465.3 MB, free: 1.672 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.09172, allocations: 85.05 kB / 465.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.09187, allocations: 148.5 kB / 465.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.0919, allocations: 29.7 kB / 465.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.771e-05/0.092, allocations: 148 kB / 465.7 MB, free: 1.234 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.09204, allocations: 31.72 kB / 465.8 MB, free: 1.203 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.703e-05/0.0921, allocations: 33.67 kB / 465.8 MB, free: 1.164 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.09224, allocations: 322.8 kB / 466.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.0924, allocations: 48.81 kB / 466.2 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.0926, allocations: 102 kB / 466.3 MB, free: 0.668 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.09293, allocations: 134.1 kB / 466.4 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.09294, allocations: 0 / 466.4 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004164/0.09336, allocations: 177.4 kB / 466.6 MB, free: 344 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.09338, allocations: 4 kB / 466.6 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.0934, allocations: 4 kB / 466.6 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.09342, allocations: 0 / 466.6 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.09359, allocations: 35.92 kB / 466.6 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.09361, allocations: 3.984 kB / 466.6 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.09374, allocations: 32.06 kB / 466.7 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.09375, allocations: 4 kB / 466.7 MB, free: 260 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001708/0.09393, allocations: 124.8 kB / 466.8 MB, free: 132 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001495/0.09409, allocations: 82.84 kB / 466.9 MB, free: 24 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002395/0.09434, allocations: 114 kB / 467 MB, free: 15.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.09435, allocations: 4 kB / 467 MB, free: 15.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.000302/0.09466, allocations: 137.5 kB / 467.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.09468, allocations: 11.94 kB / 467.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-06/0.09468, allocations: 0 / 467.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-06/0.09469, allocations: 4 kB / 467.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.09482, allocations: 32.09 kB / 467.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.09483, allocations: 8 kB / 467.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.09494, allocations: 11.98 kB / 467.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.09496, allocations: 8 kB / 467.2 MB, free: 15.67 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.0001102/0.09507, allocations: 184.2 kB / 467.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.09511, allocations: 15.84 kB / 467.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.386e-05/0.09515, allocations: 8.719 kB / 467.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.09516, allocations: 4 kB / 467.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.09517, allocations: 0 / 467.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.09518, allocations: 7.938 kB / 467.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.09546, allocations: 237.5 kB / 467.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.09547, allocations: 3.938 kB / 467.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.09562, allocations: 27.92 kB / 467.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.09563, allocations: 0 / 467.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.09564, allocations: 4 kB / 467.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.09565, allocations: 0 / 467.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.09566, allocations: 4 kB / 467.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005251/0.09619, allocations: 251.4 kB / 467.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.483e-05/0.09626, allocations: 93.03 kB / 468 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.09629, allocations: 8 kB / 468 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.09641, allocations: 11.98 kB / 468 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.09646, allocations: 8.047 kB / 468 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.09647, allocations: 7.938 kB / 468 MB, free: 14.72 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.885e-05/0.09656, allocations: 107.3 kB / 468.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09657, allocations: 0 / 468.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003668/0.09694, allocations: 75.73 kB / 468.2 MB, free: 14.54 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.0008027/0.09775, allocations: 0.7834 MB / 469 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004956/0.09826, allocations: 164.3 kB / 469.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.09827, allocations: 0 / 469.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.09842, allocations: 35.97 kB / 469.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.09875, allocations: 23.98 kB / 469.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.1013, allocations: 1.911 MB / 471.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.1016, allocations: 0.7162 MB / 471.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.644e-05/0.1017, allocations: 12.56 kB / 471.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.147e-05/0.1018, allocations: 47.42 kB / 471.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of SimCode: time 1.062e-06/0.1018, allocations: 0 / 471.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/0.1271, allocations: 2.92 MB / 474.8 MB, free: 7.836 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.711/7.838, allocations: 11.48 kB / 474.8 MB, free: 7.828 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 & python3 -m fmpy simulate --output-file DeltaRobot_DeltaRobot.Tests.ServoMotor_test_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 DeltaRobot_DeltaRobot_Tests_ServoMotor_test.fmu > DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe 2>&1)