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.001301/0.001301, 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.001337/0.001337, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.47/1.47, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1805/0.1805, allocations: 5.214 MB / 295.6 MB, free: 3.031 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 71.89 kB / 357.3 MB, free: 1.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1144, allocations: 50.55 MB / 407.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.004849/0.1194, allocations: 2.231 MB / 410.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.121, allocations: 0.635 MB / 410.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002707/0.1213, allocations: 4 kB / 410.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.1217, allocations: 39.64 kB / 410.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.122, allocations: 51.56 kB / 410.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004641/0.1224, allocations: 91.83 kB / 410.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003968/0.1229, allocations: 207.7 kB / 411.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003342/0.1232, allocations: 117.1 kB / 411.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.1234, allocations: 83.66 kB / 411.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.1236, allocations: 87.67 kB / 411.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.092e-05/0.1236, allocations: 23.94 kB / 411.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.956e-05/0.1237, allocations: 24 kB / 411.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.217e-05/0.1238, allocations: 39.91 kB / 411.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.1239, allocations: 95.55 kB / 411.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.1242, allocations: 215.3 kB / 411.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.1243, allocations: 0 / 411.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.1243, allocations: 0 / 411.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.1243, allocations: 0 / 411.8 MB, free: 11.18 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.0009907/0.1253, allocations: 486.8 kB / 412.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/0.1253, allocations: 8.031 kB / 412.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.462e-05/0.1254, allocations: 54.73 kB / 412.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.246e-05/0.1255, allocations: 20.66 kB / 412.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.1259, allocations: 224.1 kB / 412.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.1259, allocations: 12.38 kB / 412.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.837e-05/0.126, allocations: 16.38 kB / 412.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004633/0.1264, allocations: 224.2 kB / 412.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.1265, allocations: 7.891 kB / 412.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.1265, allocations: 8 kB / 412.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1265, allocations: 7.938 kB / 412.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003851/0.1269, allocations: 135.8 kB / 413 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.1281, allocations: 0.7732 MB / 413.7 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.1284, allocations: 94.52 kB / 413.8 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.1285, allocations: 44.94 kB / 413.9 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.1286, allocations: 7.938 kB / 413.9 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.1286, allocations: 38.5 kB / 413.9 MB, free: 8.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1286, allocations: 0 / 413.9 MB, free: 8.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005304/0.1292, allocations: 149.6 kB / 414.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.409e-05/0.1292, allocations: 77.11 kB / 414.1 MB, free: 8.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.1294, allocations: 152.2 kB / 414.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.1295, allocations: 25.7 kB / 414.3 MB, free: 8.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.1296, allocations: 151.8 kB / 414.5 MB, free: 8.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.1296, allocations: 19.66 kB / 414.5 MB, free: 8.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.851e-05/0.1297, allocations: 33.7 kB / 414.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1299, allocations: 322.8 kB / 414.8 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.13, allocations: 52.83 kB / 414.9 MB, free: 7.812 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.1303, allocations: 98.89 kB / 415 MB, free: 7.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/0.1306, allocations: 129.9 kB / 415.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1306, allocations: 4 kB / 415.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004336/0.1311, allocations: 169.3 kB / 415.3 MB, free: 7.367 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.1311, allocations: 4 kB / 415.3 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.1311, allocations: 4 kB / 415.3 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.1311, allocations: 0 / 415.3 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.1313, allocations: 44.09 kB / 415.3 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.1314, allocations: 0 / 415.3 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.1315, allocations: 23.89 kB / 415.3 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.1315, allocations: 4 kB / 415.3 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001933/0.1317, allocations: 128.1 kB / 415.5 MB, free: 7.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001422/0.1319, allocations: 86.84 kB / 415.6 MB, free: 7.051 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002413/0.1321, allocations: 117.9 kB / 415.7 MB, free: 6.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.1321, allocations: 0 / 415.7 MB, free: 6.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0003073/0.1324, allocations: 133.4 kB / 415.8 MB, free: 6.777 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1325, allocations: 11.94 kB / 415.8 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-06/0.1325, allocations: 160 / 415.8 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.1325, allocations: 8.188 kB / 415.8 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.1326, allocations: 27.92 kB / 415.8 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1326, allocations: 7.984 kB / 415.9 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.1327, allocations: 19.83 kB / 415.9 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.1328, allocations: 8 kB / 415.9 MB, free: 6.695 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.0001438/0.1329, allocations: 192.1 kB / 416.1 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.139e-05/0.133, allocations: 11.84 kB / 416.1 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.592e-05/0.133, allocations: 16.66 kB / 416.1 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.133, allocations: 7.984 kB / 416.1 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.133, allocations: 0 / 416.1 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.133, allocations: 0 / 416.1 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002825/0.1333, allocations: 229.6 kB / 416.3 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1333, allocations: 3.938 kB / 416.3 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.1335, allocations: 23.98 kB / 416.4 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1335, allocations: 0 / 416.4 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.1335, allocations: 3.984 kB / 416.4 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1335, allocations: 4 kB / 416.4 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1335, allocations: 0 / 416.4 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005502/0.1341, allocations: 259.3 kB / 416.6 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-05/0.1342, allocations: 88.98 kB / 416.7 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.1342, allocations: 0 / 416.7 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.1343, allocations: 16.05 kB / 416.7 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.1344, allocations: 15.91 kB / 416.7 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.1344, allocations: 4 kB / 416.7 MB, free: 5.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.537e-05/0.1345, allocations: 103.3 kB / 416.8 MB, free: 5.645 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1345, allocations: 0 / 416.8 MB, free: 5.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004106/0.1349, allocations: 79.53 kB / 416.9 MB, free: 5.566 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.0009024/0.1358, allocations: 0.7831 MB / 417.7 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005397/0.1364, allocations: 160.1 kB / 417.9 MB, free: 4.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.1364, allocations: 0 / 417.9 MB, free: 4.602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.1366, allocations: 43.91 kB / 417.9 MB, free: 4.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/0.137, allocations: 27.67 kB / 417.9 MB, free: 4.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/0.1399, allocations: 1.893 MB / 419.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.1404, allocations: 0.7201 MB / 420.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.592e-05/0.1405, allocations: 16.55 kB / 420.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.774e-05/0.1406, allocations: 43.42 kB / 420.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1406, allocations: 0 / 420.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2288/0.3694, allocations: 2.838 MB / 423.4 MB, free: 47.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.759/8.128, allocations: 15.77 kB / 423.5 MB, free: 47.29 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)