Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.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.Joints.Cylindrical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001644/0.001644, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 225.6 MB / 234.8 MB, free: 3.238 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001052/0.001052, allocations: 95.11 kB / 286.7 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2178/0.2178, allocations: 45.15 MB / 383.8 MB, free: 244 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.89e-05/1.892e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1286, allocations: 63.26 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4758/0.6045, allocations: 107.1 MB / 0.609 GB, free: 11.34 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.6049, allocations: 74.09 kB / 0.6091 GB, free: 11.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2295/0.8344, allocations: 90.21 MB / 0.6972 GB, free: 9.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.8344, allocations: 0 / 0.6972 GB, free: 9.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000265/0.8347, allocations: 83.94 kB / 0.6973 GB, free: 9.238 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01595/0.8507, allocations: 3.929 MB / 0.7011 GB, free: 5.246 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/0.8507, allocations: 8.031 kB / 0.7011 GB, free: 5.238 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01633/0.8671, allocations: 3.527 MB / 0.7046 GB, free: 1.699 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0111/0.8782, allocations: 3.745 MB / 0.7082 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002998/0.8786, allocations: 132 kB / 0.7084 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002809/0.8814, allocations: 243.9 kB / 0.7086 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01527/0.8967, allocations: 7.569 MB / 0.716 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02745/0.9242, allocations: 9.886 MB / 0.7256 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002576/0.9245, allocations: 31.7 kB / 0.7257 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001978/0.9265, allocations: 16 kB / 0.7257 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001989/0.9285, allocations: 1.219 MB / 0.7269 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3891/1.318, allocations: 34.5 MB / 0.7606 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008538/1.326, allocations: 4.365 MB / 0.7648 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00483/1.331, allocations: 2.332 MB / 0.7671 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001252/1.332, allocations: 1.319 MB / 0.7684 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/1.332, allocations: 53.41 kB / 0.7684 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=244): time 7.213e-06/1.332, allocations: 2.125 kB / 0.7684 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=256): time 0.04457/1.377, allocations: 15.58 MB / 0.7837 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/1.377, allocations: 75.53 kB / 0.7837 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004806/1.382, allocations: 2.267 MB / 0.7859 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005327/1.383, allocations: 29.11 kB / 0.786 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001848/1.384, allocations: 2.869 MB / 0.7888 GB, free: 119 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009348/1.385, allocations: 0.8961 MB / 0.7897 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/1.386, allocations: 0 / 0.7897 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002564/1.386, allocations: 0.5555 MB / 0.7902 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002563/1.388, allocations: 2.213 MB / 0.7924 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003886/1.392, allocations: 5.328 MB / 0.7976 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005382/1.398, allocations: 3.463 MB / 0.8009 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.253e-05/1.398, allocations: 30 kB / 0.801 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=757) (initialization): time 0.01233/1.41, allocations: 7.751 MB / 0.8085 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.159e-05/1.41, allocations: 56.12 kB / 0.8086 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001093/1.41, allocations: 114.7 kB / 0.8087 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002485/1.413, allocations: 0.9527 MB / 0.8096 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004088/1.417, allocations: 1.298 MB / 0.8109 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004981/1.422, allocations: 4.549 MB / 0.8153 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003976/1.426, allocations: 197.7 kB / 0.8155 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001247/1.427, allocations: 329.1 kB / 0.8158 GB, free: 108.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * Number of states: 0 () * Number of discrete variables: 35 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (696): * Single equations (assignments): 689 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001686/1.429, allocations: 398.8 kB / 0.8162 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007502/1.436, allocations: 4.395 MB / 0.8205 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006146/1.437, allocations: 274.9 kB / 0.8208 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008755/1.446, allocations: 4.928 MB / 0.8256 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.754e-05/1.446, allocations: 48.2 kB / 0.8256 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.991e-05/1.446, allocations: 3.344 kB / 0.8256 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.293e-05/1.446, allocations: 9.234 kB / 0.8256 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0189/1.465, allocations: 10.76 MB / 0.8362 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.972e-05/1.465, allocations: 15.94 kB / 0.8362 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001667/1.467, allocations: 401.7 kB / 0.8366 GB, free: 99.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002252/1.469, allocations: 0.765 MB / 0.8373 GB, free: 99.51 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002478/1.469, allocations: 18.95 kB / 0.8373 GB, free: 99.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004534/1.474, allocations: 3.866 MB / 0.8411 GB, free: 96.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.13e-05/1.474, allocations: 11.94 kB / 0.8411 GB, free: 96.09 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009603/1.484, allocations: 8.3 MB / 0.8492 GB, free: 88.38 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009177/1.484, allocations: 323.8 kB / 0.8495 GB, free: 88.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006594/1.485, allocations: 19.95 kB / 0.8495 GB, free: 88.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001637/1.487, allocations: 106.4 kB / 0.8496 GB, free: 87.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003248/1.487, allocations: 159.8 kB / 0.8498 GB, free: 87.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001777/1.487, allocations: 72.19 kB / 0.8499 GB, free: 87.81 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002848/1.49, allocations: 1.485 MB / 0.8513 GB, free: 86.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.31e-07/1.49, allocations: 2.844 kB / 0.8513 GB, free: 86.52 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005171/1.495, allocations: 0.8732 MB / 0.8522 GB, free: 85.65 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 191 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01082/1.506, allocations: 11.61 MB / 0.8635 GB, free: 74.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007475/1.514, allocations: 5.384 MB / 0.8688 GB, free: 69.85 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/1.514, allocations: 0 / 0.8688 GB, free: 69.85 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002349/1.516, allocations: 2.085 MB / 0.8708 GB, free: 67.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/1.518, allocations: 240.7 kB / 0.871 GB, free: 67.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02228/1.54, allocations: 9.753 MB / 0.8806 GB, free: 59.12 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004666/1.545, allocations: 3.467 MB / 0.8839 GB, free: 56.45 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00495/1.55, allocations: 2.08 MB / 0.886 GB, free: 55.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00287/1.553, allocations: 1.847 MB / 0.8878 GB, free: 53.42 MB / 0.5261 GB Notification: Performance of SimCode: time 1.152e-06/1.553, allocations: 0 / 0.8878 GB, free: 53.42 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1066/1.66, allocations: 65.77 MB / 0.952 GB, free: 7.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002797/1.66, allocations: 135.2 kB / 0.9521 GB, free: 7.305 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.409/5.069, allocations: 0 / 0.9521 GB, free: 7.305 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat