Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.UniversalSpherical.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.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_UniversalSpherical",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.001432/0.001432, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008816/0.0008814, allocations: 84 kB / 261.7 MB, free: 1.688 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.2244/0.2244, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.769e-05/1.754e-05, allocations: 7.984 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1049, allocations: 58.85 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4369/0.5418, allocations: 120.9 MB / 0.5841 GB, free: 6.676 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000193/0.542, allocations: 82.48 kB / 0.5842 GB, free: 6.637 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8438/1.386, allocations: 224.3 MB / 0.8032 GB, free: 55.36 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.923e-06/1.386, allocations: 0 / 0.8032 GB, free: 55.36 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001069/1.387, allocations: 282.4 kB / 0.8035 GB, free: 55.34 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: 4701 * Number of variables: 4701 Notification: Performance of Generate backend data structure: time 0.05848/1.445, allocations: 14.5 MB / 0.8176 GB, free: 50.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/1.446, allocations: 11.5 kB / 0.8176 GB, free: 50.19 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04237/1.488, allocations: 10.51 MB / 0.8279 GB, free: 47.09 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0372/1.525, allocations: 14.02 MB / 0.8416 GB, free: 39.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008506/1.526, allocations: 472.8 kB / 0.8421 GB, free: 39.36 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007649/1.534, allocations: 0.8581 MB / 0.8429 GB, free: 39.33 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03905/1.573, allocations: 19.36 MB / 0.8618 GB, free: 21.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0698/1.643, allocations: 27.88 MB / 0.889 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009351/1.644, allocations: 134.8 kB / 0.8892 GB, free: 7.043 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006978/1.651, allocations: 68 kB / 0.8892 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004428/1.655, allocations: 2.55 MB / 0.8917 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5219/2.177, allocations: 126.5 MB / 1.015 GB, free: 42.61 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01154/2.189, allocations: 8.52 MB / 1.024 GB, free: 38.57 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008435/2.197, allocations: 6.651 MB / 1.03 GB, free: 35.61 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05236/2.249, allocations: 30.77 MB / 1.06 GB, free: 19.19 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001009/2.25, allocations: 82.41 kB / 1.06 GB, free: 19.12 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=424): time 9.497e-06/2.25, allocations: 0 / 1.06 GB, free: 19.12 MB / 0.5417 GB Notification: Performance of matching and sorting (n=554): time 0.6402/2.89, allocations: 95.42 MB / 1.153 GB, free: 120 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/2.89, allocations: 337.7 kB / 1.154 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01491/2.905, allocations: 7.423 MB / 1.161 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001499/2.906, allocations: 32.8 kB / 1.161 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.007524/2.914, allocations: 9.017 MB / 1.17 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003808/2.918, allocations: 2.079 MB / 1.172 GB, free: 112.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002173/2.92, allocations: 5.531 kB / 1.172 GB, free: 112.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0009844/2.921, allocations: 1.002 MB / 1.173 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01261/2.934, allocations: 8.983 MB / 1.182 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02185/2.956, allocations: 18.44 MB / 1.2 GB, free: 99.08 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01851/2.974, allocations: 12.55 MB / 1.212 GB, free: 94.59 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006874/2.975, allocations: 97.03 kB / 1.212 GB, free: 94.59 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2139) (initialization): time 0.07407/3.049, allocations: 33.02 MB / 1.244 GB, free: 84.01 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002524/3.049, allocations: 149.6 kB / 1.244 GB, free: 84.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04345/3.093, allocations: 21.56 MB / 1.265 GB, free: 74.83 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03001/3.123, allocations: 9.276 MB / 1.274 GB, free: 68.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01411/3.137, allocations: 4.017 MB / 1.278 GB, free: 65.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04034/3.177, allocations: 43.19 MB / 1.32 GB, free: 24.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02039/3.198, allocations: 1.396 MB / 1.322 GB, free: 23.03 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005114/3.203, allocations: 1.006 MB / 1.323 GB, free: 22.02 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1533 * Number of states: 0 () * Number of discrete variables: 72 (init2.arrowColor[3],init2.arrowColor[2],init2.arrowColor[1],init.arrowColor[3],init.arrowColor[2],init.arrowColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],universalSpherical1.cylinderColor[3],universalSpherical1.cylinderColor[2],universalSpherical1.cylinderColor[1],universalSpherical1.sphereColor[3],universalSpherical1.sphereColor[2],universalSpherical1.sphereColor[1],universalSpherical1.rodColor[3],universalSpherical1.rodColor[2],universalSpherical1.rodColor[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[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],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],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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 (2004): * Single equations (assignments): 1977 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * 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: 5 {1,1,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,93.8%) 8,(8,76.6%) 20,(1,100.0%) 3,(1,100.0%) 9,(4,87.5%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006329/3.209, allocations: 0.9356 MB / 1.324 GB, free: 21.08 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.4305/3.64, allocations: 26.17 MB / 1.349 GB, free: 107.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003107/3.643, allocations: 0.8212 MB / 1.35 GB, free: 107.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05979/3.703, allocations: 26.98 MB / 1.376 GB, free: 107.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05614/3.759, allocations: 25.29 MB / 1.401 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.994e-05/3.759, allocations: 17.75 kB / 1.401 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001717/3.759, allocations: 27.42 kB / 1.401 GB, free: 104.1 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.1123/3.872, allocations: 55.52 MB / 1.455 GB, free: 76.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.024e-05/3.872, allocations: 7.281 kB / 1.455 GB, free: 76.92 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005608/3.877, allocations: 1.078 MB / 1.456 GB, free: 75.88 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04382/3.921, allocations: 13.93 MB / 1.47 GB, free: 62.02 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001613/3.923, allocations: 91.81 kB / 1.47 GB, free: 61.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06011/3.983, allocations: 56.08 MB / 1.525 GB, free: 5.328 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.4008/4.384, allocations: 21.78 MB / 1.546 GB, free: 110.1 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07438/4.458, allocations: 38.67 MB / 1.584 GB, free: 108.6 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007005/4.465, allocations: 2.421 MB / 1.586 GB, free: 108.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003254/4.469, allocations: 38.66 kB / 1.586 GB, free: 108.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009668/4.478, allocations: 0.7719 MB / 1.587 GB, free: 108.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002437/4.481, allocations: 411.9 kB / 1.588 GB, free: 108.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007667/4.481, allocations: 181.4 kB / 1.588 GB, free: 108.5 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01186/4.493, allocations: 4.932 MB / 1.593 GB, free: 108.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.074e-06/4.493, allocations: 1.156 kB / 1.593 GB, free: 108.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02722/4.521, allocations: 4.116 MB / 1.597 GB, free: 108.3 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 30 ($STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[6],$STATESET3.x[5],$STATESET3.x[4],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[5],$STATESET2.x[4],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$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],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (435): * Single equations (assignments): 420 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(3,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {3,8} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 6,(4,87.5%) 6,(1,100.0%) 4,(4,93.8%) 8,(8,76.6%) 20,(7,93.9%) 12} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.07643/4.597, allocations: 39.68 MB / 1.635 GB, free: 95.34 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0349/4.632, allocations: 22.45 MB / 1.657 GB, free: 84.55 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/4.632, allocations: 0 / 1.657 GB, free: 84.55 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01776/4.65, allocations: 10.87 MB / 1.668 GB, free: 74.89 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009328/4.659, allocations: 1.058 MB / 1.669 GB, free: 74.05 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09459/4.754, allocations: 34.99 MB / 1.703 GB, free: 44.12 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01981/4.774, allocations: 9.467 MB / 1.712 GB, free: 37.27 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01513/4.789, allocations: 5.153 MB / 1.717 GB, free: 33.88 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01263/4.802, allocations: 6.62 MB / 1.724 GB, free: 27.3 MB / 0.573 GB Notification: Performance of SimCode: time 1.853e-06/4.802, allocations: 0 / 1.724 GB, free: 27.3 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.135/5.936, allocations: 271.1 MB / 1.989 GB, free: 86.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/5.937, allocations: 147 kB / 1.989 GB, free: 86.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.979/15.92, allocations: 0 / 1.989 GB, free: 86.19 MB / 0.6042 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.UniversalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.UniversalSpherical_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_UniversalSpherical_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_UniversalSpherical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.UniversalSpherical_res.mat does not exist to compare? outputFormat=mat