Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.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: translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001521/0.001521, allocations: 183 kB / 16.63 MB, free: 5.137 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.37/1.37, allocations: 205.1 MB / 222.5 MB, free: 8.48 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.0009965/0.0009965, allocations: 101.5 kB / 269.9 MB, free: 8.434 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.3721/0.3721, allocations: 43.49 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001031, allocations: 55.92 kB / 429.2 MB, free: 6.398 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1093, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.02171/0.1311, allocations: 25.72 MB / 0.5007 GB, free: 2.723 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.2183/0.3495, allocations: 6.382 MB / 0.5069 GB, free: 36.81 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004491/0.354, allocations: 104.5 kB / 0.507 GB, free: 36.81 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002578/0.3566, allocations: 1.136 MB / 0.5082 GB, free: 36.78 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004078/0.3607, allocations: 1.648 MB / 0.5098 GB, free: 36.7 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.362, allocations: 0.5172 MB / 0.5103 GB, free: 36.67 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005531/0.3676, allocations: 5.441 MB / 0.5156 GB, free: 36.49 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002123/0.3697, allocations: 1.749 MB / 0.5173 GB, free: 35.96 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.3711, allocations: 1.017 MB / 0.5183 GB, free: 35.65 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001667/0.3728, allocations: 1.783 MB / 0.52 GB, free: 35.2 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003468/0.3732, allocations: 153 kB / 0.5202 GB, free: 35.2 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002272/0.3754, allocations: 1.322 MB / 0.5215 GB, free: 34.92 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00144/0.3769, allocations: 1.557 MB / 0.523 GB, free: 34.44 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001412/0.3783, allocations: 1.802 MB / 0.5247 GB, free: 33.17 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005409/0.3837, allocations: 5.921 MB / 0.5305 GB, free: 31.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3838, allocations: 0 / 0.5305 GB, free: 31.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3838, allocations: 0 / 0.5305 GB, free: 31.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001373/0.3839, allocations: 0 / 0.5305 GB, free: 31.27 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.007673/0.3916, allocations: 4.119 MB / 0.5345 GB, free: 28.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.3917, allocations: 8.875 kB / 0.5346 GB, free: 28.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01839/0.4101, allocations: 5.676 MB / 0.5401 GB, free: 28.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006065/0.4162, allocations: 2.243 MB / 0.5423 GB, free: 27.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001936/0.4164, allocations: 178.3 kB / 0.5425 GB, free: 27.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001343/0.4177, allocations: 310.5 kB / 0.5428 GB, free: 27.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01796/0.4357, allocations: 10.72 MB / 0.5532 GB, free: 21.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.399e-05/0.4358, allocations: 26.56 kB / 0.5532 GB, free: 21.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003614/0.4362, allocations: 110.5 kB / 0.5533 GB, free: 21.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003415/0.4396, allocations: 2.469 MB / 0.5558 GB, free: 20.38 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01746/0.4571, allocations: 10.17 MB / 0.5657 GB, free: 13.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05022/0.5074, allocations: 35.69 MB / 0.6005 GB, free: 9.094 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01143/0.5188, allocations: 5.596 MB / 0.606 GB, free: 3.273 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00295/0.5218, allocations: 2.332 MB / 0.6083 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001551/0.5234, allocations: 1.878 MB / 0.6101 GB, free: 14.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.5235, allocations: 52.56 kB / 0.6102 GB, free: 14.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=224): time 4.358e-06/0.5235, allocations: 5.031 kB / 0.6102 GB, free: 14.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=231): time 0.0359/0.5594, allocations: 14.97 MB / 0.6248 GB, free: 15.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001726/0.5612, allocations: 1.531 MB / 0.6263 GB, free: 13.91 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005461/0.5667, allocations: 2.806 MB / 0.629 GB, free: 11.09 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008178/0.5675, allocations: 49.7 kB / 0.6291 GB, free: 11.04 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002196/0.5697, allocations: 2.688 MB / 0.6317 GB, free: 8.348 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00121/0.571, allocations: 0.8465 MB / 0.6325 GB, free: 7.508 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001736/0.5727, allocations: 1.117 MB / 0.6336 GB, free: 6.383 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.913e-05/0.5728, allocations: 301.1 kB / 0.6339 GB, free: 6.086 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003328/0.5761, allocations: 2.63 MB / 0.6365 GB, free: 3.449 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00496/0.5811, allocations: 5.64 MB / 0.642 GB, free: 12.34 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009123/0.5902, allocations: 8.941 MB / 0.6507 GB, free: 1.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.9e-05/0.5904, allocations: 32 kB / 0.6507 GB, free: 1.898 MB / 474.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.06301/0.6534, allocations: 19.03 MB / 0.6693 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.6535, allocations: 52.94 kB / 0.6694 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04386/0.6974, allocations: 12.02 MB / 0.6811 GB, free: 2.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04762/0.7451, allocations: 10.28 MB / 0.6912 GB, free: 8.422 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004816/0.7499, allocations: 1.322 MB / 0.6925 GB, free: 7.098 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.216/0.966, allocations: 16.04 MB / 0.7081 GB, free: 165.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004485/0.9705, allocations: 444.1 kB / 0.7085 GB, free: 165.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009607/0.9715, allocations: 317.1 kB / 0.7088 GB, free: 165.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 476 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (661): * Single equations (assignments): 650 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.003808/0.9753, allocations: 2.025 MB / 0.7108 GB, free: 165 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006267/0.976, allocations: 273.7 kB / 0.7111 GB, free: 165 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008339/0.9843, allocations: 5.107 MB / 0.7161 GB, free: 163.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006436/0.9908, allocations: 4.413 MB / 0.7204 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.9908, allocations: 3.906 kB / 0.7204 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/0.9908, allocations: 6.938 kB / 0.7204 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02298/1.014, allocations: 12.93 MB / 0.733 GB, free: 157.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.709e-05/1.014, allocations: 11.41 kB / 0.733 GB, free: 157.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001875/1.016, allocations: 456.6 kB / 0.7335 GB, free: 157.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003145/1.019, allocations: 0.9387 MB / 0.7344 GB, free: 157.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002422/1.019, allocations: 49.72 kB / 0.7344 GB, free: 157.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006554/1.026, allocations: 5.451 MB / 0.7397 GB, free: 154.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009261/1.027, allocations: 1.465 MB / 0.7412 GB, free: 152.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04343/1.07, allocations: 26.05 MB / 0.7666 GB, free: 139.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007276/1.071, allocations: 329.6 kB / 0.7669 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007911/1.072, allocations: 47.92 kB / 0.767 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001828/1.074, allocations: 198.3 kB / 0.7672 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003884/1.074, allocations: 145.8 kB / 0.7673 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001493/1.074, allocations: 63.98 kB / 0.7674 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001962/1.076, allocations: 1.729 MB / 0.7691 GB, free: 136.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.4e-07/1.076, allocations: 0 / 0.7691 GB, free: 136.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004566/1.081, allocations: 1.37 MB / 0.7704 GB, free: 135.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],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 (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004317/1.081, allocations: 188.8 kB / 0.7706 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008666/1.09, allocations: 6.616 MB / 0.777 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/1.09, allocations: 3.234 kB / 0.777 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002981/1.093, allocations: 2.528 MB / 0.7795 GB, free: 126 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/1.095, allocations: 360.6 kB / 0.7798 GB, free: 125.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01482/1.11, allocations: 13.92 MB / 0.7934 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002908/1.113, allocations: 3.235 MB / 0.7966 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004177/1.117, allocations: 2.072 MB / 0.7986 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007141/1.118, allocations: 215.4 kB / 0.7988 GB, free: 106 MB / 0.5105 GB Notification: Performance of SimCode: time 1.223e-06/1.118, allocations: 0 / 0.7988 GB, free: 106 MB / 0.5105 GB Notification: Performance of Templates: time 0.06043/1.178, allocations: 50.53 MB / 0.8482 GB, free: 55.52 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Spherical/Spherical.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches