Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.UniversalSpherical.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.UniversalSpherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.UniversalSpherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001645/0.001645, allocations: 200.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.2 MB / 245 MB, free: 5.77 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009433/0.0009433, allocations: 105.9 kB / 297.3 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3842/0.3842, allocations: 45.23 MB / 394.6 MB, free: 31.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002786/0.0002788, allocations: 8 kB / 468.5 MB, free: 7.594 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3833, allocations: 63.25 MB / 0.5193 GB, free: 37.64 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1772/0.5605, allocations: 123.9 MB / 0.6403 GB, free: 11.41 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.5608, allocations: 91.84 kB / 0.6404 GB, free: 11.32 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8344/1.395, allocations: 226.8 MB / 0.8619 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.436e-06/1.395, allocations: 0 / 0.8619 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0007967/1.396, allocations: 271.9 kB / 0.8622 GB, free: 11.2 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.06959/1.466, allocations: 15.11 MB / 0.8769 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.702e-05/1.466, allocations: 12.03 kB / 0.877 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01572/1.482, allocations: 2.716 MB / 0.8796 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7799/2.261, allocations: 10.54 MB / 0.8899 GB, free: 52.41 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03568/2.297, allocations: 12.44 MB / 0.9021 GB, free: 52.13 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001168/2.298, allocations: 1.039 MB / 0.9031 GB, free: 52.1 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007911/2.306, allocations: 1.385 MB / 0.9044 GB, free: 52.1 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0929/2.399, allocations: 31.58 MB / 0.9353 GB, free: 46.18 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001506/2.401, allocations: 136.4 kB / 0.9354 GB, free: 46.18 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007554/2.408, allocations: 0.6309 MB / 0.936 GB, free: 46.18 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004617/2.413, allocations: 2.358 MB / 0.9383 GB, free: 46.15 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0576/2.471, allocations: 25.93 MB / 0.9636 GB, free: 44.25 MB / 0.5262 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 preOpt removeSimpleEquations (simulation): time 0.1709/2.642, allocations: 127 MB / 1.088 GB, free: 0.9766 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03527/2.677, allocations: 12.45 MB / 1.1 GB, free: 7.242 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7836/3.461, allocations: 30.03 MB / 1.129 GB, free: 113.2 MB / 0.5888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.867e-05/3.461, allocations: 76.91 kB / 1.129 GB, free: 113.2 MB / 0.5888 GB Notification: Performance of pre-optimization done (n=379): time 5.821e-06/3.461, allocations: 2.594 kB / 1.129 GB, free: 113.2 MB / 0.5888 GB Notification: Performance of matching and sorting (n=508): time 0.37/3.831, allocations: 121.7 MB / 1.248 GB, free: 85.12 MB / 0.5888 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02956/3.86, allocations: 24.16 MB / 1.272 GB, free: 63.99 MB / 0.5888 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0192/3.88, allocations: 8.032 MB / 1.279 GB, free: 56.29 MB / 0.5888 GB Notification: Performance of collectPreVariables (initialization): time 0.001655/3.881, allocations: 109.9 kB / 1.28 GB, free: 56.18 MB / 0.5888 GB Notification: Performance of collectInitialEqns (initialization): time 0.007737/3.889, allocations: 8.571 MB / 1.288 GB, free: 47.64 MB / 0.5888 GB Notification: Performance of collectInitialBindings (initialization): time 0.004554/3.894, allocations: 1.982 MB / 1.29 GB, free: 45.68 MB / 0.5888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003224/3.897, allocations: 304 kB / 1.29 GB, free: 45.39 MB / 0.5888 GB Notification: Performance of setup shared object (initialization): time 0.001092/3.898, allocations: 0.9508 MB / 1.291 GB, free: 44.43 MB / 0.5888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01333/3.912, allocations: 9.064 MB / 1.3 GB, free: 35.36 MB / 0.5888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02182/3.933, allocations: 17.93 MB / 1.317 GB, free: 13.23 MB / 0.5888 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4324/4.366, allocations: 12.38 MB / 1.33 GB, free: 92.02 MB / 0.5888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003032/4.366, allocations: 89.66 kB / 1.33 GB, free: 92.02 MB / 0.5888 GB Notification: Performance of matching and sorting (n=1985) (initialization): time 0.07509/4.441, allocations: 34.2 MB / 1.363 GB, free: 90.86 MB / 0.5888 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002583/4.442, allocations: 137.8 kB / 1.363 GB, free: 90.86 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04939/4.491, allocations: 21.54 MB / 1.384 GB, free: 90.51 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03084/4.522, allocations: 9.304 MB / 1.393 GB, free: 89.36 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01302/4.535, allocations: 3.715 MB / 1.397 GB, free: 88.95 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07596/4.611, allocations: 48.41 MB / 1.444 GB, free: 61.49 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0283/4.639, allocations: 1.653 MB / 1.446 GB, free: 61.25 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004786/4.644, allocations: 0.9345 MB / 1.447 GB, free: 61.14 MB / 0.5888 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 () * Number of clocked 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.02096/4.665, allocations: 6.014 MB / 1.453 GB, free: 58.5 MB / 0.5888 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00268/4.668, allocations: 0.8249 MB / 1.453 GB, free: 58.5 MB / 0.5888 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06554/4.733, allocations: 26.96 MB / 1.48 GB, free: 43.98 MB / 0.5888 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05788/4.791, allocations: 25.27 MB / 1.504 GB, free: 25.45 MB / 0.5888 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001496/4.792, allocations: 20.75 kB / 1.504 GB, free: 25.43 MB / 0.5888 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002042/4.792, allocations: 26.88 kB / 1.504 GB, free: 25.43 MB / 0.5888 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.5158/5.308, allocations: 56.97 MB / 1.56 GB, free: 99.51 MB / 0.6044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.639e-05/5.308, allocations: 2.812 kB / 1.56 GB, free: 99.51 MB / 0.6044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005471/5.313, allocations: 0.9798 MB / 1.561 GB, free: 99.51 MB / 0.6044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04802/5.361, allocations: 14.01 MB / 1.575 GB, free: 99.41 MB / 0.6044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001799/5.363, allocations: 154.5 kB / 1.575 GB, free: 99.41 MB / 0.6044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06814/5.431, allocations: 61.8 MB / 1.635 GB, free: 85.59 MB / 0.6044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0292/5.46, allocations: 23.91 MB / 1.659 GB, free: 72.84 MB / 0.6044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07087/5.531, allocations: 38.47 MB / 1.696 GB, free: 59.72 MB / 0.6044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00324/5.535, allocations: 0.8833 MB / 1.697 GB, free: 59.57 MB / 0.6044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003601/5.538, allocations: 114.6 kB / 1.697 GB, free: 59.5 MB / 0.6044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01107/5.549, allocations: 0.8369 MB / 1.698 GB, free: 59.43 MB / 0.6044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003576/5.553, allocations: 387.5 kB / 1.698 GB, free: 59.39 MB / 0.6044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001524/5.555, allocations: 164.7 kB / 1.698 GB, free: 59.36 MB / 0.6044 GB Notification: Performance of sorting global known variables: time 0.01568/5.57, allocations: 5.555 MB / 1.704 GB, free: 56.43 MB / 0.6044 GB Notification: Performance of sort global known variables: time 5.71e-07/5.57, allocations: 0 / 1.704 GB, free: 56.43 MB / 0.6044 GB Notification: Performance of remove unused functions: time 0.0212/5.592, allocations: 4.15 MB / 1.708 GB, free: 52.29 MB / 0.6044 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 (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.07043/5.662, allocations: 39.56 MB / 1.747 GB, free: 15.59 MB / 0.6044 GB Notification: Performance of simCode: created initialization part: time 0.4079/6.07, allocations: 22.67 MB / 1.769 GB, free: 111 MB / 0.6044 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/6.07, allocations: 3.406 kB / 1.769 GB, free: 111 MB / 0.6044 GB Notification: Performance of simCode: created simulation system equations: time 0.01898/6.089, allocations: 10.92 MB / 1.779 GB, free: 109.5 MB / 0.6044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0103/6.099, allocations: 1.289 MB / 1.781 GB, free: 109.5 MB / 0.6044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5608/6.66, allocations: 282.1 MB / 2.056 GB, free: 138.5 MB / 0.6982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02201/6.682, allocations: 9.074 MB / 2.065 GB, free: 137.5 MB / 0.6982 GB Notification: Performance of simCode: alias equations: time 0.01622/6.699, allocations: 4.877 MB / 2.07 GB, free: 137.4 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01342/6.712, allocations: 6.286 MB / 2.076 GB, free: 137.4 MB / 0.6982 GB Notification: Performance of SimCode: time 1.873e-06/6.712, allocations: 0 / 2.076 GB, free: 137.4 MB / 0.6982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7774/7.49, allocations: 279.5 MB / 2.349 GB, free: 170.5 MB / 0.6982 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/7.49, allocations: 212.9 kB / 2.349 GB, free: 170.3 MB / 0.6982 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/18.75, allocations: 1.859 kB / 2.349 GB, free: 170.3 MB / 0.6982 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.UniversalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.UniversalSpherical_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_UniversalSpherical_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_UniversalSpherical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.UniversalSpherical_res.mat does not exist to compare? outputFormat=mat