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.001791/0.001792, allocations: 117.4 kB / 18.45 MB, free: 4.613 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.002001/0.002001, allocations: 210.5 kB / 21.41 MB, free: 1.66 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.441/1.441, allocations: 227.5 MB / 251.7 MB, free: 80 kB / 190.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.2229/0.2229, allocations: 46.16 MB / 351.1 MB, free: 14.32 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.00255/0.002551, allocations: 77.8 kB / 489.7 MB, free: 28.37 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1069, allocations: 62.45 MB / 0.5392 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01861/0.1255, allocations: 16.92 MB / 0.5557 GB, free: 3.793 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008766/0.1343, allocations: 3.952 MB / 0.5596 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002579/0.1369, allocations: 95.81 kB / 0.5596 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004942/0.142, allocations: 2.191 MB / 0.5618 GB, free: 13.53 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006276/0.1483, allocations: 2.498 MB / 0.5642 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.1493, allocations: 295.5 kB / 0.5645 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009779/0.1591, allocations: 6.535 MB / 0.5709 GB, free: 4.188 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005478/0.1647, allocations: 3.326 MB / 0.5741 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003749/0.1684, allocations: 2.129 MB / 0.5762 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00444/0.1729, allocations: 2.775 MB / 0.5789 GB, free: 11.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00152/0.1745, allocations: 392 kB / 0.5793 GB, free: 11.51 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002537/0.177, allocations: 0.7998 MB / 0.5801 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003601/0.1807, allocations: 2.742 MB / 0.5828 GB, free: 7.957 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005261/0.1859, allocations: 3.31 MB / 0.586 GB, free: 4.625 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01318/0.1991, allocations: 10.65 MB / 0.5964 GB, free: 9.93 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.1992, allocations: 0 / 0.5964 GB, free: 9.93 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1992, allocations: 0 / 0.5964 GB, free: 9.93 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000379/0.1996, allocations: 0 / 0.5964 GB, free: 9.93 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.01446/0.214, allocations: 7.168 MB / 0.6034 GB, free: 2.668 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.2141, allocations: 15.97 kB / 0.6034 GB, free: 2.652 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002564/0.2167, allocations: 1.28 MB / 0.6047 GB, free: 1.363 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2426/0.4593, allocations: 5.898 MB / 0.6104 GB, free: 54.36 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006557/0.4659, allocations: 3.304 MB / 0.6136 GB, free: 53.57 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002667/0.4662, allocations: 327.4 kB / 0.614 GB, free: 53.5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001305/0.4675, allocations: 418.2 kB / 0.6143 GB, free: 53.44 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02472/0.4922, allocations: 18.89 MB / 0.6328 GB, free: 44.31 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001113/0.4924, allocations: 39.5 kB / 0.6328 GB, free: 44.28 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008269/0.4932, allocations: 203.4 kB / 0.633 GB, free: 44.11 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005653/0.4989, allocations: 4.746 MB / 0.6377 GB, free: 39.35 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02677/0.5257, allocations: 17.54 MB / 0.6548 GB, free: 21.8 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08713/0.6129, allocations: 60.99 MB / 0.7143 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01597/0.6289, allocations: 8.419 MB / 0.7226 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004306/0.6332, allocations: 2.583 MB / 0.7251 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02347/0.6567, allocations: 11.9 MB / 0.7367 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.508e-05/0.6568, allocations: 64.56 kB / 0.7368 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=321): time 7.414e-06/0.6568, allocations: 0 / 0.7368 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=321): time 0.01904/0.6759, allocations: 7.534 MB / 0.7441 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.994e-05/0.676, allocations: 103.1 kB / 0.7442 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01008/0.6861, allocations: 5.681 MB / 0.7498 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004917/0.6866, allocations: 65.69 kB / 0.7498 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004543/0.6912, allocations: 5.289 MB / 0.755 GB, free: 13.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001745/0.693, allocations: 1.252 MB / 0.7562 GB, free: 11.81 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004323/0.6973, allocations: 1.925 MB / 0.7581 GB, free: 9.871 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.6974, allocations: 305.1 kB / 0.7584 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005622/0.7031, allocations: 3.208 MB / 0.7615 GB, free: 6.355 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0107/0.7138, allocations: 8.654 MB / 0.77 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01718/0.731, allocations: 12.9 MB / 0.7826 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002489/0.7313, allocations: 68.8 kB / 0.7826 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02221/0.7535, allocations: 11.66 MB / 0.794 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002146/0.7538, allocations: 84 kB / 0.7941 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003225/0.7541, allocations: 192 kB / 0.7943 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003166/0.7545, allocations: 255.9 kB / 0.7945 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00693/0.7614, allocations: 2.07 MB / 0.7966 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000399/0.7618, allocations: 375.2 kB / 0.7969 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006737/0.7686, allocations: 1.357 MB / 0.7982 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001517/0.7701, allocations: 0.5547 MB / 0.7988 GB, free: 10.84 MB / 0.5919 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.006746/0.7769, allocations: 3.71 MB / 0.8024 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/0.7779, allocations: 0.5043 MB / 0.8029 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/0.7797, allocations: 0.6449 MB / 0.8035 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001091/0.7799, allocations: 59.97 kB / 0.8036 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/0.7799, allocations: 0 / 0.8036 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.988e-05/0.7799, allocations: 11.95 kB / 0.8036 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02634/0.8063, allocations: 12.64 MB / 0.8159 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-05/0.8063, allocations: 12 kB / 0.8159 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001985/0.8083, allocations: 431.2 kB / 0.8164 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.601e-05/0.8084, allocations: 28.03 kB / 0.8164 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000306/0.8087, allocations: 52 kB / 0.8164 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.229e-05/0.8087, allocations: 31.92 kB / 0.8165 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.871e-05/0.8088, allocations: 23.88 kB / 0.8165 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006642/0.8154, allocations: 4.66 MB / 0.821 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/0.8165, allocations: 0.5829 MB / 0.8216 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008947/0.8175, allocations: 59.97 kB / 0.8217 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001889/0.8194, allocations: 123.9 kB / 0.8218 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003971/0.8198, allocations: 176.8 kB / 0.822 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002202/0.82, allocations: 104 kB / 0.8221 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00641/0.8264, allocations: 3.486 MB / 0.8255 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.41e-07/0.8264, allocations: 0 / 0.8255 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.008109/0.8346, allocations: 1.975 MB / 0.8274 GB, free: 13 MB / 0.6231 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.00813/0.8427, allocations: 5.336 MB / 0.8326 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01259/0.8553, allocations: 7.347 MB / 0.8398 GB, free: 116 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.767e-05/0.8554, allocations: 4 kB / 0.8398 GB, free: 112 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.2447/1.1, allocations: 1.999 MB / 0.8417 GB, free: 213 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00343/1.104, allocations: 0.6288 MB / 0.8423 GB, free: 213 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08943/1.193, allocations: 68.35 MB / 0.9091 GB, free: 158.7 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00827/1.201, allocations: 5.415 MB / 0.9144 GB, free: 153.2 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.007122/1.208, allocations: 3.543 MB / 0.9178 GB, free: 149.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004536/1.213, allocations: 3.323 MB / 0.9211 GB, free: 146.4 MB / 0.6231 GB Notification: Performance of SimCode: time 8.12e-07/1.213, allocations: 0 / 0.9211 GB, free: 146.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1208/1.334, allocations: 91.15 MB / 1.01 GB, free: 55.55 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.37/24.7, allocations: 22.17 kB / 1.01 GB, free: 55.54 MB / 0.6231 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 & /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: 27.628915461013094] 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.83546439302154 24.851301375 24.649128524 Calling exit ...