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.00176/0.00176, allocations: 89.22 kB / 20.68 MB, free: 1.02 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.002142/0.002142, allocations: 158.6 kB / 23.95 MB, free: 4.152 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.54/1.54, allocations: 177 MB / 204.1 MB, free: 9.172 MB / 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.2335/0.2335, allocations: 34.27 MB / 294.8 MB, free: 14.54 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 1.463e-06/1.463e-06, allocations: 0 / 442.7 MB, free: 5.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.509e-05/2.655e-05, allocations: 6.281 kB / 442.7 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.2122/0.2122, allocations: 10.26 MB / 452.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008441/0.2207, allocations: 3.877 MB / 456.8 MB, free: 11.67 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002242/0.2229, allocations: 69 kB / 456.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003238/0.2262, allocations: 1.205 MB / 458.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005376/0.2315, allocations: 1.83 MB / 459.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.2334, allocations: 0.6008 MB / 460.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008304/0.2417, allocations: 4.706 MB / 465.2 MB, free: 8.555 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004953/0.2467, allocations: 2.175 MB / 467.4 MB, free: 7.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005692/0.2523, allocations: 1.865 MB / 469.3 MB, free: 6.645 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004118/0.2565, allocations: 2.067 MB / 471.3 MB, free: 5.531 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001146/0.2576, allocations: 224.9 kB / 471.5 MB, free: 5.531 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003359/0.261, allocations: 1.257 MB / 472.8 MB, free: 5.008 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002271/0.2632, allocations: 1.681 MB / 474.5 MB, free: 4.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002776/0.266, allocations: 0.9753 MB / 475.5 MB, free: 3.484 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008144/0.2742, allocations: 6.225 MB / 481.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2742, allocations: 3.938 kB / 481.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2742, allocations: 0 / 481.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002414/0.2744, allocations: 0 / 481.7 MB, free: 14.91 MB / 382.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.01102/0.2854, allocations: 4.189 MB / 485.9 MB, free: 10.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.2855, allocations: 12.03 kB / 485.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02276/0.3082, allocations: 6.21 MB / 492.1 MB, free: 4.434 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005025/0.3133, allocations: 2.027 MB / 494.1 MB, free: 2.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001769/0.3134, allocations: 176.8 kB / 494.3 MB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001171/0.3146, allocations: 312.7 kB / 494.6 MB, free: 1.891 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02015/0.3347, allocations: 10.73 MB / 0.4935 GB, free: 6.703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-05/0.3348, allocations: 31.8 kB / 0.4935 GB, free: 6.672 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003795/0.3352, allocations: 111.8 kB / 0.4936 GB, free: 6.562 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004425/0.3396, allocations: 2.455 MB / 0.496 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02156/0.3612, allocations: 10.17 MB / 0.506 GB, free: 9.934 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05863/0.4198, allocations: 33.32 MB / 0.5385 GB, free: 7.773 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01213/0.432, allocations: 4.591 MB / 0.543 GB, free: 3.168 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0033/0.4353, allocations: 2.183 MB / 0.5451 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001173/0.4364, allocations: 0.5441 MB / 0.5456 GB, free: 452 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.075e-05/0.4365, allocations: 56.5 kB / 0.5457 GB, free: 384 kB / 446.1 MB Notification: Performance of pre-optimization done (n=224): time 4.689e-06/0.4365, allocations: 4 kB / 0.5457 GB, free: 380 kB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.03883/0.4753, allocations: 15.15 MB / 0.5605 GB, free: 1.164 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001653/0.477, allocations: 1.488 MB / 0.5619 GB, free: 15.56 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006063/0.483, allocations: 2.981 MB / 0.5649 GB, free: 12.55 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007518/0.4838, allocations: 61.69 kB / 0.5649 GB, free: 12.49 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00321/0.487, allocations: 2.764 MB / 0.5676 GB, free: 9.695 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002136/0.4891, allocations: 0.8758 MB / 0.5685 GB, free: 8.812 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002408/0.4915, allocations: 1.112 MB / 0.5696 GB, free: 7.688 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4917, allocations: 301.1 kB / 0.5698 GB, free: 7.391 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0048/0.4965, allocations: 2.849 MB / 0.5726 GB, free: 4.535 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007892/0.5044, allocations: 5.866 MB / 0.5784 GB, free: 13.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01362/0.518, allocations: 9.359 MB / 0.5875 GB, free: 2.371 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001045/0.5181, allocations: 32 kB / 0.5875 GB, free: 2.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.102/0.6201, allocations: 33.34 MB / 0.6201 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.534e-05/0.6202, allocations: 55.94 kB / 0.6201 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3112/0.9314, allocations: 23.38 MB / 0.643 GB, free: 166.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07468/1.006, allocations: 23.34 MB / 0.6658 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005503/1.012, allocations: 1.316 MB / 0.667 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04605/1.058, allocations: 27.19 MB / 0.6936 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008055/1.066, allocations: 0.5501 MB / 0.6941 GB, free: 136.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001707/1.067, allocations: 327.3 kB / 0.6945 GB, free: 136.1 MB / 0.5294 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.007104/1.074, allocations: 2.018 MB / 0.6964 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0012/1.076, allocations: 272.4 kB / 0.6967 GB, free: 134 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01404/1.09, allocations: 5.107 MB / 0.7017 GB, free: 128.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01305/1.103, allocations: 4.393 MB / 0.706 GB, free: 124.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-05/1.103, allocations: 2.125 kB / 0.706 GB, free: 124.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.372e-05/1.103, allocations: 7.969 kB / 0.706 GB, free: 124.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03326/1.136, allocations: 11.59 MB / 0.7173 GB, free: 112.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.432e-05/1.136, allocations: 8 kB / 0.7173 GB, free: 112.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003985/1.14, allocations: 459.2 kB / 0.7177 GB, free: 112.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004766/1.145, allocations: 0.937 MB / 0.7186 GB, free: 111.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006448/1.146, allocations: 52.84 kB / 0.7187 GB, free: 111.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00742/1.153, allocations: 5.56 MB / 0.7241 GB, free: 105.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000774/1.154, allocations: 1.419 MB / 0.7255 GB, free: 104.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01225/1.166, allocations: 7.701 MB / 0.733 GB, free: 96.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/1.167, allocations: 289.7 kB / 0.7333 GB, free: 96.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000728/1.168, allocations: 51.77 kB / 0.7334 GB, free: 96.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00177/1.17, allocations: 231.6 kB / 0.7336 GB, free: 96.07 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003796/1.17, allocations: 156.7 kB / 0.7337 GB, free: 95.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/1.17, allocations: 75.97 kB / 0.7338 GB, free: 95.85 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002163/1.172, allocations: 1.72 MB / 0.7355 GB, free: 94.12 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/1.172, allocations: 0 / 0.7355 GB, free: 94.12 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005235/1.178, allocations: 1.222 MB / 0.7367 GB, free: 92.91 MB / 0.5294 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.0007086/1.178, allocations: 201.8 kB / 0.7369 GB, free: 92.71 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01016/1.189, allocations: 6.831 MB / 0.7435 GB, free: 85.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/1.189, allocations: 4 kB / 0.7435 GB, free: 85.89 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003107/1.192, allocations: 2.303 MB / 0.7458 GB, free: 83.57 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/1.194, allocations: 300.5 kB / 0.7461 GB, free: 83.28 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/1.208, allocations: 9.988 MB / 0.7558 GB, free: 73.19 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002558/1.21, allocations: 2.613 MB / 0.7584 GB, free: 70.54 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003737/1.214, allocations: 2.047 MB / 0.7604 GB, free: 68.49 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007904/1.215, allocations: 212.4 kB / 0.7606 GB, free: 68.28 MB / 0.5294 GB Notification: Performance of SimCode: time 1.112e-06/1.215, allocations: 0 / 0.7606 GB, free: 68.28 MB / 0.5294 GB Notification: Performance of Templates: time 0.06764/1.282, allocations: 46.79 MB / 0.8063 GB, free: 21.75 MB / 0.5294 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.1.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.363935865461826]