Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr StewartPlatform_StewartPlatform.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.001385/0.001385, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001605/0.001605, allocations: 222.9 kB / 23 MB, free: 4.91 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.623/1.623, allocations: 230.6 MB / 256.8 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.03538/0.03538, allocations: 6.584 MB / 319.8 MB, free: 12.46 MB / 254.1 MB " [Timeout remaining time 180] Using package StewartPlatform with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 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: translateModel(StewartPlatform.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ServoMotor_test") translateModel(StewartPlatform.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ServoMotor_test") [Timeout 660] "Notification: StewartPlatform 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.002097/0.002097, allocations: 67.83 kB / 445.1 MB, free: 4.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1431, allocations: 54.86 MB / 499.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.004417/0.1475, allocations: 2.415 MB / 0.4906 GB, free: 11.03 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.1489, allocations: 0.6622 MB / 0.4912 GB, free: 10.36 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.149, allocations: 7.938 kB / 0.4912 GB, free: 10.36 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002791/0.1493, allocations: 47.58 kB / 0.4913 GB, free: 10.31 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.1494, allocations: 55.48 kB / 0.4913 GB, free: 10.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.1497, allocations: 103.9 kB / 0.4914 GB, free: 10.15 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003273/0.1501, allocations: 247.5 kB / 0.4917 GB, free: 9.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002638/0.1503, allocations: 88.59 kB / 0.4917 GB, free: 9.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.1505, allocations: 107.6 kB / 0.4918 GB, free: 9.715 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.1506, allocations: 79.56 kB / 0.4919 GB, free: 9.637 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.762e-05/0.1507, allocations: 24 kB / 0.4919 GB, free: 9.613 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.629e-05/0.1507, allocations: 24 kB / 0.492 GB, free: 9.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.416e-05/0.1508, allocations: 51.84 kB / 0.492 GB, free: 9.539 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.1509, allocations: 95.58 kB / 0.4921 GB, free: 9.445 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003434/0.1512, allocations: 259 kB / 0.4923 GB, free: 9.191 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1512, allocations: 4 kB / 0.4924 GB, free: 9.188 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1512, allocations: 0 / 0.4924 GB, free: 9.188 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.1512, allocations: 0 / 0.4924 GB, free: 9.188 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008159/0.1521, allocations: 461.6 kB / 0.4928 GB, free: 8.707 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.1521, allocations: 12.02 kB / 0.4928 GB, free: 8.695 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.562e-05/0.1522, allocations: 28.75 kB / 0.4928 GB, free: 8.668 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.1525, allocations: 186.2 kB / 0.493 GB, free: 8.461 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.1526, allocations: 16.81 kB / 0.493 GB, free: 8.445 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.1526, allocations: 20.38 kB / 0.493 GB, free: 8.426 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005182/0.1531, allocations: 276.6 kB / 0.4933 GB, free: 8.137 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.1532, allocations: 7.938 kB / 0.4933 GB, free: 8.129 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.1532, allocations: 8 kB / 0.4933 GB, free: 8.121 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.1532, allocations: 4 kB / 0.4933 GB, free: 8.117 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003998/0.1536, allocations: 157.6 kB / 0.4935 GB, free: 7.957 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.1547, allocations: 0.6731 MB / 0.4941 GB, free: 7.238 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003924/0.1551, allocations: 110.4 kB / 0.4942 GB, free: 7.121 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.1552, allocations: 48.83 kB / 0.4943 GB, free: 7.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.1553, allocations: 3.984 kB / 0.4943 GB, free: 7.066 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.1553, allocations: 38.56 kB / 0.4943 GB, free: 7.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.1553, allocations: 0 / 0.4943 GB, free: 7.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005569/0.1559, allocations: 185.5 kB / 0.4945 GB, free: 6.832 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.1559, allocations: 77.11 kB / 0.4946 GB, free: 6.738 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.1561, allocations: 170.5 kB / 0.4947 GB, free: 6.559 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.1561, allocations: 25.7 kB / 0.4948 GB, free: 6.527 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.1563, allocations: 172 kB / 0.4949 GB, free: 6.355 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.1563, allocations: 31.73 kB / 0.495 GB, free: 6.324 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.815e-05/0.1564, allocations: 37.67 kB / 0.495 GB, free: 6.281 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1565, allocations: 322.8 kB / 0.4953 GB, free: 5.957 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.1567, allocations: 56.81 kB / 0.4954 GB, free: 5.898 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.1569, allocations: 132.5 kB / 0.4955 GB, free: 5.738 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/0.1572, allocations: 149.9 kB / 0.4956 GB, free: 5.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.1572, allocations: 7.938 kB / 0.4956 GB, free: 5.562 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003959/0.1576, allocations: 173.4 kB / 0.4958 GB, free: 5.387 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.1577, allocations: 8.188 kB / 0.4958 GB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1577, allocations: 4 kB / 0.4958 GB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.1577, allocations: 4 kB / 0.4958 GB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.1579, allocations: 43.91 kB / 0.4959 GB, free: 5.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1579, allocations: 4 kB / 0.4959 GB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.158, allocations: 19.88 kB / 0.4959 GB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.158, allocations: 11.98 kB / 0.4959 GB, free: 5.293 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001822/0.1582, allocations: 136.1 kB / 0.496 GB, free: 5.156 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001624/0.1583, allocations: 121 kB / 0.4961 GB, free: 5.008 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002468/0.1586, allocations: 137.8 kB / 0.4963 GB, free: 4.852 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-06/0.1586, allocations: 0 / 0.4963 GB, free: 4.852 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.000313/0.1589, allocations: 165.3 kB / 0.4964 GB, free: 4.684 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/0.1589, allocations: 8 kB / 0.4964 GB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-06/0.1589, allocations: 0 / 0.4964 GB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.14e-06/0.1589, allocations: 4 kB / 0.4964 GB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.159, allocations: 31.92 kB / 0.4965 GB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.159, allocations: 4 kB / 0.4965 GB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.1591, allocations: 28.06 kB / 0.4965 GB, free: 4.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.1592, allocations: 4 kB / 0.4965 GB, free: 4.605 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 (16): * Single equations (assignments): 16 * 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.000132/0.1593, allocations: 188.2 kB / 0.4967 GB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.1593, allocations: 11.95 kB / 0.4967 GB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.212e-05/0.1594, allocations: 21.39 kB / 0.4967 GB, free: 4.383 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1594, allocations: 3.938 kB / 0.4967 GB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1594, allocations: 0 / 0.4967 GB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.1594, allocations: 0 / 0.4967 GB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.1596, allocations: 177.2 kB / 0.4969 GB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1596, allocations: 4 kB / 0.4969 GB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.1598, allocations: 31.97 kB / 0.4969 GB, free: 4.141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.1598, allocations: 4 kB / 0.4969 GB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.1598, allocations: 4 kB / 0.4969 GB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1598, allocations: 0 / 0.4969 GB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1598, allocations: 0 / 0.4969 GB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005742/0.1604, allocations: 295.3 kB / 0.4972 GB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/0.1604, allocations: 15.88 kB / 0.4972 GB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.1605, allocations: 4 kB / 0.4972 GB, free: 3.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.1606, allocations: 11.98 kB / 0.4972 GB, free: 3.797 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/0.1606, allocations: 7.984 kB / 0.4972 GB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.1606, allocations: 4 kB / 0.4973 GB, free: 3.785 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.1608, allocations: 120 kB / 0.4974 GB, free: 3.668 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1608, allocations: 0 / 0.4974 GB, free: 3.668 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003983/0.1612, allocations: 87.73 kB / 0.4974 GB, free: 3.582 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 (9): * Single equations (assignments): 9 * 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.0001309/0.1613, allocations: 107.1 kB / 0.4976 GB, free: 3.465 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005244/0.1618, allocations: 172.4 kB / 0.4977 GB, free: 3.297 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.1618, allocations: 4 kB / 0.4977 GB, free: 3.293 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.162, allocations: 48.03 kB / 0.4978 GB, free: 3.246 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.1623, allocations: 27.92 kB / 0.4978 GB, free: 3.219 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.1633, allocations: 0.4998 MB / 0.4983 GB, free: 2.688 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.1634, allocations: 128.9 kB / 0.4984 GB, free: 2.539 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.793e-05/0.1635, allocations: 15.44 kB / 0.4984 GB, free: 2.523 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1635, allocations: 0 / 0.4984 GB, free: 2.523 MB / 366.1 MB Notification: Performance of Templates: time 0.004534/0.168, allocations: 2.179 MB / 0.5005 GB, free: 364 kB / 366.1 MB " [Timeout remaining time 660] make -j1 -f StewartPlatform_StewartPlatform.Tests.ServoMotor_test.makefile [Timeout 660] (rm -f StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe >> ../files/StewartPlatform_StewartPlatform.Tests.ServoMotor_test.sim & ./StewartPlatform_StewartPlatform.Tests.ServoMotor_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.636248513124883] Failed to read output from testmodel.py, exit status != 0: 0.17653970513492823 0.191870924 0.037626478000000005 Calling exit ...