Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Joints.FreeMotion2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000825/0.0008251, allocations: 94.58 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009057/0.0009058, allocations: 190.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2213/0.2213, allocations: 45.92 MB / 344.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002554/0.0002554, allocations: 8 kB / 418.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1381, allocations: 63.47 MB / 481.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.3404/0.4786, allocations: 67.36 MB / 0.5361 GB, free: 7.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04371/0.5223, allocations: 14.29 MB / 0.5501 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02243/0.5448, allocations: 325 kB / 0.5504 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01525/0.5601, allocations: 3.525 MB / 0.5538 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03454/0.5947, allocations: 10.29 MB / 0.5639 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006716/0.6015, allocations: 0.9089 MB / 0.5648 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.08741/0.6889, allocations: 63.08 MB / 0.6264 GB, free: 3.848 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01251/0.7015, allocations: 6.271 MB / 0.6325 GB, free: 13.52 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005485/0.7071, allocations: 1.786 MB / 0.6342 GB, free: 11.73 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006308/0.7134, allocations: 2.835 MB / 0.637 GB, free: 8.883 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001442/0.7149, allocations: 204 kB / 0.6372 GB, free: 8.684 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003555/0.7185, allocations: 0.9831 MB / 0.6382 GB, free: 7.699 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003742/0.7222, allocations: 2.412 MB / 0.6405 GB, free: 5.281 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002225/0.7245, allocations: 1.174 MB / 0.6417 GB, free: 4.098 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01064/0.7351, allocations: 7.98 MB / 0.6495 GB, free: 12.1 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.7352, allocations: 0 / 0.6495 GB, free: 12.1 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.7352, allocations: 0 / 0.6495 GB, free: 12.1 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0003968/0.7356, allocations: 0 / 0.6495 GB, free: 12.1 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1982 * Number of variables: 1982 Notification: Performance of Generate backend data structure: time 0.01964/0.7553, allocations: 6.045 MB / 0.6554 GB, free: 5.973 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/0.7553, allocations: 8.031 kB / 0.6554 GB, free: 5.965 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003442/0.7588, allocations: 0.9461 MB / 0.6563 GB, free: 5.008 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1344/0.8932, allocations: 12.88 MB / 0.6689 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01148/0.9047, allocations: 4.897 MB / 0.6737 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002808/0.905, allocations: 328.5 kB / 0.674 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001215/0.9062, allocations: 451.5 kB / 0.6744 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02528/0.9315, allocations: 13.13 MB / 0.6872 GB, free: 4.355 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002588/0.9318, allocations: 67.42 kB / 0.6873 GB, free: 4.289 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006756/0.9325, allocations: 207.8 kB / 0.6875 GB, free: 4.086 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004565/0.9371, allocations: 2.593 MB / 0.69 GB, free: 1.492 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02531/0.9624, allocations: 11.26 MB / 0.701 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3702/1.333, allocations: 52.79 MB / 0.7526 GB, free: 149.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01249/1.345, allocations: 5.531 MB / 0.758 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003955/1.349, allocations: 3.369 MB / 0.7613 GB, free: 144.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000618/1.35, allocations: 0.6905 MB / 0.7619 GB, free: 143.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/1.35, allocations: 70.95 kB / 0.762 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=245): time 5.13e-06/1.35, allocations: 0 / 0.762 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=315): time 0.08434/1.434, allocations: 35.06 MB / 0.7962 GB, free: 111.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.007e-05/1.434, allocations: 269.3 kB / 0.7965 GB, free: 110.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007136/1.442, allocations: 5.214 MB / 0.8016 GB, free: 105.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009188/1.443, allocations: 77.7 kB / 0.8017 GB, free: 105.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002169/1.445, allocations: 3.96 MB / 0.8055 GB, free: 101.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001476/1.446, allocations: 1.172 MB / 0.8067 GB, free: 100.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003615/1.447, allocations: 151.8 kB / 0.8068 GB, free: 100.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002878/1.447, allocations: 0.6282 MB / 0.8074 GB, free: 99.71 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004171/1.451, allocations: 3.376 MB / 0.8107 GB, free: 96.33 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006725/1.458, allocations: 7.556 MB / 0.8181 GB, free: 86.74 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007809/1.466, allocations: 4.966 MB / 0.823 GB, free: 81.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.318e-05/1.466, allocations: 40 kB / 0.823 GB, free: 81.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.02131/1.487, allocations: 12.69 MB / 0.8354 GB, free: 68.96 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.524e-05/1.487, allocations: 68 kB / 0.8354 GB, free: 68.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001342/1.487, allocations: 144.9 kB / 0.8356 GB, free: 68.76 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00479/1.492, allocations: 2.264 MB / 0.8378 GB, free: 66.49 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005618/1.498, allocations: 1.719 MB / 0.8395 GB, free: 64.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01593/1.514, allocations: 15.29 MB / 0.8544 GB, free: 49.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006642/1.52, allocations: 451.3 kB / 0.8548 GB, free: 48.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001522/1.522, allocations: 439.9 kB / 0.8553 GB, free: 48.35 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 44 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (909): * Single equations (assignments): 904 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 24,(3,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005449/1.527, allocations: 2.775 MB / 0.858 GB, free: 45.56 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001091/1.529, allocations: 497.6 kB / 0.8584 GB, free: 45.07 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0113/1.54, allocations: 7.288 MB / 0.8656 GB, free: 37.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.527e-05/1.54, allocations: 32 kB / 0.8656 GB, free: 37.68 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.95e-05/1.54, allocations: 8 kB / 0.8656 GB, free: 37.67 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-05/1.54, allocations: 27.83 kB / 0.8656 GB, free: 37.64 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02711/1.567, allocations: 16.38 MB / 0.8816 GB, free: 21.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.529e-05/1.567, allocations: 12.16 kB / 0.8816 GB, free: 21.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002383/1.57, allocations: 0.4953 MB / 0.8821 GB, free: 20.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004424/1.574, allocations: 2.003 MB / 0.8841 GB, free: 18.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005182/1.575, allocations: 56 kB / 0.8841 GB, free: 18.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01583/1.59, allocations: 13.75 MB / 0.8976 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/1.59, allocations: 11.94 kB / 0.8976 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01906/1.61, allocations: 11.62 MB / 0.9089 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002615/1.612, allocations: 0.5415 MB / 0.9094 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001748/1.614, allocations: 60.09 kB / 0.9095 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002555/1.617, allocations: 225.8 kB / 0.9097 GB, free: 7.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006245/1.617, allocations: 209.5 kB / 0.9099 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002516/1.617, allocations: 84 kB / 0.91 GB, free: 7.625 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007864/1.625, allocations: 3.299 MB / 0.9132 GB, free: 4.344 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.21e-07/1.625, allocations: 0 / 0.9132 GB, free: 4.344 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00963/1.635, allocations: 1.484 MB / 0.9147 GB, free: 2.863 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * 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 (253): * Single equations (assignments): 248 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,46.9%) 17,(7,46.9%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3499/1.985, allocations: 12.31 MB / 0.9267 GB, free: 183.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0177/2.003, allocations: 8.411 MB / 0.9349 GB, free: 180.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.401e-05/2.003, allocations: 3 kB / 0.9349 GB, free: 180.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007816/2.011, allocations: 4.053 MB / 0.9389 GB, free: 179.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004908/2.015, allocations: 0.6742 MB / 0.9395 GB, free: 178.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09461/2.11, allocations: 55.13 MB / 0.9934 GB, free: 129.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004854/2.115, allocations: 4.328 MB / 0.9976 GB, free: 125.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006159/2.121, allocations: 2.469 MB / 1 GB, free: 123 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003367/2.125, allocations: 2.741 MB / 1.003 GB, free: 120.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.102e-06/2.125, allocations: 0 / 1.003 GB, free: 120.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4571/2.582, allocations: 119.2 MB / 1.119 GB, free: 148.7 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002459/2.582, allocations: 200.3 kB / 1.119 GB, free: 148.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.329/7.911, allocations: 0 / 1.119 GB, free: 148.4 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat does not exist to compare? outputFormat=mat