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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 217.3 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.421/1.421, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02759/0.02759, allocations: 5.289 MB / 318.5 MB, free: 13.7 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(DeltaRobot.Tests.ServoMotor_test,fileNamePrefix="DeltaRobot_DeltaRobot_Tests_ServoMotor_test",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DeltaRobot.Tests.ServoMotor_test,fileNamePrefix="DeltaRobot_DeltaRobot_Tests_ServoMotor_test",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: DeltaRobot requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 67.88 kB / 442.7 MB, free: 7.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1116, allocations: 54.55 MB / 497.2 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.003674/0.1153, allocations: 2.172 MB / 499.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.1164, allocations: 0.639 MB / 0.4883 GB, free: 14.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.204e-05/0.1165, allocations: 3.938 kB / 0.4883 GB, free: 14.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.1167, allocations: 31.72 kB / 0.4884 GB, free: 14.46 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.1168, allocations: 51.56 kB / 0.4884 GB, free: 14.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.1171, allocations: 95.83 kB / 0.4885 GB, free: 14.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002613/0.1174, allocations: 203.7 kB / 0.4887 GB, free: 14.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.1176, allocations: 89.36 kB / 0.4888 GB, free: 14.03 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.1177, allocations: 83.72 kB / 0.4889 GB, free: 13.95 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.1178, allocations: 91.62 kB / 0.489 GB, free: 13.86 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.1179, allocations: 20 kB / 0.489 GB, free: 13.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.437e-05/0.1179, allocations: 20 kB / 0.489 GB, free: 13.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.632e-05/0.118, allocations: 43.91 kB / 0.489 GB, free: 13.78 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.053e-05/0.1181, allocations: 79.66 kB / 0.4891 GB, free: 13.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.1184, allocations: 223.1 kB / 0.4893 GB, free: 13.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1184, allocations: 0 / 0.4893 GB, free: 13.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1184, allocations: 0 / 0.4893 GB, free: 13.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.1184, allocations: 0 / 0.4893 GB, free: 13.48 MB / 366.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.0007065/0.1191, allocations: 413.5 kB / 0.4897 GB, free: 13.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.1191, allocations: 12.03 kB / 0.4897 GB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.772e-05/0.1192, allocations: 8.172 kB / 0.4897 GB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.694e-05/0.1192, allocations: 54.72 kB / 0.4898 GB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/0.1193, allocations: 24.8 kB / 0.4898 GB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.1196, allocations: 162.3 kB / 0.49 GB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.1196, allocations: 12.38 kB / 0.49 GB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.492e-05/0.1196, allocations: 28.3 kB / 0.49 GB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004873/0.1201, allocations: 249.6 kB / 0.4902 GB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.1201, allocations: 3.953 kB / 0.4902 GB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.1202, allocations: 8 kB / 0.4903 GB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.1202, allocations: 8 kB / 0.4903 GB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003787/0.1205, allocations: 135.9 kB / 0.4904 GB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.1216, allocations: 0.6552 MB / 0.491 GB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.1219, allocations: 94.52 kB / 0.4911 GB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.1221, allocations: 48.88 kB / 0.4912 GB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.1221, allocations: 3.938 kB / 0.4912 GB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.1221, allocations: 34.56 kB / 0.4912 GB, free: 11.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.1221, allocations: 4 kB / 0.4912 GB, free: 11.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005119/0.1226, allocations: 149.5 kB / 0.4913 GB, free: 11.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.1227, allocations: 77.11 kB / 0.4914 GB, free: 11.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.1228, allocations: 152.8 kB / 0.4916 GB, free: 10.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.1229, allocations: 25.7 kB / 0.4916 GB, free: 10.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.123, allocations: 152.1 kB / 0.4917 GB, free: 10.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.123, allocations: 23.8 kB / 0.4918 GB, free: 10.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.939e-05/0.1231, allocations: 33.7 kB / 0.4918 GB, free: 10.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1232, allocations: 314.8 kB / 0.4921 GB, free: 10.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.1234, allocations: 48.81 kB / 0.4921 GB, free: 10.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.1236, allocations: 131.3 kB / 0.4923 GB, free: 10.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/0.1239, allocations: 133.9 kB / 0.4924 GB, free: 10.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.1239, allocations: 4 kB / 0.4924 GB, free: 10.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003833/0.1243, allocations: 173.3 kB / 0.4926 GB, free: 9.871 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1243, allocations: 4 kB / 0.4926 GB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1243, allocations: 4 kB / 0.4926 GB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1243, allocations: 0 / 0.4926 GB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.1245, allocations: 35.97 kB / 0.4926 GB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.1245, allocations: 0 / 0.4926 GB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.1246, allocations: 28.06 kB / 0.4926 GB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.1246, allocations: 8 kB / 0.4926 GB, free: 9.793 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001815/0.1248, allocations: 132 kB / 0.4928 GB, free: 9.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001609/0.125, allocations: 104.5 kB / 0.4929 GB, free: 9.527 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002282/0.1252, allocations: 113.9 kB / 0.493 GB, free: 9.395 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.1252, allocations: 0 / 0.493 GB, free: 9.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0003005/0.1255, allocations: 145.3 kB / 0.4931 GB, free: 9.246 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.1255, allocations: 8 kB / 0.4931 GB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-06/0.1255, allocations: 0 / 0.4931 GB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.987e-06/0.1255, allocations: 8.188 kB / 0.4931 GB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.1256, allocations: 24.23 kB / 0.4932 GB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1256, allocations: 4 kB / 0.4932 GB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.1257, allocations: 27.81 kB / 0.4932 GB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.1257, allocations: 4.156 kB / 0.4932 GB, free: 9.172 MB / 366.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.0001272/0.1259, allocations: 188.2 kB / 0.4934 GB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/0.1259, allocations: 11.89 kB / 0.4934 GB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.112e-05/0.126, allocations: 16.7 kB / 0.4934 GB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.126, allocations: 0 / 0.4934 GB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.126, allocations: 4 kB / 0.4934 GB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.126, allocations: 0 / 0.4934 GB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.1262, allocations: 200.6 kB / 0.4936 GB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1262, allocations: 0 / 0.4936 GB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.1264, allocations: 27.97 kB / 0.4936 GB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1264, allocations: 0 / 0.4936 GB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1264, allocations: 0 / 0.4936 GB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1264, allocations: 4 kB / 0.4936 GB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.1264, allocations: 7.922 kB / 0.4936 GB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005171/0.1269, allocations: 259.3 kB / 0.4939 GB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.994e-05/0.1269, allocations: 7.984 kB / 0.4939 GB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.127, allocations: 0 / 0.4939 GB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.1271, allocations: 11.98 kB / 0.4939 GB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.1271, allocations: 11.98 kB / 0.4939 GB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.1271, allocations: 0 / 0.4939 GB, free: 8.371 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.819e-05/0.1272, allocations: 107.2 kB / 0.494 GB, free: 8.266 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1272, allocations: 8.062 kB / 0.494 GB, free: 8.258 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003901/0.1276, allocations: 71.73 kB / 0.4941 GB, free: 8.188 MB / 366.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.000817/0.1284, allocations: 0.7826 MB / 0.4948 GB, free: 7.379 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004688/0.1289, allocations: 147.8 kB / 0.495 GB, free: 7.234 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1289, allocations: 0 / 0.495 GB, free: 7.234 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.129, allocations: 39.91 kB / 0.495 GB, free: 7.195 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.1294, allocations: 32.97 kB / 0.4951 GB, free: 7.164 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.1319, allocations: 1.914 MB / 0.4969 GB, free: 5.133 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.132, allocations: 111.8 kB / 0.497 GB, free: 5.004 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.008e-05/0.1321, allocations: 12.48 kB / 0.497 GB, free: 4.992 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.882e-05/0.1322, allocations: 51.42 kB / 0.4971 GB, free: 4.941 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1322, allocations: 0 / 0.4971 GB, free: 4.941 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.1572, allocations: 3.244 MB / 0.5003 GB, free: 1.852 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.73, allocations: 10.27 kB / 0.5003 GB, free: 1.848 MB / 366.1 MB " [Timeout remaining time 648] (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 --stepSize=0.01 --timeout=50 --tolerance=1e-06 DeltaRobot_DeltaRobot_Tests_ServoMotor_test.fmu > DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.333998334011994] Failed to read output from testmodel.py, exit status != 0: 11.89064302504994 11.908005513 11.786562824 Calling exit ...