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.001703/0.001703, allocations: 112.3 kB / 20.22 MB, free: 1.793 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.002036/0.002036, allocations: 214.1 kB / 23.48 MB, free: 5.223 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.551/1.551, allocations: 230.2 MB / 256.8 MB, free: 8.555 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.2522/0.2522, allocations: 46.88 MB / 360 MB, free: 4.691 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.002228/0.002228, allocations: 83.86 kB / 0.4951 GB, free: 8.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3027, allocations: 66 MB / 0.5595 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01425/0.317, allocations: 11.44 MB / 0.5707 GB, free: 9.473 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006474/0.3235, allocations: 2.866 MB / 0.5735 GB, free: 6.594 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.325, allocations: 55.94 kB / 0.5735 GB, free: 6.539 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00286/0.3279, allocations: 1.358 MB / 0.5749 GB, free: 5.176 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002858/0.3307, allocations: 1.28 MB / 0.5761 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.3311, allocations: 79.91 kB / 0.5762 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003682/0.3348, allocations: 2.756 MB / 0.5789 GB, free: 1.051 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002333/0.3371, allocations: 1.405 MB / 0.5803 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001757/0.3389, allocations: 1.055 MB / 0.5813 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002519/0.3414, allocations: 1.65 MB / 0.5829 GB, free: 12.9 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006335/0.342, allocations: 208 kB / 0.5831 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.3433, allocations: 0.4954 MB / 0.5836 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00171/0.345, allocations: 1.468 MB / 0.585 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00183/0.3468, allocations: 1.711 MB / 0.5867 GB, free: 9.004 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006019/0.3529, allocations: 5.518 MB / 0.5921 GB, free: 3.461 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3529, allocations: 4 kB / 0.5921 GB, free: 3.457 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3529, allocations: 0 / 0.5921 GB, free: 3.457 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000115/0.353, allocations: 0 / 0.5921 GB, free: 3.457 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.005942/0.3589, allocations: 3.742 MB / 0.5957 GB, free: 15.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.359, allocations: 12.03 kB / 0.5958 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009634/0.3599, allocations: 0.6835 MB / 0.5964 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009953/0.3699, allocations: 2.993 MB / 0.5993 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003886/0.3738, allocations: 1.561 MB / 0.6009 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/0.3739, allocations: 176.7 kB / 0.601 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000578/0.3745, allocations: 223.8 kB / 0.6012 GB, free: 9.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01512/0.3896, allocations: 9.698 MB / 0.6107 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.166e-05/0.3897, allocations: 19.81 kB / 0.6107 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000349/0.39, allocations: 107.8 kB / 0.6108 GB, free: 15.67 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004022/0.3941, allocations: 2.439 MB / 0.6132 GB, free: 13.22 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01712/0.4112, allocations: 8.812 MB / 0.6218 GB, free: 4.391 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04674/0.4579, allocations: 30.6 MB / 0.6517 GB, free: 4.973 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005713/0.4636, allocations: 3.183 MB / 0.6548 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.4649, allocations: 0.8593 MB / 0.6557 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.441e-05/0.465, allocations: 12.98 kB / 0.6557 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.076e-05/0.4651, allocations: 51.5 kB / 0.6557 GB, free: 0.625 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 3.927e-06/0.4651, allocations: 0 / 0.6557 GB, free: 0.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.007678/0.4727, allocations: 3.383 MB / 0.659 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.4728, allocations: 68.34 kB / 0.6591 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005/0.4778, allocations: 3.119 MB / 0.6621 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001841/0.478, allocations: 41.7 kB / 0.6622 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00237/0.4803, allocations: 2.791 MB / 0.6649 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007843/0.4811, allocations: 0.5931 MB / 0.6655 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001369/0.4825, allocations: 0.9806 MB / 0.6664 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001965/0.4827, allocations: 305.1 kB / 0.6667 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002384/0.4851, allocations: 1.524 MB / 0.6682 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005095/0.4902, allocations: 4.455 MB / 0.6726 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0088/0.499, allocations: 6.535 MB / 0.679 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001289/0.4991, allocations: 32 kB / 0.679 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01122/0.5103, allocations: 5.837 MB / 0.6847 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.094e-05/0.5104, allocations: 50.34 kB / 0.6847 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001401/0.5105, allocations: 104 kB / 0.6848 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001551/0.5107, allocations: 136 kB / 0.685 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003404/0.5141, allocations: 1.065 MB / 0.686 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002189/0.5143, allocations: 199.2 kB / 0.6862 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003645/0.518, allocations: 0.7018 MB / 0.6869 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006436/0.5186, allocations: 300 kB / 0.6872 GB, free: 13.42 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.003538/0.5221, allocations: 1.946 MB / 0.6891 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005262/0.5227, allocations: 270.1 kB / 0.6893 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007854/0.5235, allocations: 335.8 kB / 0.6896 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.587e-05/0.5235, allocations: 19.94 kB / 0.6897 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/0.5235, allocations: 0 / 0.6897 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.5235, allocations: 3.984 kB / 0.6897 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01253/0.5361, allocations: 6.874 MB / 0.6964 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/0.5361, allocations: 8.125 kB / 0.6964 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007806/0.5369, allocations: 175.7 kB / 0.6966 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.178e-05/0.5369, allocations: 15.98 kB / 0.6966 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.896e-05/0.537, allocations: 35.88 kB / 0.6966 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.141e-05/0.537, allocations: 8 kB / 0.6966 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/0.537, allocations: 11.94 kB / 0.6966 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003071/0.54, allocations: 2.269 MB / 0.6988 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007622/0.5408, allocations: 366.9 kB / 0.6992 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002592/0.5411, allocations: 35.92 kB / 0.6992 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007059/0.5418, allocations: 39.97 kB / 0.6993 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.5419, allocations: 76.44 kB / 0.6993 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.542, allocations: 59.92 kB / 0.6994 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003152/0.5452, allocations: 1.979 MB / 0.7013 GB, free: 14.61 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.5452, allocations: 0 / 0.7013 GB, free: 14.61 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003686/0.5489, allocations: 1.001 MB / 0.7023 GB, free: 13.61 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.003625/0.5525, allocations: 2.919 MB / 0.7051 GB, free: 10.58 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00565/0.5582, allocations: 3.426 MB / 0.7085 GB, free: 7.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/0.5582, allocations: 4.062 kB / 0.7085 GB, free: 7.176 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001235/0.5594, allocations: 0.8643 MB / 0.7093 GB, free: 6.316 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/0.5611, allocations: 325.1 kB / 0.7097 GB, free: 6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2864/0.8475, allocations: 33.52 MB / 0.7424 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002553/0.85, allocations: 3.015 MB / 0.7453 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002848/0.8529, allocations: 1.719 MB / 0.747 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001609/0.8545, allocations: 1.537 MB / 0.7485 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.643e-06/0.8545, allocations: 0 / 0.7485 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08031/0.9348, allocations: 46.1 MB / 0.7935 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.17/16.1, allocations: 15.64 kB / 0.7935 GB, free: 100.1 MB / 0.5606 GB " [Timeout remaining time 644] (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: 19.039041914977133] 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]'] 16.204987976001576 16.214019871 15.858907522 Calling exit ...