Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00159/0.00159, allocations: 115.5 kB / 18.44 MB, free: 4.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001626/0.001626, allocations: 205.8 kB / 21.4 MB, free: 1.773 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 227.4 MB / 251.6 MB, free: 268 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2389/0.2389, allocations: 46.17 MB / 351.1 MB, free: 14.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_trunk_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_trunk_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 81.95 kB / 490.2 MB, free: 28.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1457, allocations: 62.45 MB / 0.5397 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01369/0.1594, allocations: 11.76 MB / 0.5512 GB, free: 8.422 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0097/0.1692, allocations: 4.058 MB / 0.5551 GB, free: 4.348 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002317/0.1716, allocations: 59.88 kB / 0.5552 GB, free: 4.289 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00274/0.1743, allocations: 1.179 MB / 0.5563 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005093/0.1795, allocations: 1.716 MB / 0.558 GB, free: 1.383 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.1811, allocations: 0.5574 MB / 0.5585 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006601/0.1877, allocations: 4.047 MB / 0.5625 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002543/0.1903, allocations: 1.776 MB / 0.5642 GB, free: 10.97 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002092/0.1924, allocations: 1.152 MB / 0.5654 GB, free: 9.812 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003617/0.196, allocations: 1.666 MB / 0.567 GB, free: 8.141 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008878/0.197, allocations: 220 kB / 0.5672 GB, free: 7.926 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003293/0.2003, allocations: 1.287 MB / 0.5685 GB, free: 6.637 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00189/0.2022, allocations: 1.574 MB / 0.57 GB, free: 5.059 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002206/0.2044, allocations: 1.828 MB / 0.5718 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008608/0.213, allocations: 6.197 MB / 0.5778 GB, free: 13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.2131, allocations: 4 kB / 0.5778 GB, free: 12.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2131, allocations: 0 / 0.5778 GB, free: 12.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002105/0.2133, allocations: 0 / 0.5778 GB, free: 12.99 MB / 446.1 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.01029/0.2236, allocations: 4.186 MB / 0.5819 GB, free: 8.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.2237, allocations: 12.03 kB / 0.5819 GB, free: 8.719 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02033/0.244, allocations: 6.159 MB / 0.5879 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005414/0.2495, allocations: 2.182 MB / 0.5901 GB, free: 328 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/0.2496, allocations: 180.8 kB / 0.5902 GB, free: 144 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001161/0.2508, allocations: 311.7 kB / 0.5905 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01869/0.2695, allocations: 10.72 MB / 0.601 GB, free: 4.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.384e-05/0.2696, allocations: 35.7 kB / 0.601 GB, free: 4.625 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003842/0.27, allocations: 115.8 kB / 0.6012 GB, free: 4.512 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004082/0.2741, allocations: 2.459 MB / 0.6036 GB, free: 2.047 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3813/0.6555, allocations: 10.16 MB / 0.6135 GB, free: 52.59 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05086/0.7064, allocations: 35.57 MB / 0.6482 GB, free: 29.88 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009493/0.7159, allocations: 5.595 MB / 0.6537 GB, free: 25.01 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002348/0.7183, allocations: 2.334 MB / 0.6559 GB, free: 22.68 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/0.7195, allocations: 1.878 MB / 0.6578 GB, free: 20.47 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.7195, allocations: 48.56 kB / 0.6578 GB, free: 20.42 MB / 462.1 MB Notification: Performance of pre-optimization done (n=224): time 4.298e-06/0.7195, allocations: 0 / 0.6578 GB, free: 20.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=231): time 0.02869/0.7482, allocations: 15.03 MB / 0.6725 GB, free: 5.496 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009365/0.7492, allocations: 1.612 MB / 0.6741 GB, free: 3.727 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003205/0.7524, allocations: 2.796 MB / 0.6768 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004496/0.7529, allocations: 53.7 kB / 0.6769 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001962/0.7548, allocations: 2.796 MB / 0.6796 GB, free: 14.19 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001293/0.7561, allocations: 0.8882 MB / 0.6805 GB, free: 13.32 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001772/0.7579, allocations: 1.12 MB / 0.6815 GB, free: 12.19 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.7581, allocations: 309.1 kB / 0.6818 GB, free: 11.88 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004084/0.7622, allocations: 2.634 MB / 0.6844 GB, free: 9.246 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007015/0.7692, allocations: 5.641 MB / 0.6899 GB, free: 2.133 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01271/0.7819, allocations: 8.941 MB / 0.6987 GB, free: 7.719 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.671e-05/0.782, allocations: 32 kB / 0.6987 GB, free: 7.688 MB / 494.1 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.06364/0.8457, allocations: 17.15 MB / 0.7154 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.209e-05/0.8458, allocations: 52.03 kB / 0.7155 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04432/0.8901, allocations: 10.63 MB / 0.7259 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04728/0.9375, allocations: 8.645 MB / 0.7343 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00512/0.9426, allocations: 1.314 MB / 0.7356 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03192/0.9746, allocations: 17.81 MB / 0.753 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005784/0.9804, allocations: 419.6 kB / 0.7534 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001635/0.9821, allocations: 320 kB / 0.7537 GB, free: 15 MB / 0.545 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.006601/0.9887, allocations: 2.022 MB / 0.7557 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008518/0.9895, allocations: 286.1 kB / 0.7559 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009814/0.9994, allocations: 5.106 MB / 0.7609 GB, free: 7.555 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008721/1.008, allocations: 4.401 MB / 0.7652 GB, free: 3.133 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/1.008, allocations: 4 kB / 0.7652 GB, free: 3.129 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.209e-05/1.008, allocations: 7.969 kB / 0.7652 GB, free: 3.121 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02489/1.033, allocations: 12.92 MB / 0.7779 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/1.033, allocations: 8 kB / 0.7779 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002312/1.035, allocations: 459.2 kB / 0.7783 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003109/1.039, allocations: 0.9429 MB / 0.7792 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003022/1.039, allocations: 48.05 kB / 0.7793 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007727/1.047, allocations: 5.841 MB / 0.785 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001543/1.048, allocations: 1.55 MB / 0.7865 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01296/1.061, allocations: 7.747 MB / 0.7941 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009706/1.062, allocations: 347.2 kB / 0.7944 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004318/1.063, allocations: 47.97 kB / 0.7944 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001593/1.064, allocations: 191.7 kB / 0.7946 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000429/1.065, allocations: 140.9 kB / 0.7947 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001773/1.065, allocations: 71.92 kB / 0.7948 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002815/1.068, allocations: 1.718 MB / 0.7965 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/1.068, allocations: 4 kB / 0.7965 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004731/1.072, allocations: 1.094 MB / 0.7976 GB, free: 1.266 MB / 0.5762 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.0004861/1.073, allocations: 182.7 kB / 0.7977 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01469/1.088, allocations: 6.597 MB / 0.8042 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.222e-05/1.088, allocations: 8.125 kB / 0.8042 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006431/1.094, allocations: 2.532 MB / 0.8067 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003336/1.097, allocations: 383.8 kB / 0.807 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02084/1.118, allocations: 9.942 MB / 0.8167 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005328/1.124, allocations: 3.164 MB / 0.8198 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005726/1.13, allocations: 2.056 MB / 0.8218 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/1.131, allocations: 211.4 kB / 0.822 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of SimCode: time 1.703e-06/1.131, allocations: 0 / 0.822 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of Templates: time 0.3471/1.478, allocations: 43.78 MB / 0.8648 GB, free: 210 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Spherical/Spherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.4398430194705725]