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.001465/0.001465, allocations: 183.4 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.765/1.765, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009642/0.0009643, allocations: 94.84 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.2393/0.2393, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004004/0.0004004, allocations: 12 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1376, allocations: 58.85 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4712/0.6089, allocations: 117.4 MB / 0.5935 GB, free: 14.59 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.6092, allocations: 84.02 kB / 0.5936 GB, free: 14.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9071/1.516, allocations: 230.3 MB / 0.8185 GB, free: 79.16 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.555e-06/1.516, allocations: 4 kB / 0.8185 GB, free: 79.16 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.00106/1.517, allocations: 275.9 kB / 0.8188 GB, free: 78.89 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.06453/1.582, allocations: 14.55 MB / 0.833 GB, free: 64.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/1.582, allocations: 8.031 kB / 0.833 GB, free: 64.22 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01479/1.597, allocations: 2.818 MB / 0.8357 GB, free: 61.39 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04883/1.646, allocations: 10.91 MB / 0.8464 GB, free: 50.45 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04178/1.688, allocations: 15.6 MB / 0.8616 GB, free: 34.76 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001206/1.689, allocations: 1.09 MB / 0.8627 GB, free: 33.67 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007959/1.697, allocations: 1.453 MB / 0.8641 GB, free: 32.22 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09405/1.791, allocations: 32.34 MB / 0.8957 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001537/1.792, allocations: 150.6 kB / 0.8958 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009061/1.802, allocations: 0.6638 MB / 0.8965 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004709/1.806, allocations: 2.331 MB / 0.8987 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7175/2.524, allocations: 26 MB / 0.9241 GB, free: 80.77 MB / 0.5105 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.1564/2.68, allocations: 130.8 MB / 1.052 GB, free: 14.02 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03455/2.715, allocations: 12.47 MB / 1.064 GB, free: 10.94 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004879/2.72, allocations: 4.844 MB / 1.069 GB, free: 6.77 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/2.72, allocations: 80.55 kB / 1.069 GB, free: 6.699 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=435): time 1.615e-05/2.72, allocations: 0 / 1.069 GB, free: 6.699 MB / 0.5262 GB Notification: Performance of matching and sorting (n=569): time 0.9625/3.683, allocations: 135.1 MB / 1.201 GB, free: 128.1 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02933/3.712, allocations: 25.89 MB / 1.226 GB, free: 113.2 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01477/3.727, allocations: 8.466 MB / 1.234 GB, free: 106.2 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 0.00159/3.728, allocations: 115.2 kB / 1.234 GB, free: 106.1 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 0.005385/3.734, allocations: 8.869 MB / 1.243 GB, free: 98.2 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 0.003025/3.737, allocations: 2.19 MB / 1.245 GB, free: 96.27 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001328/3.738, allocations: 319.8 kB / 1.246 GB, free: 95.96 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 0.0006947/3.739, allocations: 0.9934 MB / 1.246 GB, free: 95.16 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01215/3.751, allocations: 9.411 MB / 1.256 GB, free: 86.96 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01773/3.769, allocations: 18.64 MB / 1.274 GB, free: 64.19 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01755/3.786, allocations: 12.86 MB / 1.286 GB, free: 51.64 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004134/3.787, allocations: 92 kB / 1.287 GB, free: 51.55 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2104) (initialization): time 0.08322/3.87, allocations: 36.74 MB / 1.322 GB, free: 15.09 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007103/3.871, allocations: 144 kB / 1.323 GB, free: 14.95 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.4329/4.304, allocations: 23.46 MB / 1.345 GB, free: 112 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03442/4.338, allocations: 10.95 MB / 1.356 GB, free: 111.9 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01349/4.352, allocations: 3.858 MB / 1.36 GB, free: 111.9 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0591/4.411, allocations: 52.9 MB / 1.412 GB, free: 91.22 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01757/4.429, allocations: 1.809 MB / 1.413 GB, free: 90.97 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003854/4.432, allocations: 0.9776 MB / 1.414 GB, free: 90.85 MB / 0.5575 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 () * Number of clocked 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.01668/4.449, allocations: 6.205 MB / 1.42 GB, free: 88.33 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004271/4.453, allocations: 0.8871 MB / 1.421 GB, free: 88.33 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07233/4.526, allocations: 29.04 MB / 1.45 GB, free: 74.2 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06338/4.589, allocations: 27.28 MB / 1.476 GB, free: 48.75 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000172/4.589, allocations: 31.06 kB / 1.476 GB, free: 48.72 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001898/4.59, allocations: 23.91 kB / 1.476 GB, free: 48.7 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.5161/5.106, allocations: 63.46 MB / 1.538 GB, free: 114.7 MB / 0.5731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-05/5.106, allocations: 4.625 kB / 1.538 GB, free: 114.7 MB / 0.5731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005717/5.112, allocations: 1.011 MB / 1.539 GB, free: 114.7 MB / 0.5731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05143/5.163, allocations: 15.69 MB / 1.555 GB, free: 114.6 MB / 0.5731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002229/5.165, allocations: 179.3 kB / 1.555 GB, free: 114.6 MB / 0.5731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07801/5.243, allocations: 67.66 MB / 1.621 GB, free: 97.84 MB / 0.5731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02969/5.273, allocations: 25.71 MB / 1.646 GB, free: 83.57 MB / 0.5731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07663/5.35, allocations: 41.34 MB / 1.686 GB, free: 61.59 MB / 0.5731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003998/5.354, allocations: 0.9454 MB / 1.687 GB, free: 61.11 MB / 0.5731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00431/5.358, allocations: 133.1 kB / 1.687 GB, free: 60.98 MB / 0.5731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0106/5.369, allocations: 0.9041 MB / 1.688 GB, free: 60.08 MB / 0.5731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003351/5.372, allocations: 453.3 kB / 1.689 GB, free: 59.64 MB / 0.5731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001624/5.374, allocations: 188 kB / 1.689 GB, free: 59.46 MB / 0.5731 GB Notification: Performance of sorting global known variables: time 0.01411/5.388, allocations: 5.879 MB / 1.695 GB, free: 53.64 MB / 0.5731 GB Notification: Performance of sort global known variables: time 8.72e-07/5.388, allocations: 0 / 1.695 GB, free: 53.64 MB / 0.5731 GB Notification: Performance of remove unused functions: time 0.02255/5.411, allocations: 4.434 MB / 1.699 GB, free: 49.21 MB / 0.5731 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 () * Number of clocked 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.08065/5.491, allocations: 42.66 MB / 1.741 GB, free: 6.746 MB / 0.5731 GB Notification: Performance of simCode: created initialization part: time 0.3541/5.845, allocations: 23.92 MB / 1.764 GB, free: 143.9 MB / 0.5888 GB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/5.845, allocations: 1.375 kB / 1.764 GB, free: 143.9 MB / 0.5888 GB Notification: Performance of simCode: created simulation system equations: time 0.02418/5.87, allocations: 11.76 MB / 1.775 GB, free: 142.3 MB / 0.5888 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01689/5.887, allocations: 1.331 MB / 1.777 GB, free: 142.3 MB / 0.5888 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5758/6.463, allocations: 295.7 MB / 2.065 GB, free: 91.45 MB / 0.6356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03427/6.497, allocations: 9.454 MB / 2.075 GB, free: 90.42 MB / 0.6356 GB Notification: Performance of simCode: alias equations: time 0.02327/6.52, allocations: 5.071 MB / 2.08 GB, free: 90.32 MB / 0.6356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01654/6.537, allocations: 6.458 MB / 2.086 GB, free: 90.32 MB / 0.6356 GB Notification: Performance of SimCode: time 1.754e-06/6.537, allocations: 0 / 2.086 GB, free: 90.32 MB / 0.6356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8611/7.398, allocations: 290.8 MB / 2.37 GB, free: 79.83 MB / 0.6356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/7.398, allocations: 220.9 kB / 2.37 GB, free: 79.59 MB / 0.6356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/19.01, allocations: 0 / 2.37 GB, free: 79.59 MB / 0.6356 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