Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.UniversalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.UniversalSpherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.UniversalSpherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 180.8 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 221.3 MB / 236 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008753/0.0008754, allocations: 84.06 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2186/0.2186, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.317e-05/3.319e-05, allocations: 4.156 kB / 451.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1573, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5612/0.7186, allocations: 123 MB / 0.6219 GB, free: 14.22 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/0.719, allocations: 75.95 kB / 0.622 GB, free: 14.15 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8862/1.605, allocations: 221.9 MB / 0.8386 GB, free: 69.03 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.784e-06/1.605, allocations: 0 / 0.8386 GB, free: 69.03 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.001107/1.606, allocations: 275.9 kB / 0.8389 GB, free: 68.76 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4458 * Number of variables: 4458 Notification: Performance of Generate backend data structure: time 0.06111/1.667, allocations: 14.05 MB / 0.8526 GB, free: 54.61 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/1.668, allocations: 12.03 kB / 0.8526 GB, free: 54.59 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01386/1.681, allocations: 2.72 MB / 0.8553 GB, free: 51.86 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04259/1.724, allocations: 10.39 MB / 0.8654 GB, free: 41.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03726/1.761, allocations: 13.27 MB / 0.8784 GB, free: 28.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001335/1.763, allocations: 1.043 MB / 0.8794 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009234/1.772, allocations: 1.39 MB / 0.8808 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08541/1.857, allocations: 31.33 MB / 0.9114 GB, free: 8.145 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001043/1.859, allocations: 142.7 kB / 0.9115 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007001/1.866, allocations: 0.6287 MB / 0.9121 GB, free: 7.375 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004142/1.87, allocations: 2.362 MB / 0.9144 GB, free: 5.012 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4946/2.364, allocations: 25.56 MB / 0.9394 GB, free: 81.5 MB / 0.5261 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.177/2.541, allocations: 126.9 MB / 1.063 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03554/2.577, allocations: 12.43 MB / 1.075 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01219/2.589, allocations: 6.575 MB / 1.082 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05958/2.649, allocations: 30.41 MB / 1.112 GB, free: 4.254 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/2.649, allocations: 76.12 kB / 1.112 GB, free: 4.172 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=379): time 1.301e-05/2.649, allocations: 3.703 kB / 1.112 GB, free: 4.172 MB / 0.5573 GB Notification: Performance of matching and sorting (n=508): time 0.7378/3.387, allocations: 102.9 MB / 1.212 GB, free: 127.9 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02917/3.416, allocations: 23.08 MB / 1.235 GB, free: 117.3 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01886/3.435, allocations: 7.955 MB / 1.242 GB, free: 114.4 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001663/3.437, allocations: 103.2 kB / 1.243 GB, free: 114.4 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.007133/3.444, allocations: 8.574 MB / 1.251 GB, free: 107.8 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003985/3.448, allocations: 1.974 MB / 1.253 GB, free: 106.4 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003197/3.451, allocations: 306.1 kB / 1.253 GB, free: 106.2 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.002203/3.453, allocations: 0.9521 MB / 1.254 GB, free: 105.6 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01423/3.468, allocations: 8.936 MB / 1.263 GB, free: 97.88 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02103/3.489, allocations: 17.8 MB / 1.28 GB, free: 77.24 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0191/3.508, allocations: 12.35 MB / 1.292 GB, free: 66.94 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005585/3.508, allocations: 88 kB / 1.292 GB, free: 66.85 MB / 0.573 GB Notification: Performance of matching and sorting (n=1985) (initialization): time 0.07626/3.585, allocations: 33.94 MB / 1.325 GB, free: 35.63 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007296/3.586, allocations: 140.2 kB / 1.326 GB, free: 35.49 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04731/3.633, allocations: 21.4 MB / 1.347 GB, free: 14.04 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4587/4.092, allocations: 9.295 MB / 1.356 GB, free: 112.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01462/4.106, allocations: 3.716 MB / 1.359 GB, free: 112.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04941/4.156, allocations: 47.06 MB / 1.405 GB, free: 98.08 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01861/4.174, allocations: 1.657 MB / 1.407 GB, free: 98.08 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00462/4.179, allocations: 0.9374 MB / 1.408 GB, free: 98.08 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1423 * Number of states: 0 () * Number of discrete variables: 82 (init2.arrow.arrow.arrowLine.twoHeadedArrow,init2.arrow.headAtOrigin,init2.arrowColor[3],init2.arrowColor[2],init2.arrowColor[1],init.arrow.arrow.arrowLine.twoHeadedArrow,init.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,rs3.arrow.headAtOrigin,rs3.arrowColor[3],rs3.arrowColor[2],rs3.arrowColor[1],rs2.arrow.arrowLine.twoHeadedArrow,rs2.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,rs1.arrow.headAtOrigin,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 (1850): * Single equations (assignments): 1823 * 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.005945/4.185, allocations: 1.25 MB / 1.409 GB, free: 97.84 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002432/4.187, allocations: 0.8245 MB / 1.41 GB, free: 97.84 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0615/4.249, allocations: 26.83 MB / 1.436 GB, free: 91.2 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05604/4.305, allocations: 25.15 MB / 1.461 GB, free: 84.36 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.332e-05/4.305, allocations: 19.44 kB / 1.461 GB, free: 84.36 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001661/4.305, allocations: 26.42 kB / 1.461 GB, free: 84.36 MB / 0.573 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.1122/4.418, allocations: 56.78 MB / 1.516 GB, free: 37.23 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.268e-05/4.418, allocations: 0 / 1.516 GB, free: 37.23 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005378/4.423, allocations: 0.9836 MB / 1.517 GB, free: 36.28 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04228/4.465, allocations: 14 MB / 1.531 GB, free: 22.34 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002041/4.468, allocations: 155.8 kB / 1.531 GB, free: 22.18 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4849/4.952, allocations: 59.19 MB / 1.589 GB, free: 117.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02898/4.982, allocations: 22.84 MB / 1.611 GB, free: 110.3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07503/5.057, allocations: 38.25 MB / 1.648 GB, free: 100.9 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003426/5.06, allocations: 0.891 MB / 1.649 GB, free: 100.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00355/5.064, allocations: 110.8 kB / 1.649 GB, free: 100.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009266/5.073, allocations: 0.8402 MB / 1.65 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002769/5.076, allocations: 386.4 kB / 1.65 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009576/5.077, allocations: 165.1 kB / 1.651 GB, free: 100.5 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01161/5.088, allocations: 5.473 MB / 1.656 GB, free: 98.63 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.71e-07/5.088, allocations: 0 / 1.656 GB, free: 98.63 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.02458/5.113, allocations: 4.147 MB / 1.66 GB, free: 98.31 MB / 0.5886 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 (384): * Single equations (assignments): 369 * 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.0729/5.186, allocations: 39.33 MB / 1.698 GB, free: 77.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0314/5.217, allocations: 22.44 MB / 1.72 GB, free: 57.36 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/5.217, allocations: 0.9688 kB / 1.72 GB, free: 57.36 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0168/5.234, allocations: 10.8 MB / 1.731 GB, free: 47.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008393/5.243, allocations: 1.282 MB / 1.732 GB, free: 46.69 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1107/5.353, allocations: 34.2 MB / 1.765 GB, free: 16.38 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02231/5.376, allocations: 9.083 MB / 1.774 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.02904/5.405, allocations: 4.884 MB / 1.779 GB, free: 2.469 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3955/5.8, allocations: 6.289 MB / 1.785 GB, free: 112.5 MB / 0.5886 GB Notification: Performance of SimCode: time 1.152e-06/5.8, allocations: 0 / 1.785 GB, free: 112.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8151/6.615, allocations: 283.4 MB / 2.062 GB, free: 127.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/6.616, allocations: 186.7 kB / 2.062 GB, free: 127.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/18.46, allocations: 4 kB / 2.062 GB, free: 127.5 MB / 0.6198 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.UniversalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.UniversalSpherical_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_UniversalSpherical_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_UniversalSpherical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.UniversalSpherical_res.mat does not exist to compare? outputFormat=mat