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.001309/0.001309, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.001389/0.001389, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.463/1.463, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2255/0.2255, allocations: 46.94 MB / 357.7 MB, free: 10.21 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.002404/0.002404, allocations: 79.86 kB / 0.4917 GB, free: 7.766 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1142, allocations: 66.04 MB / 0.5562 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01928/0.1335, allocations: 17 MB / 0.5728 GB, free: 4.512 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008451/0.1419, allocations: 3.96 MB / 0.5766 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00222/0.1442, allocations: 111.6 kB / 0.5767 GB, free: 436 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004713/0.1489, allocations: 2.226 MB / 0.5789 GB, free: 14.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005992/0.1549, allocations: 2.58 MB / 0.5814 GB, free: 11.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009076/0.1558, allocations: 311.4 kB / 0.5817 GB, free: 11.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009452/0.1652, allocations: 6.543 MB / 0.5881 GB, free: 4.746 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004395/0.1696, allocations: 2.955 MB / 0.591 GB, free: 1.742 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2296/0.3992, allocations: 2.154 MB / 0.5931 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00467/0.4039, allocations: 3.104 MB / 0.5961 GB, free: 7.117 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001582/0.4055, allocations: 390.6 kB / 0.5965 GB, free: 7.117 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002799/0.4083, allocations: 0.8322 MB / 0.5973 GB, free: 7.117 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003886/0.4122, allocations: 2.81 MB / 0.6001 GB, free: 6.711 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005244/0.4174, allocations: 3.31 MB / 0.6033 GB, free: 5.352 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01466/0.4321, allocations: 10.65 MB / 0.6137 GB, free: 3.434 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4321, allocations: 6.688 kB / 0.6137 GB, free: 3.434 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4321, allocations: 1.188 kB / 0.6137 GB, free: 3.434 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004097/0.4325, allocations: 0 / 0.6137 GB, free: 3.434 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: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.01692/0.4494, allocations: 7.234 MB / 0.6208 GB, free: 15.88 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.4495, allocations: 9.562 kB / 0.6208 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00363/0.4531, allocations: 1.277 MB / 0.622 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02112/0.4742, allocations: 5.906 MB / 0.6278 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008768/0.483, allocations: 3.298 MB / 0.631 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002896/0.4833, allocations: 324.9 kB / 0.6313 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002337/0.4856, allocations: 425.2 kB / 0.6317 GB, free: 10.56 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03962/0.5252, allocations: 18.89 MB / 0.6502 GB, free: 11.62 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001306/0.5254, allocations: 32.16 kB / 0.6502 GB, free: 11.61 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00168/0.527, allocations: 212.1 kB / 0.6504 GB, free: 11.49 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00877/0.5358, allocations: 4.741 MB / 0.655 GB, free: 6.801 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03858/0.5744, allocations: 17.53 MB / 0.6721 GB, free: 5.441 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1058/0.6802, allocations: 60.99 MB / 0.7317 GB, free: 7.895 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01751/0.6977, allocations: 8.156 MB / 0.7397 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004842/0.7025, allocations: 2.393 MB / 0.742 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02497/0.7275, allocations: 11.89 MB / 0.7536 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.837e-05/0.7275, allocations: 59.5 kB / 0.7537 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 9.147e-06/0.7276, allocations: 0 / 0.7537 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.02088/0.7484, allocations: 7.541 MB / 0.761 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.156e-05/0.7485, allocations: 101.4 kB / 0.7611 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01105/0.7596, allocations: 5.689 MB / 0.7667 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005179/0.7601, allocations: 64.28 kB / 0.7668 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.005205/0.7653, allocations: 5.281 MB / 0.7719 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001932/0.7672, allocations: 1.254 MB / 0.7731 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004333/0.7716, allocations: 1.914 MB / 0.775 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.7717, allocations: 308.9 kB / 0.7753 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00661/0.7783, allocations: 3.212 MB / 0.7784 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01253/0.7909, allocations: 8.654 MB / 0.7869 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01845/0.8093, allocations: 12.91 MB / 0.7995 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001905/0.8095, allocations: 56 kB / 0.7996 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02495/0.8345, allocations: 11.67 MB / 0.8109 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001902/0.8346, allocations: 90.19 kB / 0.811 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002845/0.8349, allocations: 188 kB / 0.8112 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002807/0.8352, allocations: 260.1 kB / 0.8115 GB, free: 496 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007887/0.8431, allocations: 2.074 MB / 0.8135 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004841/0.8436, allocations: 378.5 kB / 0.8138 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008072/0.8517, allocations: 1.356 MB / 0.8152 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002154/0.8538, allocations: 0.5577 MB / 0.8157 GB, free: 12.12 MB / 0.6387 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.009032/0.8628, allocations: 3.704 MB / 0.8193 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/0.8639, allocations: 0.4966 MB / 0.8198 GB, free: 7.902 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002412/0.8663, allocations: 0.6488 MB / 0.8205 GB, free: 7.246 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001215/0.8665, allocations: 52 kB / 0.8205 GB, free: 7.195 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.477e-05/0.8665, allocations: 0 / 0.8205 GB, free: 7.195 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-05/0.8665, allocations: 11.95 kB / 0.8205 GB, free: 7.184 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02929/0.8958, allocations: 12.65 MB / 0.8329 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-05/0.8958, allocations: 15.94 kB / 0.8329 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001983/0.8978, allocations: 423.3 kB / 0.8333 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.273e-05/0.8978, allocations: 20 kB / 0.8333 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002577/0.8981, allocations: 63.98 kB / 0.8334 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.737e-05/0.8981, allocations: 31.92 kB / 0.8334 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.819e-05/0.8981, allocations: 23.88 kB / 0.8334 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007511/0.9057, allocations: 4.655 MB / 0.838 GB, free: 4.871 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001408/0.9071, allocations: 0.5931 MB / 0.8385 GB, free: 4.258 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001142/0.9082, allocations: 55.91 kB / 0.8386 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002117/0.9103, allocations: 123.8 kB / 0.8387 GB, free: 4.086 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000533/0.9109, allocations: 176.8 kB / 0.8389 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002721/0.9111, allocations: 103.1 kB / 0.839 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.007604/0.9187, allocations: 3.486 MB / 0.8424 GB, free: 360 kB / 0.6544 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9187, allocations: 0 / 0.8424 GB, free: 360 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.2571/1.176, allocations: 1.964 MB / 0.8443 GB, free: 226 MB / 0.6544 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.008658/1.184, allocations: 5.35 MB / 0.8495 GB, free: 224.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01317/1.198, allocations: 7.006 MB / 0.8564 GB, free: 223.6 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.827e-05/1.198, allocations: 1.344 kB / 0.8564 GB, free: 223.6 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002843/1.201, allocations: 1.865 MB / 0.8582 GB, free: 223.1 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004024/1.205, allocations: 0.6252 MB / 0.8588 GB, free: 222.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08643/1.291, allocations: 68.35 MB / 0.9255 GB, free: 163.4 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008882/1.3, allocations: 5.415 MB / 0.9308 GB, free: 159.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.007357/1.307, allocations: 3.545 MB / 0.9343 GB, free: 155.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005198/1.312, allocations: 3.324 MB / 0.9375 GB, free: 152.4 MB / 0.6544 GB Notification: Performance of SimCode: time 1.222e-06/1.312, allocations: 0 / 0.9375 GB, free: 152.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1277/1.44, allocations: 91.78 MB / 1.027 GB, free: 60.93 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.14/24.58, allocations: 0 / 1.027 GB, free: 60.93 MB / 0.6544 GB " [Timeout remaining time 635] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 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: 27.592455002944916] 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]'] 24.710716663859785 24.729051285 24.293161878 Calling exit ...