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.001039/0.001039, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007985/0.0007984, allocations: 86.62 kB / 261.8 MB, free: 1.68 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.1925/0.1925, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.564e-05/1.557e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1038, allocations: 58.86 MB / 477.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3568/0.4606, allocations: 100.9 MB / 0.5645 GB, free: 10.81 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/0.461, allocations: 75.19 kB / 0.5646 GB, free: 10.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2042/0.6652, allocations: 82.23 MB / 0.6449 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.6652, allocations: 0 / 0.6449 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002386/0.6655, allocations: 68 kB / 0.645 GB, free: 464 kB / 442.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.01628/0.6818, allocations: 3.852 MB / 0.6487 GB, free: 12.54 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.6819, allocations: 12.03 kB / 0.6487 GB, free: 12.53 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02208/0.7039, allocations: 5.883 MB / 0.6545 GB, free: 6.629 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01404/0.718, allocations: 5.305 MB / 0.6597 GB, free: 1.27 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003107/0.7184, allocations: 124 kB / 0.6598 GB, free: 1.148 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002356/0.7208, allocations: 215.9 kB / 0.66 GB, free: 0.9375 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01253/0.7333, allocations: 6.895 MB / 0.6667 GB, free: 10.04 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01659/0.75, allocations: 9.204 MB / 0.6757 GB, free: 332 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-05/0.7501, allocations: 23.81 kB / 0.6757 GB, free: 308 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000457/0.7506, allocations: 16 kB / 0.6757 GB, free: 292 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001467/0.752, allocations: 1.156 MB / 0.6769 GB, free: 15.13 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2985/1.051, allocations: 35.12 MB / 0.7112 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004926/1.056, allocations: 4.087 MB / 0.7151 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002895/1.058, allocations: 2.268 MB / 0.7174 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00143/1.06, allocations: 1.884 MB / 0.7192 GB, free: 116 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/1.06, allocations: 48.81 kB / 0.7192 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=226): time 5.67e-06/1.06, allocations: 1.656 kB / 0.7192 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=233): time 0.02326/1.083, allocations: 11.79 MB / 0.7308 GB, free: 115 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/1.083, allocations: 72.41 kB / 0.7308 GB, free: 115 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002916/1.086, allocations: 2.41 MB / 0.7332 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003223/1.087, allocations: 29.58 kB / 0.7332 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001356/1.088, allocations: 2.759 MB / 0.7359 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007127/1.089, allocations: 0.8403 MB / 0.7367 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/1.089, allocations: 3.531 kB / 0.7367 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002778/1.089, allocations: 0.5572 MB / 0.7373 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002689/1.092, allocations: 2.527 MB / 0.7397 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00396/1.096, allocations: 5.741 MB / 0.7453 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004407/1.1, allocations: 3.818 MB / 0.7491 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.546e-05/1.1, allocations: 36.34 kB / 0.7491 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=768) (initialization): time 0.05742/1.158, allocations: 18.48 MB / 0.7672 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.799e-05/1.158, allocations: 61.05 kB / 0.7672 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03958/1.198, allocations: 11.88 MB / 0.7788 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04434/1.242, allocations: 10.31 MB / 0.7889 GB, free: 98.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004786/1.247, allocations: 1.333 MB / 0.7902 GB, free: 96.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02099/1.268, allocations: 15.09 MB / 0.8049 GB, free: 81.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004683/1.273, allocations: 349.9 kB / 0.8053 GB, free: 81.06 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007288/1.273, allocations: 336 kB / 0.8056 GB, free: 80.73 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 519 * 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 (696): * Single equations (assignments): 685 * 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.0007986/1.274, allocations: 390.5 kB / 0.806 GB, free: 80.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003968/1.274, allocations: 284.2 kB / 0.8062 GB, free: 80.06 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006751/1.281, allocations: 4.958 MB / 0.8111 GB, free: 75.08 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006758/1.288, allocations: 4.274 MB / 0.8152 GB, free: 70.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/1.288, allocations: 4 kB / 0.8152 GB, free: 70.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.243e-05/1.288, allocations: 7.969 kB / 0.8153 GB, free: 70.79 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0238/1.312, allocations: 11.94 MB / 0.8269 GB, free: 58.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-05/1.312, allocations: 8 kB / 0.8269 GB, free: 58.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001921/1.314, allocations: 408 kB / 0.8273 GB, free: 58.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002692/1.317, allocations: 0.9346 MB / 0.8282 GB, free: 57.43 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004531/1.317, allocations: 31.22 kB / 0.8283 GB, free: 57.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004833/1.322, allocations: 5.286 MB / 0.8334 GB, free: 51.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006388/1.323, allocations: 1.396 MB / 0.8348 GB, free: 50.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008991/1.332, allocations: 8.256 MB / 0.8428 GB, free: 41.86 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006409/1.332, allocations: 329.5 kB / 0.8432 GB, free: 41.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003225/1.333, allocations: 19.98 kB / 0.8432 GB, free: 41.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/1.334, allocations: 174 kB / 0.8433 GB, free: 41.32 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002657/1.334, allocations: 148.9 kB / 0.8435 GB, free: 41.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/1.334, allocations: 63.98 kB / 0.8435 GB, free: 41.12 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001887/1.336, allocations: 1.581 MB / 0.8451 GB, free: 39.53 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.81e-07/1.336, allocations: 0 / 0.8451 GB, free: 39.53 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003795/1.34, allocations: 1.004 MB / 0.8461 GB, free: 38.53 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * 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 (172): * Single equations (assignments): 163 * 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.0003804/1.341, allocations: 164.2 kB / 0.8462 GB, free: 38.37 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007853/1.348, allocations: 6.34 MB / 0.8524 GB, free: 32.03 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.348, allocations: 0 / 0.8524 GB, free: 32.03 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002731/1.351, allocations: 2.45 MB / 0.8548 GB, free: 29.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/1.353, allocations: 242.6 kB / 0.855 GB, free: 29.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/1.365, allocations: 8.522 MB / 0.8634 GB, free: 20.65 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002671/1.368, allocations: 3.244 MB / 0.8665 GB, free: 17.38 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004497/1.372, allocations: 2.177 MB / 0.8687 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006854/1.373, allocations: 211.4 kB / 0.8689 GB, free: 15 MB / 0.4948 GB Notification: Performance of SimCode: time 8.02e-07/1.373, allocations: 0 / 0.8689 GB, free: 15 MB / 0.4948 GB Notification: Performance of Templates: time 0.3021/1.675, allocations: 40.03 MB / 0.9079 GB, free: 134.2 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