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.001686/0.001686, allocations: 182.9 kB / 13.19 MB, free: 2.129 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.644/1.644, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.001004/0.001004, allocations: 82.67 kB / 267 MB, free: 9.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4937/0.4937, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.435e-05/3.44e-05, allocations: 0 / 425.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1501, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5088/0.6589, allocations: 121.5 MB / 0.5916 GB, free: 400 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.6592, allocations: 76.95 kB / 0.5917 GB, free: 360 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9222/1.581, allocations: 230.9 MB / 0.8171 GB, free: 64.33 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.697e-06/1.582, allocations: 4 kB / 0.8171 GB, free: 64.32 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001329/1.583, allocations: 285.9 kB / 0.8174 GB, free: 64.31 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.07312/1.656, allocations: 14.5 MB / 0.8316 GB, free: 52.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/1.656, allocations: 12.03 kB / 0.8316 GB, free: 52.72 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01746/1.674, allocations: 2.844 MB / 0.8344 GB, free: 49.87 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04669/1.72, allocations: 10.51 MB / 0.8446 GB, free: 39.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03824/1.759, allocations: 14.03 MB / 0.8583 GB, free: 25.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001292/1.76, allocations: 1.091 MB / 0.8594 GB, free: 24.11 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00913/1.769, allocations: 1.441 MB / 0.8608 GB, free: 22.66 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5177/2.287, allocations: 32.73 MB / 0.8928 GB, free: 48.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001589/2.288, allocations: 138.9 kB / 0.8929 GB, free: 48.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008726/2.297, allocations: 0.6597 MB / 0.8935 GB, free: 48.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005501/2.303, allocations: 2.546 MB / 0.896 GB, free: 48.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07657/2.379, allocations: 26.91 MB / 0.9223 GB, free: 48.74 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.193/2.572, allocations: 131.5 MB / 1.051 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03429/2.607, allocations: 12.89 MB / 1.063 GB, free: 7.73 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0102/2.617, allocations: 6.793 MB / 1.07 GB, free: 4.703 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4916/3.109, allocations: 31.37 MB / 1.101 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.227e-05/3.109, allocations: 77.98 kB / 1.101 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=424): time 8.115e-06/3.109, allocations: 0 / 1.101 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=554): time 0.3132/3.422, allocations: 106.5 MB / 1.205 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02981/3.452, allocations: 23.1 MB / 1.227 GB, free: 93.21 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01776/3.47, allocations: 8.283 MB / 1.235 GB, free: 86 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001578/3.471, allocations: 108.6 kB / 1.235 GB, free: 85.89 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.005879/3.477, allocations: 8.954 MB / 1.244 GB, free: 76.95 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004313/3.482, allocations: 2.139 MB / 1.246 GB, free: 74.83 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001722/3.483, allocations: 320 kB / 1.246 GB, free: 74.52 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0007018/3.484, allocations: 0.993 MB / 1.247 GB, free: 73.52 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01153/3.496, allocations: 9.235 MB / 1.256 GB, free: 64.28 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01816/3.514, allocations: 18.52 MB / 1.275 GB, free: 41.43 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01779/3.532, allocations: 12.81 MB / 1.287 GB, free: 28.85 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002983/3.532, allocations: 96 kB / 1.287 GB, free: 28.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2096) (initialization): time 0.5135/4.045, allocations: 34.96 MB / 1.321 GB, free: 97.74 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002591/4.046, allocations: 149.9 kB / 1.321 GB, free: 97.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05039/4.096, allocations: 21.9 MB / 1.343 GB, free: 97.33 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03147/4.128, allocations: 9.316 MB / 1.352 GB, free: 97.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01531/4.143, allocations: 3.94 MB / 1.356 GB, free: 97.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05014/4.193, allocations: 47.07 MB / 1.402 GB, free: 74.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01929/4.213, allocations: 1.692 MB / 1.403 GB, free: 74.32 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00445/4.217, allocations: 0.9865 MB / 1.404 GB, free: 74.19 MB / 0.5573 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 () * 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.004997/4.222, allocations: 1.307 MB / 1.406 GB, free: 73.24 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002183/4.224, allocations: 0.873 MB / 1.406 GB, free: 73.23 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06213/4.286, allocations: 27.46 MB / 1.433 GB, free: 65.31 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05689/4.343, allocations: 25.62 MB / 1.458 GB, free: 44.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-05/4.343, allocations: 20 kB / 1.458 GB, free: 44.18 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001629/4.344, allocations: 27.89 kB / 1.458 GB, free: 44.16 MB / 0.5573 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.5706/4.914, allocations: 58.46 MB / 1.515 GB, free: 106.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.451e-05/4.914, allocations: 2.469 kB / 1.515 GB, free: 106.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006375/4.921, allocations: 1.083 MB / 1.516 GB, free: 106.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04603/4.967, allocations: 14 MB / 1.53 GB, free: 106.1 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001914/4.969, allocations: 168 kB / 1.53 GB, free: 106.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07408/5.043, allocations: 59.16 MB / 1.588 GB, free: 93.58 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.03047/5.073, allocations: 22.82 MB / 1.61 GB, free: 81.3 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07631/5.15, allocations: 39.21 MB / 1.649 GB, free: 68.05 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008346/5.158, allocations: 2.473 MB / 1.651 GB, free: 67.27 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004007/5.162, allocations: 124.7 kB / 1.651 GB, free: 67.19 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01089/5.173, allocations: 0.8534 MB / 1.652 GB, free: 67.12 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003208/5.176, allocations: 420.2 kB / 1.652 GB, free: 67.07 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001697/5.178, allocations: 179.6 kB / 1.653 GB, free: 67.04 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0157/5.194, allocations: 5.71 MB / 1.658 GB, free: 65.07 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.22e-07/5.194, allocations: 1.203 kB / 1.658 GB, free: 65.07 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0274/5.221, allocations: 4.289 MB / 1.662 GB, free: 60.99 MB / 0.573 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.08348/5.305, allocations: 40.27 MB / 1.702 GB, free: 23.13 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.4325/5.737, allocations: 23.18 MB / 1.724 GB, free: 115.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/5.737, allocations: 0.9375 kB / 1.724 GB, free: 115.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.02063/5.758, allocations: 11.08 MB / 1.735 GB, free: 114 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01079/5.769, allocations: 1.276 MB / 1.736 GB, free: 113.9 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1139/5.883, allocations: 35.78 MB / 1.771 GB, free: 108.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02742/5.91, allocations: 9.485 MB / 1.781 GB, free: 107.4 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.02225/5.933, allocations: 5.106 MB / 1.786 GB, free: 107.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01734/5.95, allocations: 6.646 MB / 1.792 GB, free: 106.4 MB / 0.573 GB Notification: Performance of SimCode: time 2.645e-06/5.95, allocations: 0 / 1.792 GB, free: 106.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8396/6.79, allocations: 287.9 MB / 2.073 GB, free: 52.33 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001436/6.79, allocations: 200.6 kB / 2.073 GB, free: 52.09 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/18.92, allocations: 0 / 2.073 GB, free: 52.09 MB / 0.573 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