Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.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.001677/0.001677, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002086/0.002086, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.512/1.512, allocations: 230.5 MB / 258.2 MB, free: 8.066 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.2363/0.2363, allocations: 46.92 MB / 361.6 MB, free: 4.25 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.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_FixedRotation",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.002581/0.002581, allocations: 75.88 kB / 0.497 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3187, allocations: 66.08 MB / 0.5615 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.02063/0.3393, allocations: 17.01 MB / 0.5781 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009554/0.3489, allocations: 3.983 MB / 0.582 GB, free: 15.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002755/0.3516, allocations: 115.6 kB / 0.5821 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004953/0.3566, allocations: 2.234 MB / 0.5843 GB, free: 12.9 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006282/0.3629, allocations: 2.6 MB / 0.5868 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.364, allocations: 303.5 kB / 0.5871 GB, free: 9.996 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01039/0.3744, allocations: 6.553 MB / 0.5935 GB, free: 3.434 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005079/0.3794, allocations: 3.082 MB / 0.5965 GB, free: 304 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004813/0.3843, allocations: 2.152 MB / 0.5986 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005566/0.3898, allocations: 3.099 MB / 0.6017 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00162/0.3914, allocations: 392 kB / 0.602 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002605/0.394, allocations: 0.8309 MB / 0.6028 GB, free: 9.812 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003653/0.3977, allocations: 2.819 MB / 0.6056 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005138/0.4028, allocations: 3.306 MB / 0.6088 GB, free: 3.656 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01358/0.4164, allocations: 10.66 MB / 0.6192 GB, free: 8.949 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.4164, allocations: 0 / 0.6192 GB, free: 8.949 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4164, allocations: 4 kB / 0.6192 GB, free: 8.945 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003214/0.4167, allocations: 0 / 0.6192 GB, free: 8.945 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.01485/0.4316, allocations: 7.101 MB / 0.6262 GB, free: 1.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.4317, allocations: 8.031 kB / 0.6262 GB, free: 1.762 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003118/0.4348, allocations: 1.276 MB / 0.6274 GB, free: 488 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01968/0.4545, allocations: 5.903 MB / 0.6332 GB, free: 10.56 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0081/0.4626, allocations: 3.229 MB / 0.6363 GB, free: 7.273 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003531/0.4629, allocations: 328 kB / 0.6367 GB, free: 6.949 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002143/0.465, allocations: 411.7 kB / 0.6371 GB, free: 6.547 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0345/0.4995, allocations: 18.9 MB / 0.6555 GB, free: 2.902 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001162/0.4997, allocations: 39.67 kB / 0.6555 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001132/0.5008, allocations: 199.7 kB / 0.6557 GB, free: 2.668 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007883/0.5087, allocations: 4.753 MB / 0.6604 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03535/0.544, allocations: 17.53 MB / 0.6775 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3229/0.8669, allocations: 61.05 MB / 0.7371 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01269/0.8796, allocations: 6.35 MB / 0.7433 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002905/0.8825, allocations: 2.388 MB / 0.7457 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0177/0.9002, allocations: 9.897 MB / 0.7553 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.9002, allocations: 63.31 kB / 0.7554 GB, free: 131 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 7.925e-06/0.9003, allocations: 0 / 0.7554 GB, free: 131 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.01596/0.9162, allocations: 7.536 MB / 0.7627 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.9163, allocations: 103 kB / 0.7628 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007423/0.9237, allocations: 5.676 MB / 0.7684 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004139/0.9241, allocations: 68.56 kB / 0.7684 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002913/0.927, allocations: 5.288 MB / 0.7736 GB, free: 123.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001292/0.9283, allocations: 1.251 MB / 0.7748 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003623/0.9319, allocations: 1.921 MB / 0.7767 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.098e-05/0.932, allocations: 305.1 kB / 0.777 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004649/0.9366, allocations: 3.207 MB / 0.7801 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006749/0.9434, allocations: 8.655 MB / 0.7886 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01014/0.9535, allocations: 12.91 MB / 0.8012 GB, free: 91.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001467/0.9537, allocations: 56 kB / 0.8012 GB, free: 91.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01689/0.9706, allocations: 11.67 MB / 0.8126 GB, free: 79.67 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/0.9707, allocations: 92.03 kB / 0.8127 GB, free: 79.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000184/0.9709, allocations: 192 kB / 0.8129 GB, free: 79.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001731/0.971, allocations: 252 kB / 0.8132 GB, free: 79.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006442/0.9775, allocations: 2.074 MB / 0.8152 GB, free: 77.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002708/0.9777, allocations: 370.6 kB / 0.8155 GB, free: 76.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006744/0.9845, allocations: 1.364 MB / 0.8169 GB, free: 75.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001383/0.9859, allocations: 0.5541 MB / 0.8174 GB, free: 74.79 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1140): * Single equations (assignments): 1122 * Array equations: 18 * 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.005952/0.9918, allocations: 3.702 MB / 0.821 GB, free: 71.07 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007094/0.9925, allocations: 0.5004 MB / 0.8215 GB, free: 70.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.9939, allocations: 0.6449 MB / 0.8221 GB, free: 69.91 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.525e-05/0.9939, allocations: 59.34 kB / 0.8222 GB, free: 69.86 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.349e-05/0.994, allocations: 0 / 0.8222 GB, free: 69.86 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.056e-05/0.994, allocations: 11.95 kB / 0.8222 GB, free: 69.85 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01918/1.013, allocations: 12.62 MB / 0.8345 GB, free: 57.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/1.013, allocations: 12.81 kB / 0.8345 GB, free: 57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001679/1.015, allocations: 423.3 kB / 0.8349 GB, free: 56.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.825e-05/1.015, allocations: 20 kB / 0.835 GB, free: 56.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001782/1.015, allocations: 67.42 kB / 0.835 GB, free: 56.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.761e-05/1.015, allocations: 31.88 kB / 0.8351 GB, free: 56.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.869e-06/1.015, allocations: 22.06 kB / 0.8351 GB, free: 56.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004528/1.02, allocations: 4.66 MB / 0.8396 GB, free: 51.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000922/1.021, allocations: 0.5114 MB / 0.8401 GB, free: 51.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007351/1.021, allocations: 59.58 kB / 0.8402 GB, free: 51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001638/1.023, allocations: 131.8 kB / 0.8403 GB, free: 50.87 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003651/1.023, allocations: 180.7 kB / 0.8405 GB, free: 50.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001753/1.023, allocations: 95.05 kB / 0.8406 GB, free: 50.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004484/1.028, allocations: 3.489 MB / 0.844 GB, free: 47.13 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/1.028, allocations: 7.938 kB / 0.844 GB, free: 47.12 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006883/1.035, allocations: 1.969 MB / 0.8459 GB, free: 45.16 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * 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.005515/1.04, allocations: 5.335 MB / 0.8511 GB, free: 39.58 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008681/1.049, allocations: 7.016 MB / 0.858 GB, free: 32.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/1.049, allocations: 4 kB / 0.858 GB, free: 32.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002242/1.051, allocations: 1.865 MB / 0.8598 GB, free: 30.74 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003334/1.055, allocations: 0.6292 MB / 0.8604 GB, free: 30.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1026/1.157, allocations: 68.36 MB / 0.9272 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00955/1.167, allocations: 5.415 MB / 0.9325 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00875/1.175, allocations: 3.547 MB / 0.9359 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005654/1.181, allocations: 3.319 MB / 0.9392 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of SimCode: time 1.333e-06/1.181, allocations: 0 / 0.9392 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3949/1.576, allocations: 95.28 MB / 1.032 GB, free: 218 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 25/26.58, allocations: 8.047 kB / 1.032 GB, free: 218 MB / 0.67 GB " [Timeout remaining time 633] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 29.57351172482595] Failed to read output from testmodel.py, exit status != 0: ['time', 'fixedRotation.frame_b.r_0[1]', 'fixedRotation.frame_b.r_0[2]', 'fixedRotation.frame_b.r_0[3]', 'fixedRotation.frame_b.f[1]', 'fixedRotation.frame_b.f[2]', 'fixedRotation.frame_b.f[3]', 'fixedRotation.frame_b.t[1]', 'fixedRotation.frame_b.t[2]', 'fixedRotation.frame_b.t[3]', 'fixedRotation1.frame_b.r_0[1]', 'fixedRotation1.frame_b.r_0[2]', 'fixedRotation1.frame_b.r_0[3]', 'fixedRotation1.frame_b.f[1]', 'fixedRotation1.frame_b.f[2]', 'fixedRotation1.frame_b.f[3]', 'fixedRotation1.frame_b.t[1]', 'fixedRotation1.frame_b.t[2]', 'fixedRotation1.frame_b.t[3]', 'fixedRotation2.frame_b.r_0[1]', 'fixedRotation2.frame_b.r_0[2]', 'fixedRotation2.frame_b.r_0[3]', 'fixedRotation2.frame_b.f[1]', 'fixedRotation2.frame_b.f[2]', 'fixedRotation2.frame_b.f[3]', 'fixedRotation2.frame_b.t[1]', 'fixedRotation2.frame_b.t[2]', 'fixedRotation2.frame_b.t[3]'] 26.72122340928763 26.742487148 26.321623779 Calling exit ...