Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_MultiBody_Joints_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002111/0.002111, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.226/2.226, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 97.95 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.358/0.358, allocations: 43.48 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.437e-05/2.447e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.4137, allocations: 58.86 MB / 477.2 MB, free: 5.152 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2293/0.643, allocations: 120.9 MB / 0.584 GB, free: 10.26 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.6434, allocations: 75.97 kB / 0.5841 GB, free: 10.19 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.15/1.794, allocations: 224.3 MB / 0.8032 GB, free: 3.812 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.285e-06/1.794, allocations: 0 / 0.8032 GB, free: 3.812 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0009011/1.795, allocations: 280 kB / 0.8035 GB, free: 3.539 MB / 475.1 MB 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.08714/1.882, allocations: 14.5 MB / 0.8176 GB, free: 4.934 MB / 491.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/1.882, allocations: 8.031 kB / 0.8176 GB, free: 4.926 MB / 491.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4682/2.35, allocations: 10.51 MB / 0.8279 GB, free: 43.49 MB / 491.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05768/2.408, allocations: 14 MB / 0.8416 GB, free: 42.97 MB / 491.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001135/2.409, allocations: 480.8 kB / 0.842 GB, free: 42.97 MB / 491.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007701/2.417, allocations: 0.8499 MB / 0.8429 GB, free: 42.96 MB / 491.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05106/2.468, allocations: 19.36 MB / 0.8618 GB, free: 42.89 MB / 491.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07574/2.544, allocations: 27.88 MB / 0.889 GB, free: 36.89 MB / 491.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009647/2.545, allocations: 135.1 kB / 0.8891 GB, free: 36.88 MB / 491.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006226/2.551, allocations: 71.48 kB / 0.8892 GB, free: 36.88 MB / 491.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005522/2.557, allocations: 2.547 MB / 0.8917 GB, free: 36.85 MB / 491.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2222/2.779, allocations: 126.5 MB / 1.015 GB, free: 6.184 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4524/3.231, allocations: 8.719 MB / 1.024 GB, free: 100.4 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02028/3.252, allocations: 6.647 MB / 1.03 GB, free: 100.3 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1126/3.365, allocations: 30.76 MB / 1.06 GB, free: 93.07 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/3.365, allocations: 80.91 kB / 1.06 GB, free: 93.03 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=424): time 1.406e-05/3.365, allocations: 0 / 1.06 GB, free: 93.03 MB / 0.5421 GB Notification: Performance of matching and sorting (n=554): time 0.4779/3.843, allocations: 95.26 MB / 1.153 GB, free: 70.49 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/3.843, allocations: 341.5 kB / 1.154 GB, free: 70.09 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01995/3.863, allocations: 7.428 MB / 1.161 GB, free: 63.6 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.00176/3.865, allocations: 29.7 kB / 1.161 GB, free: 63.57 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.007346/3.872, allocations: 8.811 MB / 1.17 GB, free: 55.56 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.004136/3.876, allocations: 2.078 MB / 1.172 GB, free: 53.69 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00306/3.879, allocations: 4 kB / 1.172 GB, free: 53.69 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.001883/3.881, allocations: 1.008 MB / 1.173 GB, free: 52.87 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02615/3.907, allocations: 8.984 MB / 1.181 GB, free: 44.78 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04049/3.948, allocations: 18.43 MB / 1.199 GB, free: 23.21 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04024/3.988, allocations: 12.55 MB / 1.212 GB, free: 12.79 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005807/3.989, allocations: 96 kB / 1.212 GB, free: 12.7 MB / 0.5421 GB Notification: Performance of matching and sorting (n=2139) (initialization): time 0.5617/4.551, allocations: 33.34 MB / 1.244 GB, free: 79.19 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004098/4.551, allocations: 148.2 kB / 1.244 GB, free: 79.19 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08085/4.632, allocations: 21.57 MB / 1.265 GB, free: 78.78 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05568/4.688, allocations: 9.266 MB / 1.275 GB, free: 78.68 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02611/4.714, allocations: 4.022 MB / 1.278 GB, free: 78.44 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07543/4.789, allocations: 43.17 MB / 1.321 GB, free: 60.95 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0396/4.829, allocations: 1.392 MB / 1.322 GB, free: 60.95 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006105/4.835, allocations: 1.012 MB / 1.323 GB, free: 60.82 MB / 0.5421 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.01309/4.849, allocations: 0.9283 MB / 1.324 GB, free: 60.28 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1157/4.964, allocations: 26.18 MB / 1.349 GB, free: 53.51 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003589/4.968, allocations: 0.8256 MB / 1.35 GB, free: 53.51 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1128/5.081, allocations: 26.99 MB / 1.377 GB, free: 38.89 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1036/5.184, allocations: 25.28 MB / 1.401 GB, free: 14.98 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.269e-05/5.184, allocations: 20 kB / 1.401 GB, free: 14.96 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002005/5.185, allocations: 30.52 kB / 1.401 GB, free: 14.93 MB / 0.5421 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.6586/5.843, allocations: 55.53 MB / 1.456 GB, free: 88.52 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.799e-05/5.843, allocations: 0 / 1.456 GB, free: 88.52 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01049/5.854, allocations: 1.079 MB / 1.457 GB, free: 88.52 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08432/5.938, allocations: 13.94 MB / 1.47 GB, free: 88.43 MB / 0.5577 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00186/5.94, allocations: 93.95 kB / 1.47 GB, free: 88.43 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1149/6.055, allocations: 56.08 MB / 1.525 GB, free: 73.37 MB / 0.5577 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.04919/6.104, allocations: 21.77 MB / 1.546 GB, free: 61.68 MB / 0.5577 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1652/6.27, allocations: 38.68 MB / 1.584 GB, free: 46.39 MB / 0.5577 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01446/6.284, allocations: 2.414 MB / 1.586 GB, free: 44.64 MB / 0.5577 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00544/6.29, allocations: 38.52 kB / 1.587 GB, free: 44.61 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02212/6.312, allocations: 0.7705 MB / 1.587 GB, free: 44.21 MB / 0.5577 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004452/6.316, allocations: 422 kB / 1.588 GB, free: 43.99 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002431/6.319, allocations: 171.5 kB / 1.588 GB, free: 43.86 MB / 0.5577 GB Notification: Performance of sorting global known variables: time 0.01973/6.339, allocations: 4.926 MB / 1.593 GB, free: 39.61 MB / 0.5577 GB Notification: Performance of sort global known variables: time 9.52e-07/6.339, allocations: 0 / 1.593 GB, free: 39.61 MB / 0.5577 GB Notification: Performance of remove unused functions: time 0.02544/6.364, allocations: 4.12 MB / 1.597 GB, free: 35.5 MB / 0.5577 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.1276/6.492, allocations: 39.69 MB / 1.635 GB, free: 14.93 MB / 0.5733 GB Notification: Performance of simCode: created initialization part: time 0.4658/6.958, allocations: 22.46 MB / 1.657 GB, free: 118.8 MB / 0.5733 GB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/6.958, allocations: 1.781 kB / 1.657 GB, free: 118.8 MB / 0.5733 GB Notification: Performance of simCode: created simulation system equations: time 0.03153/6.989, allocations: 10.86 MB / 1.668 GB, free: 117.5 MB / 0.5733 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01121/7.001, allocations: 1.064 MB / 1.669 GB, free: 117.4 MB / 0.5733 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1261/7.127, allocations: 36.6 MB / 1.705 GB, free: 111.9 MB / 0.5733 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02621/7.153, allocations: 9.463 MB / 1.714 GB, free: 110.8 MB / 0.5733 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01979/7.173, allocations: 6.721 MB / 1.721 GB, free: 106.8 MB / 0.5733 GB Notification: Performance of SimCode: time 1.973e-06/7.173, allocations: 0 / 1.721 GB, free: 106.8 MB / 0.5733 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 11.38/18.56, allocations: 0.9392 GB / 2.66 GB, free: 70.96 MB / 0.6202 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.UniversalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.UniversalSpherical_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_UniversalSpherical_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_UniversalSpherical.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.UniversalSpherical_res.mat does not exist to compare? outputFormat=mat