Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001395/0.001395, allocations: 117.3 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001613/0.001613, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 230.2 MB / 254.5 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2396/0.2396, allocations: 46.9 MB / 357.4 MB, free: 10.54 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003177/0.003177, allocations: 80.8 kB / 0.4912 GB, free: 26.94 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1334, allocations: 65.98 MB / 0.5556 GB, free: 9.164 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009924/0.1433, allocations: 7.507 MB / 0.563 GB, free: 1.613 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006966/0.1503, allocations: 3.38 MB / 0.5663 GB, free: 14.22 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.1513, allocations: 35.88 kB / 0.5663 GB, free: 14.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002086/0.1534, allocations: 0.8131 MB / 0.5671 GB, free: 13.37 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003792/0.1572, allocations: 1.319 MB / 0.5684 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.1588, allocations: 0.5262 MB / 0.5689 GB, free: 11.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004263/0.1631, allocations: 2.602 MB / 0.5714 GB, free: 8.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002205/0.1653, allocations: 1.092 MB / 0.5725 GB, free: 7.805 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001564/0.1668, allocations: 0.7705 MB / 0.5732 GB, free: 7.031 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002051/0.1689, allocations: 1.23 MB / 0.5745 GB, free: 5.797 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005336/0.1694, allocations: 140 kB / 0.5746 GB, free: 5.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002198/0.1716, allocations: 0.9555 MB / 0.5755 GB, free: 4.703 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001258/0.1729, allocations: 1.036 MB / 0.5765 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001587/0.1745, allocations: 1.215 MB / 0.5777 GB, free: 2.441 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005969/0.1804, allocations: 4.038 MB / 0.5817 GB, free: 14.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.1804, allocations: 0 / 0.5817 GB, free: 14.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1804, allocations: 0 / 0.5817 GB, free: 14.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001439/0.1806, allocations: 0 / 0.5817 GB, free: 14.39 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.006956/0.1875, allocations: 3.026 MB / 0.5846 GB, free: 11.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.1876, allocations: 12.03 kB / 0.5846 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000905/0.1885, allocations: 462.5 kB / 0.5851 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006421/0.1949, allocations: 1.676 MB / 0.5867 GB, free: 9.145 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004545/0.1995, allocations: 1.551 MB / 0.5882 GB, free: 7.551 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001668/0.1996, allocations: 123.4 kB / 0.5883 GB, free: 7.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007594/0.2004, allocations: 163.8 kB / 0.5885 GB, free: 7.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01214/0.2125, allocations: 6.456 MB / 0.5948 GB, free: 288 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.876e-05/0.2126, allocations: 35.75 kB / 0.5948 GB, free: 252 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000305/0.2129, allocations: 83.89 kB / 0.5949 GB, free: 168 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002671/0.2156, allocations: 1.441 MB / 0.5963 GB, free: 14.72 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01143/0.227, allocations: 5.736 MB / 0.6019 GB, free: 8.984 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2839/0.511, allocations: 26.75 MB / 0.628 GB, free: 28.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00443/0.5154, allocations: 2.062 MB / 0.6301 GB, free: 27.78 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001528/0.5169, allocations: 0.9567 MB / 0.631 GB, free: 27.41 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001956/0.5171, allocations: 178.5 kB / 0.6312 GB, free: 27.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.5172, allocations: 43.62 kB / 0.6312 GB, free: 27.18 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 3.877e-06/0.5172, allocations: 3.469 kB / 0.6312 GB, free: 27.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.01721/0.5344, allocations: 6.5 MB / 0.6376 GB, free: 24.66 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.5344, allocations: 147.6 kB / 0.6377 GB, free: 24.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003763/0.5382, allocations: 2.897 MB / 0.6405 GB, free: 23.49 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001885/0.5384, allocations: 37.02 kB / 0.6406 GB, free: 23.45 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009782/0.5394, allocations: 2.194 MB / 0.6427 GB, free: 21.9 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004009/0.5398, allocations: 475.5 kB / 0.6432 GB, free: 21.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009561/0.5407, allocations: 0.9001 MB / 0.644 GB, free: 21.13 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.492e-05/0.5407, allocations: 306.5 kB / 0.6443 GB, free: 20.83 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001964/0.5427, allocations: 1.421 MB / 0.6457 GB, free: 20.4 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002633/0.5453, allocations: 4.288 MB / 0.6499 GB, free: 16.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005092/0.5504, allocations: 6.208 MB / 0.656 GB, free: 10.23 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.968e-05/0.5505, allocations: 26.31 kB / 0.656 GB, free: 10.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.007462/0.558, allocations: 5.503 MB / 0.6614 GB, free: 7.512 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.653e-05/0.558, allocations: 48.19 kB / 0.6614 GB, free: 7.512 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.035e-05/0.5581, allocations: 102.5 kB / 0.6615 GB, free: 7.512 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000105/0.5582, allocations: 134.4 kB / 0.6616 GB, free: 7.461 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003674/0.5619, allocations: 1.224 MB / 0.6628 GB, free: 6.234 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001196/0.562, allocations: 200.5 kB / 0.663 GB, free: 6.039 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003071/0.5651, allocations: 235.7 kB / 0.6632 GB, free: 5.809 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004904/0.5656, allocations: 288.1 kB / 0.6635 GB, free: 5.527 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (553): * Single equations (assignments): 550 * Array equations: 3 * 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.002013/0.5676, allocations: 1.383 MB / 0.6649 GB, free: 4.133 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007198/0.5683, allocations: 250.9 kB / 0.6651 GB, free: 3.887 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002043/0.5704, allocations: 1.241 MB / 0.6663 GB, free: 2.641 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.89e-05/0.5704, allocations: 13.08 kB / 0.6663 GB, free: 2.629 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.5704, allocations: 3.938 kB / 0.6663 GB, free: 2.625 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.5704, allocations: 7.984 kB / 0.6663 GB, free: 2.617 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009397/0.5798, allocations: 4.564 MB / 0.6708 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/0.5798, allocations: 7.625 kB / 0.6708 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001857/0.5817, allocations: 367.8 kB / 0.6712 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.343e-05/0.5817, allocations: 10.48 kB / 0.6712 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.5818, allocations: 25.78 kB / 0.6712 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-05/0.5818, allocations: 11.98 kB / 0.6712 GB, free: 13.56 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/0.5818, allocations: 11.94 kB / 0.6712 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00326/0.5851, allocations: 2.17 MB / 0.6733 GB, free: 11.31 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009701/0.5861, allocations: 315.2 kB / 0.6736 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004932/0.5866, allocations: 31.92 kB / 0.6737 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.5877, allocations: 51.94 kB / 0.6737 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.5879, allocations: 71.39 kB / 0.6738 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.875e-05/0.588, allocations: 39.98 kB / 0.6738 GB, free: 10.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003378/0.5914, allocations: 1.823 MB / 0.6756 GB, free: 8.969 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5914, allocations: 0 / 0.6756 GB, free: 8.969 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003774/0.5951, allocations: 0.6132 MB / 0.6762 GB, free: 8.355 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 simulation (90): * Single equations (assignments): 87 * Array equations: 3 * 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.003772/0.5989, allocations: 2.799 MB / 0.6789 GB, free: 5.48 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00559/0.6045, allocations: 3.14 MB / 0.682 GB, free: 2.363 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.6045, allocations: 320 / 0.682 GB, free: 2.363 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.6057, allocations: 0.7412 MB / 0.6827 GB, free: 1.621 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/0.608, allocations: 278.3 kB / 0.683 GB, free: 1.363 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05066/0.6587, allocations: 29.79 MB / 0.7121 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003146/0.6618, allocations: 2.206 MB / 0.7142 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003944/0.6658, allocations: 1.457 MB / 0.7157 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002119/0.6679, allocations: 1.085 MB / 0.7167 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of SimCode: time 9.82e-07/0.6679, allocations: 0 / 0.7167 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09098/0.7589, allocations: 41.52 MB / 0.7573 GB, free: 1.473 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.25/18.01, allocations: 11.81 kB / 0.7573 GB, free: 1.461 MB / 0.545 GB " [Timeout remaining time 642] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.033306011930108] Failed to read output from testmodel.py, exit status != 0: ['time', 'ActuatedRevolute1.frame_b.r_0[1]', 'ActuatedRevolute1.frame_b.r_0[2]', 'ActuatedRevolute1.frame_b.r_0[3]', 'ActuatedRevolute1.frame_b.f[1]', 'ActuatedRevolute1.frame_b.f[2]', 'ActuatedRevolute1.frame_b.f[3]', 'ActuatedRevolute1.frame_b.t[1]', 'ActuatedRevolute1.frame_b.t[2]', 'ActuatedRevolute1.frame_b.t[3]', 'Multiplex3_1.y[1]', 'Multiplex3_1.y[2]', 'Multiplex3_1.y[3]', 'Constant1.y', 'Constant2.y'] 18.112362111918628 18.134364758 17.949323239 Calling exit ...