Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001565/0.001565, allocations: 183.5 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008916/0.0008916, allocations: 86.67 kB / 267 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.462/0.462, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.672e-05/3.683e-05, allocations: 0 / 425.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1541, allocations: 58.85 MB / 484.3 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5305/0.6847, allocations: 117.3 MB / 0.5875 GB, free: 4.582 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.685, allocations: 74.47 kB / 0.5876 GB, free: 4.547 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9297/1.615, allocations: 230.5 MB / 0.8127 GB, free: 67.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.165e-06/1.615, allocations: 0 / 0.8127 GB, free: 67.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001124/1.616, allocations: 277.5 kB / 0.813 GB, free: 67.18 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4612 * Number of variables: 4612 Notification: Performance of Generate backend data structure: time 0.05988/1.676, allocations: 13.79 MB / 0.8264 GB, free: 57.94 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/1.676, allocations: 12.03 kB / 0.8265 GB, free: 57.93 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01443/1.69, allocations: 2.814 MB / 0.8292 GB, free: 55.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04764/1.738, allocations: 10.93 MB / 0.8399 GB, free: 44.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0455/1.783, allocations: 15.54 MB / 0.8551 GB, free: 28.51 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002551/1.786, allocations: 1.084 MB / 0.8561 GB, free: 27.42 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01186/1.798, allocations: 1.456 MB / 0.8575 GB, free: 25.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5095/2.308, allocations: 32.03 MB / 0.8888 GB, free: 50.37 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001527/2.309, allocations: 151.5 kB / 0.889 GB, free: 50.37 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008156/2.317, allocations: 0.6623 MB / 0.8896 GB, free: 50.37 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005618/2.323, allocations: 2.336 MB / 0.8919 GB, free: 50.35 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06825/2.391, allocations: 25.56 MB / 0.9169 GB, free: 50.25 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2007/2.592, allocations: 130.7 MB / 1.045 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03624/2.628, allocations: 12.38 MB / 1.057 GB, free: 8.074 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008209/2.637, allocations: 5.749 MB / 1.062 GB, free: 5.504 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00448/2.641, allocations: 4.837 MB / 1.067 GB, free: 1.336 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001211/2.641, allocations: 87.47 kB / 1.067 GB, free: 1.258 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=435): time 1.346e-05/2.641, allocations: 0 / 1.067 GB, free: 1.258 MB / 0.5417 GB Notification: Performance of matching and sorting (n=569): time 0.7931/3.434, allocations: 111 MB / 1.175 GB, free: 117 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03104/3.465, allocations: 24.77 MB / 1.2 GB, free: 105.3 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02132/3.487, allocations: 8.35 MB / 1.208 GB, free: 102.3 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.002344/3.489, allocations: 114.1 kB / 1.208 GB, free: 102.2 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.008106/3.497, allocations: 8.874 MB / 1.217 GB, free: 95.42 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004735/3.502, allocations: 2.194 MB / 1.219 GB, free: 93.82 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003737/3.506, allocations: 319.3 kB / 1.219 GB, free: 93.58 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.002428/3.508, allocations: 0.9915 MB / 1.22 GB, free: 92.98 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01586/3.524, allocations: 9.22 MB / 1.229 GB, free: 89.52 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02437/3.549, allocations: 18.45 MB / 1.247 GB, free: 69.17 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02141/3.57, allocations: 12.76 MB / 1.259 GB, free: 58.46 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006139/3.571, allocations: 92 kB / 1.26 GB, free: 58.38 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2104) (initialization): time 0.09041/3.661, allocations: 36.37 MB / 1.295 GB, free: 24.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006315/3.662, allocations: 144 kB / 1.295 GB, free: 23.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.4912/4.153, allocations: 23.28 MB / 1.318 GB, free: 101.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03633/4.189, allocations: 10.93 MB / 1.329 GB, free: 101.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01506/4.204, allocations: 3.864 MB / 1.332 GB, free: 101.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06038/4.265, allocations: 51.25 MB / 1.382 GB, free: 84.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0206/4.286, allocations: 1.805 MB / 1.384 GB, free: 83.92 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00465/4.29, allocations: 0.9745 MB / 1.385 GB, free: 83.79 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1478 * Number of states: 0 () * Number of discrete variables: 78 (freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],rs3.arrowColor[3],rs3.arrowColor[2],rs3.arrowColor[1],rs2.arrowColor[3],rs2.arrowColor[2],rs2.arrowColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],sphericalSpherical1.massColor[3],sphericalSpherical1.massColor[2],sphericalSpherical1.massColor[1],sphericalSpherical1.sphereColor[3],sphericalSpherical1.sphereColor[2],sphericalSpherical1.sphereColor[1],sphericalSpherical1.rodColor[3],sphericalSpherical1.rodColor[2],sphericalSpherical1.rodColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],rs1.arrowColor[3],rs1.arrowColor[2],rs1.arrowColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (1928): * Single equations (assignments): 1899 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(4,100.0%),(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 6 {1,1,4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,82.8%) 32,(1,100.0%) 3,(4,93.8%) 20,(7,63.3%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006955/4.297, allocations: 1.308 MB / 1.386 GB, free: 83.15 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002899/4.3, allocations: 0.8817 MB / 1.387 GB, free: 83.15 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0765/4.377, allocations: 28.88 MB / 1.415 GB, free: 75.24 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06561/4.442, allocations: 27.1 MB / 1.442 GB, free: 63.06 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00012/4.443, allocations: 25.25 kB / 1.442 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001639/4.443, allocations: 27.91 kB / 1.442 GB, free: 63.01 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.135/4.578, allocations: 63.2 MB / 1.504 GB, free: 15.62 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.152e-05/4.578, allocations: 8 kB / 1.504 GB, free: 15.61 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005896/4.584, allocations: 1.016 MB / 1.505 GB, free: 14.64 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4309/5.015, allocations: 15.68 MB / 1.52 GB, free: 110.9 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002054/5.017, allocations: 174 kB / 1.52 GB, free: 110.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08468/5.101, allocations: 64.66 MB / 1.583 GB, free: 96.34 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.03099/5.133, allocations: 24.56 MB / 1.607 GB, free: 82.56 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.086/5.219, allocations: 41.05 MB / 1.647 GB, free: 68.75 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004275/5.223, allocations: 0.9514 MB / 1.648 GB, free: 68.59 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004605/5.228, allocations: 137.1 kB / 1.648 GB, free: 68.51 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01074/5.238, allocations: 0.9017 MB / 1.649 GB, free: 68.44 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003741/5.242, allocations: 452.4 kB / 1.65 GB, free: 68.38 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002028/5.244, allocations: 181.2 kB / 1.65 GB, free: 68.35 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01758/5.262, allocations: 5.775 MB / 1.656 GB, free: 66.38 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.434e-06/5.262, allocations: 0 / 1.656 GB, free: 66.38 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02944/5.291, allocations: 4.432 MB / 1.66 GB, free: 62.13 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 32 ($STATESET6.x[2],$STATESET6.x[1],$STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[6],$STATESET4.x[5],$STATESET4.x[4],$STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyBox1.body.w_a[1],bodyBox1.body.w_a[2],bodyBox1.body.w_a[3],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 (412): * Single equations (assignments): 397 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {3,8,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(4,93.8%) 17,(3,100.0%) 3,(8,82.8%) 29,(7,93.9%) 12,(7,63.3%) 20} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.08617/5.377, allocations: 42.37 MB / 1.701 GB, free: 25.09 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.4412/5.819, allocations: 23.58 MB / 1.724 GB, free: 116.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/5.819, allocations: 6.422 kB / 1.724 GB, free: 116.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.02234/5.841, allocations: 11.58 MB / 1.736 GB, free: 114.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01147/5.853, allocations: 1.342 MB / 1.737 GB, free: 114.9 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.121/5.974, allocations: 36.42 MB / 1.772 GB, free: 109.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03031/6.004, allocations: 9.452 MB / 1.782 GB, free: 108.1 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01908/6.023, allocations: 5.07 MB / 1.787 GB, free: 107.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01566/6.039, allocations: 6.457 MB / 1.793 GB, free: 106.5 MB / 0.573 GB Notification: Performance of SimCode: time 1.633e-06/6.039, allocations: 0 / 1.793 GB, free: 106.5 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8706/6.91, allocations: 294.9 MB / 2.081 GB, free: 43.42 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/6.91, allocations: 198.2 kB / 2.081 GB, free: 43.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/20.73, allocations: 0 / 2.081 GB, free: 43.2 MB / 0.573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical2_res.mat does not exist to compare? outputFormat=mat