Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001123/0.001123, allocations: 202.8 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 225.6 MB / 234.8 MB, free: 3.227 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009337/0.000934, allocations: 99.94 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1979/0.1979, allocations: 45.15 MB / 383.8 MB, free: 216 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.888e-05/1.89e-05, allocations: 0 / 453.3 MB, free: 75.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1201, allocations: 63.25 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4601/0.5802, allocations: 108.7 MB / 0.6106 GB, free: 10.05 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/0.5806, allocations: 78.33 kB / 0.6107 GB, free: 10.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2134/0.794, allocations: 83.41 MB / 0.6922 GB, free: 14.69 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.794, allocations: 0 / 0.6922 GB, free: 14.69 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002525/0.7943, allocations: 87.94 kB / 0.6922 GB, free: 14.61 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1478 * Number of variables: 1478 Notification: Performance of Generate backend data structure: time 0.01144/0.8058, allocations: 3.896 MB / 0.696 GB, free: 10.65 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.8058, allocations: 8.031 kB / 0.696 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01132/0.8172, allocations: 2.385 MB / 0.6984 GB, free: 8.246 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01233/0.8295, allocations: 4.395 MB / 0.7027 GB, free: 3.785 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002813/0.8299, allocations: 132 kB / 0.7028 GB, free: 3.656 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002436/0.8323, allocations: 243.9 kB / 0.703 GB, free: 3.418 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01249/0.8448, allocations: 5.959 MB / 0.7088 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01837/0.8632, allocations: 9.227 MB / 0.7179 GB, free: 3.176 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001594/0.8634, allocations: 59.41 kB / 0.7179 GB, free: 3.117 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005599/0.864, allocations: 32 kB / 0.7179 GB, free: 3.086 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001336/0.8653, allocations: 0.9906 MB / 0.7189 GB, free: 2.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3498/1.215, allocations: 47.39 MB / 0.7652 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003535/1.219, allocations: 2.512 MB / 0.7676 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001786/1.221, allocations: 1.445 MB / 0.7691 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008414/1.221, allocations: 0.9929 MB / 0.77 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/1.222, allocations: 52.97 kB / 0.7701 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=150): time 3.988e-06/1.222, allocations: 0 / 0.7701 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=169): time 0.02894/1.25, allocations: 13.77 MB / 0.7835 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/1.251, allocations: 140.9 kB / 0.7837 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004125/1.255, allocations: 3.034 MB / 0.7866 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003087/1.255, allocations: 25.7 kB / 0.7866 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00161/1.257, allocations: 3.134 MB / 0.7897 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007046/1.257, allocations: 0.6658 MB / 0.7904 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/1.258, allocations: 0 / 0.7904 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002827/1.258, allocations: 0.5705 MB / 0.7909 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002191/1.26, allocations: 1.914 MB / 0.7928 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003929/1.264, allocations: 5.746 MB / 0.7984 GB, free: 97.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004091/1.268, allocations: 3.299 MB / 0.8016 GB, free: 97 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.705e-05/1.268, allocations: 41.66 kB / 0.8016 GB, free: 97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=813) (initialization): time 0.01514/1.283, allocations: 7.571 MB / 0.809 GB, free: 95.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/1.283, allocations: 71.03 kB / 0.8091 GB, free: 95.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004452/1.288, allocations: 2.508 MB / 0.8116 GB, free: 94.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003215/1.291, allocations: 1.119 MB / 0.8127 GB, free: 94.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004596/1.296, allocations: 1.422 MB / 0.814 GB, free: 94.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004135/1.3, allocations: 4.492 MB / 0.8184 GB, free: 91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004953/1.305, allocations: 273.6 kB / 0.8187 GB, free: 90.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001343/1.306, allocations: 385.4 kB / 0.8191 GB, free: 90.93 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (775): * Single equations (assignments): 766 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009741/1.307, allocations: 466.5 kB / 0.8195 GB, free: 90.55 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005394/1.313, allocations: 3.235 MB / 0.8227 GB, free: 89.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006807/1.313, allocations: 321.8 kB / 0.823 GB, free: 89.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005306/1.319, allocations: 2.876 MB / 0.8258 GB, free: 88.37 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004287/1.323, allocations: 2.444 MB / 0.8282 GB, free: 87.63 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.547e-05/1.323, allocations: 0 / 0.8282 GB, free: 87.63 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.792e-05/1.323, allocations: 11.41 kB / 0.8282 GB, free: 87.63 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01648/1.34, allocations: 8.876 MB / 0.8368 GB, free: 84.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/1.34, allocations: 3.219 kB / 0.8368 GB, free: 84.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/1.341, allocations: 271.6 kB / 0.8371 GB, free: 84.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002706/1.344, allocations: 0.9952 MB / 0.8381 GB, free: 84.06 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/1.344, allocations: 26.09 kB / 0.8381 GB, free: 84.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004276/1.348, allocations: 4.687 MB / 0.8427 GB, free: 80.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006368/1.349, allocations: 1.39 MB / 0.844 GB, free: 79.35 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006679/1.355, allocations: 5.726 MB / 0.8496 GB, free: 74.21 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009046/1.356, allocations: 375.4 kB / 0.85 GB, free: 73.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003345/1.357, allocations: 8 kB / 0.85 GB, free: 73.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/1.358, allocations: 105.7 kB / 0.8501 GB, free: 73.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002134/1.358, allocations: 117.7 kB / 0.8502 GB, free: 73.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/1.358, allocations: 51.75 kB / 0.8503 GB, free: 73.65 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002571/1.361, allocations: 2.004 MB / 0.8522 GB, free: 71.92 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/1.361, allocations: 0 / 0.8522 GB, free: 71.92 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004614/1.366, allocations: 0.907 MB / 0.8531 GB, free: 71.02 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 128 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007091/1.373, allocations: 7.367 MB / 0.8603 GB, free: 64.27 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007907/1.381, allocations: 5.185 MB / 0.8654 GB, free: 59.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/1.381, allocations: 0 / 0.8654 GB, free: 59.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003337/1.384, allocations: 2.091 MB / 0.8674 GB, free: 57.77 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/1.387, allocations: 359.9 kB / 0.8677 GB, free: 57.47 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0212/1.408, allocations: 8.941 MB / 0.8765 GB, free: 49.72 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002775/1.411, allocations: 3.274 MB / 0.8797 GB, free: 47.22 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004543/1.415, allocations: 1.969 MB / 0.8816 GB, free: 46 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002224/1.417, allocations: 1.822 MB / 0.8834 GB, free: 44.32 MB / 0.5261 GB Notification: Performance of SimCode: time 1.142e-06/1.417, allocations: 1.641 kB / 0.8834 GB, free: 44.32 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1147/1.532, allocations: 70.24 MB / 0.952 GB, free: 9.188 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000309/1.532, allocations: 131.6 kB / 0.9521 GB, free: 8.992 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.882/5.415, allocations: 0 / 0.9521 GB, free: 8.992 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape_res.mat does not exist to compare? outputFormat=mat