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.0009944/0.0009943, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.229/1.229, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008172/0.0008172, allocations: 88.58 kB / 292.1 MB, free: 5.922 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1797/0.1797, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.956e-05/2.958e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08758/0.08762, allocations: 63.25 MB / 0.5115 GB, free: 6.695 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3515/0.4392, allocations: 104.1 MB / 0.6131 GB, free: 5.93 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.4395, allocations: 77.77 kB / 0.6132 GB, free: 5.891 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2131/0.6527, allocations: 87.03 MB / 0.6982 GB, free: 6.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.6527, allocations: 0 / 0.6982 GB, free: 6.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001878/0.6529, allocations: 75.94 kB / 0.6983 GB, free: 6.676 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.01517/0.6681, allocations: 3.958 MB / 0.7021 GB, free: 2.656 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.6681, allocations: 15.97 kB / 0.7022 GB, free: 2.641 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003398/0.6716, allocations: 0.746 MB / 0.7029 GB, free: 1.883 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02455/0.6961, allocations: 6.452 MB / 0.7092 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01198/0.7081, allocations: 4.529 MB / 0.7136 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003358/0.7085, allocations: 283.2 kB / 0.7139 GB, free: 6.559 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002063/0.7106, allocations: 375.7 kB / 0.7142 GB, free: 6.191 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02541/0.736, allocations: 10.36 MB / 0.7244 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001967/0.7362, allocations: 23.81 kB / 0.7244 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001533/0.7378, allocations: 171.8 kB / 0.7245 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001734/0.7395, allocations: 1.152 MB / 0.7257 GB, free: 9.973 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01918/0.7587, allocations: 9.981 MB / 0.7354 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.299/1.058, allocations: 37.38 MB / 0.7719 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01139/1.069, allocations: 5.571 MB / 0.7774 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003163/1.072, allocations: 2.31 MB / 0.7796 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00142/1.074, allocations: 1.874 MB / 0.7815 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/1.074, allocations: 50.41 kB / 0.7815 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=224): time 4.759e-06/1.074, allocations: 0 / 0.7815 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=231): time 0.02747/1.101, allocations: 12.37 MB / 0.7936 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009397/1.102, allocations: 1.521 MB / 0.7951 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003278/1.106, allocations: 2.479 MB / 0.7975 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004407/1.106, allocations: 53.28 kB / 0.7975 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001285/1.107, allocations: 2.68 MB / 0.8002 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00104/1.109, allocations: 0.8537 MB / 0.801 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003239/1.109, allocations: 103.5 kB / 0.8011 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002674/1.109, allocations: 0.5475 MB / 0.8016 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00286/1.112, allocations: 2.556 MB / 0.8041 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003852/1.116, allocations: 5.543 MB / 0.8095 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004198/1.12, allocations: 3.785 MB / 0.8132 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-05/1.12, allocations: 29.03 kB / 0.8133 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=724) (initialization): time 0.05709/1.177, allocations: 16.99 MB / 0.8298 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.879e-05/1.177, allocations: 49.66 kB / 0.8299 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03937/1.217, allocations: 10.56 MB / 0.8402 GB, free: 99.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04255/1.259, allocations: 8.646 MB / 0.8486 GB, free: 98.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004057/1.263, allocations: 1.248 MB / 0.8499 GB, free: 96.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02129/1.285, allocations: 15.47 MB / 0.865 GB, free: 81.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004141/1.289, allocations: 431 kB / 0.8654 GB, free: 80.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005993/1.29, allocations: 321.2 kB / 0.8657 GB, free: 80.35 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 () * 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.0007189/1.29, allocations: 0.4933 MB / 0.8662 GB, free: 79.85 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003143/1.291, allocations: 268.4 kB / 0.8664 GB, free: 79.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006906/1.298, allocations: 5.079 MB / 0.8714 GB, free: 74.48 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005769/1.303, allocations: 4.346 MB / 0.8756 GB, free: 70.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-06/1.303, allocations: 4.656 kB / 0.8756 GB, free: 70.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/1.303, allocations: 7.969 kB / 0.8756 GB, free: 70.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01743/1.321, allocations: 12.96 MB / 0.8883 GB, free: 57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/1.321, allocations: 8 kB / 0.8883 GB, free: 57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001593/1.322, allocations: 396.2 kB / 0.8887 GB, free: 56.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002545/1.325, allocations: 0.9455 MB / 0.8896 GB, free: 55.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003028/1.325, allocations: 56.55 kB / 0.8897 GB, free: 55.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004874/1.33, allocations: 5.423 MB / 0.895 GB, free: 49.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006841/1.331, allocations: 1.459 MB / 0.8964 GB, free: 48.32 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/1.341, allocations: 8.297 MB / 0.9045 GB, free: 39.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007534/1.342, allocations: 325.6 kB / 0.9048 GB, free: 39.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003995/1.342, allocations: 47.98 kB / 0.9048 GB, free: 39.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/1.344, allocations: 192.8 kB / 0.905 GB, free: 39.16 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003147/1.344, allocations: 141.6 kB / 0.9052 GB, free: 39.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001668/1.344, allocations: 71.17 kB / 0.9052 GB, free: 38.95 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00213/1.346, allocations: 1.689 MB / 0.9069 GB, free: 37.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.31e-07/1.346, allocations: 0 / 0.9069 GB, free: 37.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004187/1.351, allocations: 1.117 MB / 0.908 GB, free: 36.14 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 () * 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.009882/1.36, allocations: 10.88 MB / 0.9186 GB, free: 25.01 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008598/1.369, allocations: 6.422 MB / 0.9249 GB, free: 18.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.369, allocations: 0 / 0.9249 GB, free: 18.57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002898/1.372, allocations: 2.492 MB / 0.9273 GB, free: 16.03 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/1.374, allocations: 344.7 kB / 0.9276 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01719/1.391, allocations: 9.88 MB / 0.9373 GB, free: 5.699 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002465/1.393, allocations: 3.25 MB / 0.9405 GB, free: 2.434 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00394/1.397, allocations: 2.058 MB / 0.9425 GB, free: 384 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002183/1.399, allocations: 1.679 MB / 0.9441 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of SimCode: time 9.42e-07/1.399, allocations: 0 / 0.9441 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3478/1.747, allocations: 80.04 MB / 1.022 GB, free: 135.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001332/1.747, allocations: 174.5 kB / 1.022 GB, free: 135.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.187/4.934, allocations: 7.875 kB / 1.022 GB, free: 135.2 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