Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.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.001763/0.001763, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002262/0.002262, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.481/1.481, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2283/0.2283, allocations: 46.93 MB / 361.6 MB, free: 4.219 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.FixedTranslation,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_FixedTranslation",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.002304/0.002304, allocations: 87.86 kB / 0.497 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3277, allocations: 66.08 MB / 0.5615 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01398/0.3417, allocations: 11.45 MB / 0.5727 GB, free: 8.824 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006772/0.3484, allocations: 2.866 MB / 0.5755 GB, free: 5.949 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002441/0.3509, allocations: 59.81 kB / 0.5755 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003183/0.354, allocations: 1.358 MB / 0.5769 GB, free: 4.527 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003257/0.3573, allocations: 1.284 MB / 0.5781 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.3577, allocations: 83.84 kB / 0.5782 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003855/0.3615, allocations: 2.76 MB / 0.5809 GB, free: 400 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002283/0.3638, allocations: 1.623 MB / 0.5825 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001731/0.3655, allocations: 1.078 MB / 0.5835 GB, free: 13.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002419/0.368, allocations: 1.643 MB / 0.5851 GB, free: 12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004592/0.3684, allocations: 208 kB / 0.5853 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.3696, allocations: 0.5032 MB / 0.5858 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001553/0.3711, allocations: 1.464 MB / 0.5873 GB, free: 9.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001929/0.373, allocations: 1.715 MB / 0.5889 GB, free: 8.094 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007097/0.3801, allocations: 5.522 MB / 0.5943 GB, free: 2.547 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.3801, allocations: 0 / 0.5943 GB, free: 2.547 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3801, allocations: 0 / 0.5943 GB, free: 2.547 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000155/0.3803, allocations: 3.938 kB / 0.5943 GB, free: 2.543 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1477 * Number of variables: 1477 Notification: Performance of Generate backend data structure: time 0.007308/0.3876, allocations: 3.659 MB / 0.5979 GB, free: 14.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.3877, allocations: 8.031 kB / 0.5979 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001015/0.3887, allocations: 0.6836 MB / 0.5986 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009865/0.3985, allocations: 3.001 MB / 0.6015 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003818/0.4024, allocations: 1.5 MB / 0.603 GB, free: 9.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001997/0.4026, allocations: 172.7 kB / 0.6031 GB, free: 9.418 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007856/0.4033, allocations: 231.8 kB / 0.6034 GB, free: 9.191 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01633/0.4197, allocations: 9.698 MB / 0.6128 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.976e-05/0.4197, allocations: 23.75 kB / 0.6129 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003299/0.4201, allocations: 111.8 kB / 0.613 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004003/0.4241, allocations: 2.439 MB / 0.6153 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01777/0.4418, allocations: 8.81 MB / 0.6239 GB, free: 3.648 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04579/0.4876, allocations: 30.5 MB / 0.6537 GB, free: 4.316 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005074/0.4927, allocations: 2.271 MB / 0.656 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/0.494, allocations: 0.8555 MB / 0.6568 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.526e-05/0.4941, allocations: 16.97 kB / 0.6568 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.4941, allocations: 51.5 kB / 0.6569 GB, free: 1.098 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 3.517e-06/0.4941, allocations: 0 / 0.6569 GB, free: 1.098 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.007679/0.5018, allocations: 3.379 MB / 0.6602 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.5019, allocations: 68.34 kB / 0.6602 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00496/0.5068, allocations: 3.123 MB / 0.6633 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001374/0.507, allocations: 41.7 kB / 0.6633 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002367/0.5093, allocations: 2.79 MB / 0.666 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007522/0.5101, allocations: 0.5892 MB / 0.6666 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001333/0.5114, allocations: 0.9845 MB / 0.6676 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.5116, allocations: 305.1 kB / 0.6679 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002528/0.5141, allocations: 1.528 MB / 0.6694 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005141/0.5193, allocations: 4.451 MB / 0.6737 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01095/0.5302, allocations: 6.539 MB / 0.6801 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001175/0.5303, allocations: 32 kB / 0.6801 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01735/0.5477, allocations: 5.833 MB / 0.6858 GB, free: 448 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001441/0.5478, allocations: 48 kB / 0.6859 GB, free: 400 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002125/0.548, allocations: 108 kB / 0.686 GB, free: 292 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002396/0.5483, allocations: 136.8 kB / 0.6861 GB, free: 156 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005614/0.5539, allocations: 1.06 MB / 0.6871 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002859/0.5542, allocations: 207.2 kB / 0.6873 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005853/0.56, allocations: 0.6978 MB / 0.688 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009104/0.5609, allocations: 303.9 kB / 0.6883 GB, free: 13.89 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 470 * Number of states: 0 () * Number of discrete variables: 29 (arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,arrow.color[3],arrow.color[2],arrow.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],fixed1.color[3],fixed1.color[2],fixed1.color[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],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (588): * Single equations (assignments): 582 * Array equations: 6 * 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.004818/0.5658, allocations: 1.935 MB / 0.6902 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006863/0.5664, allocations: 274.1 kB / 0.6904 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008915/0.5673, allocations: 331.8 kB / 0.6908 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.502e-05/0.5674, allocations: 23.94 kB / 0.6908 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.807e-05/0.5674, allocations: 3.984 kB / 0.6908 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.5674, allocations: 3.984 kB / 0.6908 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01432/0.5817, allocations: 6.862 MB / 0.6975 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.5818, allocations: 4 kB / 0.6975 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007575/0.5825, allocations: 179.7 kB / 0.6977 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.426e-05/0.5825, allocations: 8 kB / 0.6977 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.752e-05/0.5826, allocations: 31.94 kB / 0.6977 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.489e-05/0.5826, allocations: 12 kB / 0.6977 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.878e-06/0.5826, allocations: 11.94 kB / 0.6977 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00322/0.5859, allocations: 2.273 MB / 0.6999 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007651/0.5866, allocations: 289.8 kB / 0.7002 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002855/0.5869, allocations: 31.92 kB / 0.7003 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007208/0.5876, allocations: 39.97 kB / 0.7003 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.5878, allocations: 80.41 kB / 0.7004 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.5879, allocations: 55.97 kB / 0.7004 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003273/0.5912, allocations: 1.975 MB / 0.7024 GB, free: 15.21 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5912, allocations: 0 / 0.7024 GB, free: 15.21 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003857/0.595, allocations: 1.009 MB / 0.7033 GB, free: 14.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (100): * Single equations (assignments): 94 * Array equations: 6 * 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.003614/0.5986, allocations: 2.911 MB / 0.7062 GB, free: 11.17 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005915/0.6046, allocations: 3.438 MB / 0.7095 GB, free: 7.762 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.6046, allocations: 0 / 0.7095 GB, free: 7.762 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.6058, allocations: 0.8603 MB / 0.7104 GB, free: 6.902 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001766/0.6076, allocations: 325.2 kB / 0.7107 GB, free: 6.586 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3013/0.9089, allocations: 33.51 MB / 0.7434 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002443/0.9113, allocations: 3.012 MB / 0.7464 GB, free: 147 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002881/0.9142, allocations: 1.716 MB / 0.748 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00154/0.9157, allocations: 1.537 MB / 0.7495 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.122e-06/0.9157, allocations: 4 kB / 0.7495 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07358/0.9893, allocations: 49.8 MB / 0.7982 GB, free: 96.53 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.13/17.12, allocations: 7.938 kB / 0.7982 GB, free: 96.52 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_FixedTranslation_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.03823510510847] Failed to read output from testmodel.py, exit status != 0: ['time', 'fixedTranslation.frame_b.r_0[1]', 'fixedTranslation.frame_b.r_0[2]', 'fixedTranslation.frame_b.r_0[3]', 'fixedTranslation.frame_b.f[1]', 'fixedTranslation.frame_b.f[2]', 'fixedTranslation.frame_b.f[3]', 'fixedTranslation.frame_b.t[1]', 'fixedTranslation.frame_b.t[2]', 'fixedTranslation.frame_b.t[3]', 'fixed1.frame_b.r_0[1]', 'fixed1.frame_b.r_0[2]', 'fixed1.frame_b.r_0[3]', 'fixed1.frame_b.f[1]', 'fixed1.frame_b.f[2]', 'fixed1.frame_b.f[3]', 'fixed1.frame_b.t[1]', 'fixed1.frame_b.t[2]', 'fixed1.frame_b.t[3]'] 17.222078560851514 17.232840176 16.85002169 Calling exit ...