Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.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.Spherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002285/0.002285, allocations: 198.1 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 227.2 MB / 245 MB, free: 5.773 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009953/0.0009952, allocations: 99.8 kB / 297.3 MB, free: 5.941 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3971/0.3971, allocations: 45.23 MB / 394.6 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002731/0.0002733, allocations: 12.2 kB / 468.5 MB, free: 7.602 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4039, allocations: 63.24 MB / 0.5193 GB, free: 37.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.158/0.562, allocations: 104.2 MB / 0.621 GB, free: 15.2 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/0.5623, allocations: 87.92 kB / 0.6211 GB, free: 15.11 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5009/1.063, allocations: 86.94 MB / 0.706 GB, free: 103.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.974e-06/1.063, allocations: 3.391 kB / 0.706 GB, free: 103.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002005/1.064, allocations: 65.84 kB / 0.7061 GB, free: 103.8 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: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.02383/1.087, allocations: 4.116 MB / 0.7101 GB, free: 102 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.01e-05/1.087, allocations: 9.438 kB / 0.7101 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003438/1.091, allocations: 0.7634 MB / 0.7109 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03351/1.124, allocations: 6.442 MB / 0.7172 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01988/1.144, allocations: 4.573 MB / 0.7216 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003324/1.145, allocations: 276.8 kB / 0.7219 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002333/1.147, allocations: 366.4 kB / 0.7222 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03111/1.178, allocations: 10.44 MB / 0.7324 GB, free: 96.76 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002697/1.179, allocations: 31.53 kB / 0.7325 GB, free: 96.74 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002031/1.181, allocations: 174.9 kB / 0.7326 GB, free: 96.65 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002189/1.183, allocations: 1.148 MB / 0.7337 GB, free: 96.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02987/1.213, allocations: 10.12 MB / 0.7436 GB, free: 93.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05577/1.269, allocations: 37.4 MB / 0.7802 GB, free: 60.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0102/1.279, allocations: 5.585 MB / 0.7856 GB, free: 54.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/1.28, allocations: 1.885 MB / 0.7874 GB, free: 52.42 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/1.28, allocations: 52.56 kB / 0.7875 GB, free: 52.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=224): time 6.222e-06/1.28, allocations: 0 / 0.7875 GB, free: 52.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=231): time 0.03193/1.312, allocations: 15.45 MB / 0.8026 GB, free: 36.69 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000958/1.313, allocations: 1.527 MB / 0.8041 GB, free: 35.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004143/1.317, allocations: 2.497 MB / 0.8065 GB, free: 32.51 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000641/1.318, allocations: 56.38 kB / 0.8066 GB, free: 32.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001401/1.319, allocations: 2.676 MB / 0.8092 GB, free: 29.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009849/1.32, allocations: 0.8562 MB / 0.81 GB, free: 28.92 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002511/1.321, allocations: 107.9 kB / 0.8101 GB, free: 28.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000252/1.321, allocations: 0.5453 MB / 0.8107 GB, free: 28.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003028/1.324, allocations: 2.607 MB / 0.8132 GB, free: 25.65 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004225/1.328, allocations: 5.589 MB / 0.8187 GB, free: 18.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004164/1.332, allocations: 3.798 MB / 0.8224 GB, free: 14.79 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-05/1.333, allocations: 32 kB / 0.8224 GB, free: 14.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.05517/1.388, allocations: 17.07 MB / 0.8391 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.738e-05/1.388, allocations: 48 kB / 0.8391 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0413/1.429, allocations: 10.61 MB / 0.8495 GB, free: 2.973 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04362/1.473, allocations: 8.651 MB / 0.8579 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004621/1.477, allocations: 1.248 MB / 0.8591 GB, free: 9.047 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0279/1.505, allocations: 16.86 MB / 0.8756 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004737/1.51, allocations: 419.5 kB / 0.876 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009872/1.511, allocations: 322.9 kB / 0.8763 GB, free: 7.203 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * Number of states: 0 () * Number of discrete variables: 24 (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],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (652): * Single equations (assignments): 641 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.003636/1.515, allocations: 2.017 MB / 0.8783 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004627/1.515, allocations: 276.4 kB / 0.8785 GB, free: 4.902 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3391/1.854, allocations: 5.102 MB / 0.8835 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009733/1.864, allocations: 4.39 MB / 0.8878 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-05/1.864, allocations: 4.734 kB / 0.8878 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.117e-05/1.864, allocations: 10.97 kB / 0.8878 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02258/1.887, allocations: 12.97 MB / 0.9005 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.681e-05/1.887, allocations: 7.531 kB / 0.9005 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001806/1.889, allocations: 406.6 kB / 0.9009 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003427/1.892, allocations: 0.9386 MB / 0.9018 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003585/1.893, allocations: 50.17 kB / 0.9019 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007874/1.901, allocations: 5.553 MB / 0.9073 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009315/1.901, allocations: 1.464 MB / 0.9087 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01415/1.916, allocations: 8.348 MB / 0.9169 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001295/1.917, allocations: 334.3 kB / 0.9172 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004671/1.917, allocations: 45.36 kB / 0.9172 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/1.919, allocations: 198.6 kB / 0.9174 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003866/1.919, allocations: 147.5 kB / 0.9176 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002091/1.92, allocations: 69.78 kB / 0.9176 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002924/1.923, allocations: 1.707 MB / 0.9193 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.7e-07/1.923, allocations: 0 / 0.9193 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005177/1.928, allocations: 1.113 MB / 0.9204 GB, free: 126.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01179/1.94, allocations: 10.94 MB / 0.9311 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01069/1.95, allocations: 6.485 MB / 0.9374 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.917e-05/1.95, allocations: 3.469 kB / 0.9374 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003669/1.954, allocations: 2.531 MB / 0.9399 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002444/1.957, allocations: 336.3 kB / 0.9402 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1153/2.072, allocations: 110 MB / 1.048 GB, free: 21.96 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004186/2.076, allocations: 3.246 MB / 1.051 GB, free: 19.45 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004883/2.081, allocations: 2.064 MB / 1.053 GB, free: 18.13 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002597/2.084, allocations: 1.667 MB / 1.054 GB, free: 16.59 MB / 0.5261 GB Notification: Performance of SimCode: time 1.954e-06/2.084, allocations: 0 / 1.054 GB, free: 16.59 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.388/2.472, allocations: 79.5 MB / 1.132 GB, free: 146.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/2.472, allocations: 203.9 kB / 1.132 GB, free: 145.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.155/6.627, allocations: 0 / 1.132 GB, free: 145.8 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Spherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical_res.mat does not exist to compare? outputFormat=mat