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.001384/0.001384, allocations: 177.3 kB / 17.06 MB, free: 5.094 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.395/1.395, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000934/0.0009339, allocations: 88.39 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4106/0.4106, allocations: 44.21 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.0003338, allocations: 12 kB / 460 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3771, allocations: 61.9 MB / 0.5096 GB, free: 38.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1659/0.5431, allocations: 123 MB / 0.6298 GB, free: 3.988 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003544/0.5435, allocations: 91.92 kB / 0.6299 GB, free: 3.906 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8145/1.358, allocations: 221.7 MB / 0.8463 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.206e-06/1.358, allocations: 0 / 0.8463 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001137/1.359, allocations: 275.9 kB / 0.8466 GB, free: 14.24 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: 4458 * Number of variables: 4458 Notification: Performance of Generate backend data structure: time 0.06475/1.424, allocations: 14.75 MB / 0.861 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.679e-05/1.424, allocations: 8.031 kB / 0.861 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01731/1.441, allocations: 2.72 MB / 0.8637 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04376/1.485, allocations: 10.37 MB / 0.8738 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4402/1.925, allocations: 13.33 MB / 0.8868 GB, free: 48.68 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001356/1.927, allocations: 1.042 MB / 0.8878 GB, free: 48.65 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007617/1.935, allocations: 1.394 MB / 0.8892 GB, free: 48.65 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08338/2.018, allocations: 31.58 MB / 0.92 GB, free: 42.74 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001329/2.019, allocations: 134.1 kB / 0.9202 GB, free: 42.74 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006679/2.026, allocations: 0.6318 MB / 0.9208 GB, free: 42.74 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005229/2.031, allocations: 2.363 MB / 0.9231 GB, free: 42.71 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07679/2.108, allocations: 25.92 MB / 0.9484 GB, free: 40.76 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.1883/2.296, allocations: 127.3 MB / 1.073 GB, free: 13.17 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03377/2.33, allocations: 12.46 MB / 1.085 GB, free: 3.438 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4297/2.76, allocations: 30.01 MB / 1.114 GB, free: 107.2 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/2.76, allocations: 82.48 kB / 1.114 GB, free: 107.1 MB / 0.573 GB Notification: Performance of pre-optimization done (n=379): time 6.713e-06/2.76, allocations: 0 / 1.114 GB, free: 107.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=508): time 0.3456/3.106, allocations: 121.7 MB / 1.233 GB, free: 75.19 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02763/3.134, allocations: 24.17 MB / 1.257 GB, free: 53.77 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01662/3.15, allocations: 8.032 MB / 1.265 GB, free: 45.78 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001652/3.152, allocations: 105.9 kB / 1.265 GB, free: 45.68 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.006589/3.158, allocations: 8.566 MB / 1.273 GB, free: 37.14 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00402/3.163, allocations: 1.98 MB / 1.275 GB, free: 35.18 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002784/3.165, allocations: 302.6 kB / 1.275 GB, free: 34.89 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001355/3.167, allocations: 0.9492 MB / 1.276 GB, free: 33.93 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01966/3.186, allocations: 9.068 MB / 1.285 GB, free: 24.86 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4114/3.598, allocations: 17.92 MB / 1.302 GB, free: 86.54 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02268/3.621, allocations: 12.39 MB / 1.315 GB, free: 86.48 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0008799/3.622, allocations: 87.03 kB / 1.315 GB, free: 86.48 MB / 0.573 GB Notification: Performance of matching and sorting (n=1985) (initialization): time 0.09043/3.712, allocations: 34.2 MB / 1.348 GB, free: 85.23 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001689/3.714, allocations: 141.3 kB / 1.348 GB, free: 85.23 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0759/3.79, allocations: 21.54 MB / 1.369 GB, free: 83.72 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04935/3.839, allocations: 9.313 MB / 1.378 GB, free: 82.01 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02115/3.86, allocations: 3.713 MB / 1.382 GB, free: 81.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05377/3.914, allocations: 48.41 MB / 1.429 GB, free: 54.12 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01908/3.933, allocations: 1.665 MB / 1.431 GB, free: 53.88 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004306/3.938, allocations: 0.9329 MB / 1.432 GB, free: 53.76 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 () * 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.01694/3.955, allocations: 6.014 MB / 1.438 GB, free: 51.12 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002722/3.957, allocations: 0.8295 MB / 1.438 GB, free: 51.12 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0609/4.018, allocations: 26.96 MB / 1.465 GB, free: 35.51 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05337/4.072, allocations: 25.27 MB / 1.489 GB, free: 16.89 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.013e-05/4.072, allocations: 20 kB / 1.489 GB, free: 16.88 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001325/4.072, allocations: 27.91 kB / 1.489 GB, free: 16.85 MB / 0.573 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.4576/4.53, allocations: 56.96 MB / 1.545 GB, free: 96.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.65e-05/4.53, allocations: 3.531 kB / 1.545 GB, free: 96.68 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005032/4.535, allocations: 0.9758 MB / 1.546 GB, free: 96.68 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0468/4.582, allocations: 14.02 MB / 1.56 GB, free: 96.59 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001737/4.583, allocations: 151 kB / 1.56 GB, free: 96.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06535/4.649, allocations: 61.8 MB / 1.62 GB, free: 75.64 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02741/4.676, allocations: 23.92 MB / 1.644 GB, free: 62.89 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06544/4.742, allocations: 38.48 MB / 1.681 GB, free: 42.31 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003754/4.745, allocations: 0.8903 MB / 1.682 GB, free: 41.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003605/4.749, allocations: 115.9 kB / 1.682 GB, free: 41.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008929/4.758, allocations: 0.8373 MB / 1.683 GB, free: 41.29 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002528/4.761, allocations: 385.7 kB / 1.683 GB, free: 40.92 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007263/4.761, allocations: 162.2 kB / 1.684 GB, free: 40.76 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01087/4.772, allocations: 5.548 MB / 1.689 GB, free: 35.25 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.9e-07/4.772, allocations: 0 / 1.689 GB, free: 35.25 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01863/4.791, allocations: 4.141 MB / 1.693 GB, free: 31.12 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 () * 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.462/5.253, allocations: 39.54 MB / 1.732 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.03759/5.291, allocations: 22.68 MB / 1.754 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/5.291, allocations: 1.219 kB / 1.754 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0191/5.31, allocations: 10.93 MB / 1.764 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01104/5.321, allocations: 1.283 MB / 1.766 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5496/5.87, allocations: 282.1 MB / 2.041 GB, free: 98.51 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02451/5.895, allocations: 9.083 MB / 2.05 GB, free: 97.49 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.01847/5.914, allocations: 4.873 MB / 2.055 GB, free: 97.4 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01487/5.928, allocations: 6.289 MB / 2.061 GB, free: 97.39 MB / 0.6667 GB Notification: Performance of SimCode: time 9.82e-07/5.929, allocations: 0 / 2.061 GB, free: 97.39 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7911/6.72, allocations: 279.5 MB / 2.334 GB, free: 120.8 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/6.72, allocations: 217.8 kB / 2.334 GB, free: 120.6 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/18.11, allocations: 0 / 2.334 GB, free: 120.6 MB / 0.6667 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