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.001142/0.001142, allocations: 180.6 kB / 15.76 MB, free: 6.367 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.742/1.742, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008635/0.0008634, allocations: 86.88 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.231/0.231, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003304, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1368, allocations: 58.86 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4934/0.6303, allocations: 121.6 MB / 0.5976 GB, free: 10.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.6306, allocations: 82.89 kB / 0.5977 GB, free: 10.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8722/1.503, allocations: 230.6 MB / 0.8229 GB, free: 75.02 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.066e-06/1.503, allocations: 0 / 0.8229 GB, free: 75.02 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001109/1.504, allocations: 283.9 kB / 0.8232 GB, free: 74.74 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.06328/1.567, allocations: 15.22 MB / 0.8381 GB, free: 59.41 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/1.567, allocations: 8.031 kB / 0.8381 GB, free: 59.4 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01487/1.582, allocations: 2.852 MB / 0.8409 GB, free: 56.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04457/1.627, allocations: 10.5 MB / 0.8511 GB, free: 46 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04131/1.668, allocations: 14.08 MB / 0.8649 GB, free: 31.84 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001669/1.67, allocations: 1.083 MB / 0.8659 GB, free: 30.75 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008431/1.678, allocations: 1.449 MB / 0.8673 GB, free: 29.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09621/1.775, allocations: 33.01 MB / 0.8996 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009694/1.776, allocations: 142.7 kB / 0.8997 GB, free: 9.938 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007968/1.784, allocations: 0.6521 MB / 0.9003 GB, free: 9.285 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004682/1.788, allocations: 2.551 MB / 0.9028 GB, free: 6.727 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7223/2.511, allocations: 27.29 MB / 0.9295 GB, free: 79.52 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1598/2.67, allocations: 131.5 MB / 1.058 GB, free: 13.96 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03316/2.704, allocations: 13 MB / 1.071 GB, free: 10.46 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05886/2.763, allocations: 31 MB / 1.101 GB, free: 0.5781 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.652e-05/2.763, allocations: 79.09 kB / 1.101 GB, free: 0.4961 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=424): time 7.274e-06/2.763, allocations: 3.938 kB / 1.101 GB, free: 0.4922 MB / 0.5418 GB Notification: Performance of matching and sorting (n=554): time 0.961/3.724, allocations: 128.2 MB / 1.226 GB, free: 117.1 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02782/3.752, allocations: 24.19 MB / 1.25 GB, free: 93.23 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01772/3.769, allocations: 8.363 MB / 1.258 GB, free: 85 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 0.0015/3.771, allocations: 108.2 kB / 1.258 GB, free: 84.89 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 0.006421/3.777, allocations: 8.955 MB / 1.267 GB, free: 75.96 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 0.003465/3.781, allocations: 2.142 MB / 1.269 GB, free: 73.84 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003119/3.784, allocations: 323.2 kB / 1.269 GB, free: 73.53 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 0.002111/3.786, allocations: 0.9841 MB / 1.27 GB, free: 72.54 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0145/3.801, allocations: 9.394 MB / 1.279 GB, free: 63.14 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02126/3.822, allocations: 18.67 MB / 1.298 GB, free: 40.03 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02002/3.842, allocations: 12.88 MB / 1.31 GB, free: 27.39 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006657/3.843, allocations: 92 kB / 1.31 GB, free: 27.3 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2096) (initialization): time 0.4472/4.29, allocations: 35.29 MB / 1.345 GB, free: 104.1 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002107/4.29, allocations: 143.5 kB / 1.345 GB, free: 104.1 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04258/4.333, allocations: 22.07 MB / 1.366 GB, free: 103.7 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02876/4.362, allocations: 9.325 MB / 1.375 GB, free: 103.6 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01367/4.375, allocations: 3.938 MB / 1.379 GB, free: 103.6 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04597/4.421, allocations: 48.41 MB / 1.427 GB, free: 80.37 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01648/4.438, allocations: 1.7 MB / 1.428 GB, free: 80.12 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003831/4.442, allocations: 0.9814 MB / 1.429 GB, free: 79.99 MB / 0.5575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1488 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1961): * Single equations (assignments): 1934 * 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.01722/4.459, allocations: 6.28 MB / 1.435 GB, free: 77.44 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003005/4.462, allocations: 0.8676 MB / 1.436 GB, free: 77.44 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05952/4.521, allocations: 27.63 MB / 1.463 GB, free: 60.95 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05462/4.576, allocations: 25.81 MB / 1.488 GB, free: 36.07 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000102/4.576, allocations: 20 kB / 1.488 GB, free: 36.05 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001771/4.576, allocations: 27.89 kB / 1.488 GB, free: 36.02 MB / 0.5575 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.4794/5.056, allocations: 58.71 MB / 1.546 GB, free: 114.5 MB / 0.5731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.611e-05/5.056, allocations: 2.406 kB / 1.546 GB, free: 114.5 MB / 0.5731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005983/5.062, allocations: 1.081 MB / 1.547 GB, free: 114.5 MB / 0.5731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04491/5.107, allocations: 14.01 MB / 1.561 GB, free: 114.4 MB / 0.5731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00166/5.109, allocations: 171.9 kB / 1.561 GB, free: 114.4 MB / 0.5731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06694/5.175, allocations: 61.82 MB / 1.621 GB, free: 99.24 MB / 0.5731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02742/5.203, allocations: 23.93 MB / 1.644 GB, free: 86.49 MB / 0.5731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07408/5.277, allocations: 39.5 MB / 1.683 GB, free: 66.04 MB / 0.5731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008406/5.286, allocations: 2.47 MB / 1.685 GB, free: 64.02 MB / 0.5731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003063/5.289, allocations: 127.9 kB / 1.686 GB, free: 63.9 MB / 0.5731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009039/5.298, allocations: 0.854 MB / 1.686 GB, free: 63.05 MB / 0.5731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00227/5.3, allocations: 418 kB / 1.687 GB, free: 62.64 MB / 0.5731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008208/5.301, allocations: 176.9 kB / 1.687 GB, free: 62.47 MB / 0.5731 GB Notification: Performance of sorting global known variables: time 0.01082/5.312, allocations: 5.788 MB / 1.693 GB, free: 56.73 MB / 0.5731 GB Notification: Performance of sort global known variables: time 1.022e-06/5.312, allocations: 0 / 1.693 GB, free: 56.73 MB / 0.5731 GB Notification: Performance of remove unused functions: time 0.02094/5.333, allocations: 4.292 MB / 1.697 GB, free: 52.45 MB / 0.5731 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 () * Number of clocked 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.07133/5.404, allocations: 40.57 MB / 1.736 GB, free: 12.18 MB / 0.5731 GB Notification: Performance of simCode: created initialization part: time 0.3474/5.751, allocations: 23.47 MB / 1.759 GB, free: 142.4 MB / 0.5888 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/5.752, allocations: 2.172 kB / 1.759 GB, free: 142.4 MB / 0.5888 GB Notification: Performance of simCode: created simulation system equations: time 0.02111/5.773, allocations: 11.22 MB / 1.77 GB, free: 140.9 MB / 0.5888 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009564/5.782, allocations: 1.289 MB / 1.772 GB, free: 140.9 MB / 0.5888 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.558/6.34, allocations: 296 MB / 2.061 GB, free: 90.02 MB / 0.6356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02944/6.37, allocations: 9.488 MB / 2.07 GB, free: 88.98 MB / 0.6356 GB Notification: Performance of simCode: alias equations: time 0.0213/6.391, allocations: 5.113 MB / 2.075 GB, free: 88.89 MB / 0.6356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01627/6.407, allocations: 6.642 MB / 2.081 GB, free: 88.88 MB / 0.6356 GB Notification: Performance of SimCode: time 1.783e-06/6.408, allocations: 0 / 2.081 GB, free: 88.88 MB / 0.6356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7712/7.179, allocations: 283.7 MB / 2.358 GB, free: 83.19 MB / 0.6356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/7.179, allocations: 219.7 kB / 2.359 GB, free: 82.95 MB / 0.6356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/18.78, allocations: 3.938 kB / 2.359 GB, free: 82.95 MB / 0.6356 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