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.001045/0.001045, allocations: 183 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.24/1.24, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0007605/0.0007605, allocations: 90.59 kB / 267.1 MB, free: 9.281 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.3318/0.3318, allocations: 43.47 MB / 358.6 MB, free: 52.31 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.016e-05/3.026e-05, allocations: 4 kB / 425.3 MB, free: 8.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1177, allocations: 58.85 MB / 484.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3701/0.4879, allocations: 101.6 MB / 0.572 GB, free: 3.383 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.4882, allocations: 76.69 kB / 0.5721 GB, free: 3.309 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2056/0.6938, allocations: 83.67 MB / 0.6538 GB, free: 15.04 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.6938, allocations: 0 / 0.6538 GB, free: 15.04 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000157/0.694, allocations: 64 kB / 0.6539 GB, free: 14.98 MB / 490.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.01408/0.7081, allocations: 3.861 MB / 0.6576 GB, free: 11.06 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.7081, allocations: 12.03 kB / 0.6577 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02158/0.7297, allocations: 5.879 MB / 0.6634 GB, free: 5.156 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2594/0.9892, allocations: 5.314 MB / 0.6686 GB, free: 96.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004293/0.9896, allocations: 279.7 kB / 0.6689 GB, free: 96.19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001955/0.9916, allocations: 366.8 kB / 0.6692 GB, free: 96.19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01975/1.011, allocations: 10.36 MB / 0.6793 GB, free: 94.75 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001154/1.012, allocations: 28.92 kB / 0.6793 GB, free: 94.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006121/1.012, allocations: 171.5 kB / 0.6795 GB, free: 94.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001504/1.014, allocations: 1.156 MB / 0.6806 GB, free: 94.74 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01866/1.032, allocations: 9.974 MB / 0.6904 GB, free: 94.71 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05163/1.084, allocations: 37.42 MB / 0.7269 GB, free: 74.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01205/1.096, allocations: 5.574 MB / 0.7324 GB, free: 71.75 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00313/1.099, allocations: 2.31 MB / 0.7346 GB, free: 70.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001349/1.101, allocations: 1.88 MB / 0.7365 GB, free: 69.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/1.101, allocations: 52.22 kB / 0.7365 GB, free: 69.05 MB / 490.7 MB Notification: Performance of pre-optimization done (n=224): time 6.392e-06/1.101, allocations: 0 / 0.7365 GB, free: 69.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=231): time 0.02818/1.129, allocations: 12.42 MB / 0.7486 GB, free: 65.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009586/1.13, allocations: 1.517 MB / 0.7501 GB, free: 64.22 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004476/1.134, allocations: 2.486 MB / 0.7525 GB, free: 63.33 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003037/1.135, allocations: 57.58 kB / 0.7526 GB, free: 63.28 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001624/1.136, allocations: 2.684 MB / 0.7552 GB, free: 61.38 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000862/1.137, allocations: 0.853 MB / 0.756 GB, free: 60.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004582/1.138, allocations: 103.8 kB / 0.7561 GB, free: 60.67 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003857/1.138, allocations: 0.5422 MB / 0.7567 GB, free: 60.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003375/1.142, allocations: 2.558 MB / 0.7592 GB, free: 59.45 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004665/1.146, allocations: 5.542 MB / 0.7646 GB, free: 54.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004813/1.151, allocations: 3.783 MB / 0.7683 GB, free: 53.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001237/1.151, allocations: 34.59 kB / 0.7683 GB, free: 53.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.06167/1.213, allocations: 18.88 MB / 0.7867 GB, free: 46.78 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.532e-05/1.213, allocations: 56.58 kB / 0.7868 GB, free: 46.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03954/1.253, allocations: 11.96 MB / 0.7985 GB, free: 39.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0438/1.296, allocations: 10.31 MB / 0.8085 GB, free: 29.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003888/1.3, allocations: 1.255 MB / 0.8098 GB, free: 27.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02188/1.322, allocations: 15.87 MB / 0.8253 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004413/1.327, allocations: 443.5 kB / 0.8257 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008934/1.328, allocations: 316 kB / 0.826 GB, free: 11.03 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (652): * Single equations (assignments): 641 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.0008681/1.328, allocations: 0.4988 MB / 0.8265 GB, free: 10.53 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004481/1.329, allocations: 276.3 kB / 0.8267 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007348/1.336, allocations: 5.081 MB / 0.8317 GB, free: 5.141 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005905/1.342, allocations: 4.346 MB / 0.836 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/1.342, allocations: 4 kB / 0.836 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/1.342, allocations: 7.969 kB / 0.836 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02083/1.363, allocations: 12.96 MB / 0.8486 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/1.363, allocations: 8 kB / 0.8486 GB, free: 3.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/1.365, allocations: 407.3 kB / 0.849 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002762/1.368, allocations: 0.9383 MB / 0.8499 GB, free: 2.316 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00024/1.368, allocations: 51.55 kB / 0.85 GB, free: 2.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00615/1.374, allocations: 5.424 MB / 0.8553 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001032/1.375, allocations: 1.455 MB / 0.8567 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0117/1.387, allocations: 8.295 MB / 0.8648 GB, free: 2.391 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008581/1.388, allocations: 341.5 kB / 0.8651 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003009/1.388, allocations: 39.95 kB / 0.8652 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/1.39, allocations: 206.6 kB / 0.8654 GB, free: 1.797 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003352/1.39, allocations: 141 kB / 0.8655 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000166/1.39, allocations: 67.98 kB / 0.8656 GB, free: 1.594 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.2647/1.655, allocations: 1.689 MB / 0.8672 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.61e-07/1.655, allocations: 0 / 0.8672 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005975/1.661, allocations: 1.108 MB / 0.8683 GB, free: 117.5 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 () * 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005585/1.661, allocations: 184.3 kB / 0.8685 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01094/1.672, allocations: 6.482 MB / 0.8748 GB, free: 117 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/1.672, allocations: 0 / 0.8748 GB, free: 117 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003542/1.676, allocations: 2.497 MB / 0.8772 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/1.678, allocations: 342 kB / 0.8776 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/1.69, allocations: 8.569 MB / 0.8859 GB, free: 115 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002691/1.693, allocations: 3.254 MB / 0.8891 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004316/1.697, allocations: 2.058 MB / 0.8911 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006947/1.698, allocations: 209.6 kB / 0.8913 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.493e-06/1.698, allocations: 3.125 kB / 0.8913 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.06708/1.765, allocations: 43.09 MB / 0.9334 GB, free: 112 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/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