Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 91.31 kB / 20.42 MB, free: 4.141 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 169 kB / 23.79 MB, free: 0.7734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.026/1.026, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.138/0.138, allocations: 32.36 MB / 270.4 MB, free: 14.81 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|sphericalSpherical.frame_b.r_0.[0-9,]+.|sphericalSpherical.frame_b.f.[0-9,]+.|sphericalSpherical.frame_b.t.[0-9,]+.|Prismatic1.frame_b.r_0.[0-9,]+.|Prismatic1.frame_b.f.[0-9,]+.|Prismatic1.frame_b.t.[0-9,]+.|Fixed1.frame_b.r_0.[0-9,]+.|Fixed1.frame_b.f.[0-9,]+.|Fixed1.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical") translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|sphericalSpherical.frame_b.r_0.[0-9,]+.|sphericalSpherical.frame_b.f.[0-9,]+.|sphericalSpherical.frame_b.t.[0-9,]+.|Prismatic1.frame_b.r_0.[0-9,]+.|Prismatic1.frame_b.f.[0-9,]+.|Prismatic1.frame_b.t.[0-9,]+.|Fixed1.frame_b.r_0.[0-9,]+.|Fixed1.frame_b.f.[0-9,]+.|Fixed1.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 347.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.872e-05, allocations: 8.219 kB / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.005594/0.005623, allocations: 7.419 MB / 355.1 MB, free: 1.996 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003898/0.009521, allocations: 2.489 MB / 357.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007032/0.01022, allocations: 35.88 kB / 357.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.01169, allocations: 0.9499 MB / 358.6 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005503/0.01224, allocations: 333.9 kB / 358.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006093/0.01285, allocations: 359 kB / 359.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007459/0.01359, allocations: 0.7706 MB / 360 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006847/0.01428, allocations: 0.6774 MB / 360.7 MB, free: 12.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005975/0.01487, allocations: 0.5611 MB / 361.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006275/0.0155, allocations: 0.5962 MB / 361.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.01564, allocations: 100 kB / 362 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005561/0.01619, allocations: 0.5069 MB / 362.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004017/0.01659, allocations: 0.5142 MB / 363 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002847/0.01688, allocations: 358.9 kB / 363.3 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.01808, allocations: 1.285 MB / 364.6 MB, free: 8.445 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.01809, allocations: 0 / 364.6 MB, free: 8.445 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.01809, allocations: 4 kB / 364.6 MB, free: 8.441 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.169e-05/0.01812, allocations: 0 / 364.6 MB, free: 8.441 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.002149/0.02027, allocations: 1.689 MB / 366.3 MB, free: 6.715 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.02031, allocations: 12.02 kB / 366.3 MB, free: 6.703 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005392/0.02085, allocations: 259.8 kB / 366.6 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006271/0.02147, allocations: 0.5548 MB / 367.1 MB, free: 5.863 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.066e-05/0.02151, allocations: 58.34 kB / 367.2 MB, free: 5.805 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.02167, allocations: 76.53 kB / 367.3 MB, free: 5.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/0.02408, allocations: 1.776 MB / 369 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.02411, allocations: 7.938 kB / 369 MB, free: 3.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.906e-05/0.02417, allocations: 35.97 kB / 369.1 MB, free: 3.715 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003035/0.02447, allocations: 385.7 kB / 369.5 MB, free: 3.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00228/0.02675, allocations: 1.275 MB / 370.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005346/0.0321, allocations: 8.77 MB / 379.5 MB, free: 8.988 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.03393, allocations: 0.7518 MB / 380.3 MB, free: 8.223 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.03409, allocations: 123.6 kB / 380.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005846/0.03468, allocations: 0.5773 MB / 380.9 MB, free: 7.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.0347, allocations: 41.33 kB / 381 MB, free: 7.469 MB / 314.7 MB Notification: Performance of pre-optimization done (n=44): time 2.224e-06/0.03471, allocations: 0 / 381 MB, free: 7.469 MB / 314.7 MB Notification: Performance of matching and sorting (n=58): time 0.005889/0.0406, allocations: 2.541 MB / 383.5 MB, free: 4.918 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.04064, allocations: 59.89 kB / 383.6 MB, free: 4.848 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007137/0.04136, allocations: 0.8266 MB / 384.4 MB, free: 4.004 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.04139, allocations: 33.7 kB / 384.4 MB, free: 3.965 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003732/0.04176, allocations: 0.7707 MB / 385.2 MB, free: 3.184 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.04189, allocations: 218.2 kB / 385.4 MB, free: 2.969 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.04211, allocations: 280.4 kB / 385.7 MB, free: 2.688 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.04231, allocations: 0.586 MB / 386.3 MB, free: 2.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.04253, allocations: 154.4 kB / 386.4 MB, free: 1.938 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000746/0.04328, allocations: 1.129 MB / 387.6 MB, free: 364 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.0445, allocations: 1.409 MB / 389 MB, free: 14.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/0.04451, allocations: 8 kB / 389 MB, free: 14.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.001178/0.04569, allocations: 1.068 MB / 390.1 MB, free: 13.42 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.04572, allocations: 16 kB / 390.1 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.04574, allocations: 24 kB / 390.1 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.124e-05/0.04577, allocations: 32 kB / 390.1 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007344/0.0465, allocations: 331.4 kB / 390.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/0.04762, allocations: 1.841 MB / 392.3 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.04802, allocations: 59.95 kB / 392.3 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.619e-05/0.04808, allocations: 68 kB / 392.4 MB, free: 10.94 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 27 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (164): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002423/0.04832, allocations: 279.9 kB / 392.7 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.462e-05/0.04842, allocations: 103.5 kB / 392.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.625e-05/0.0485, allocations: 103.8 kB / 392.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.04851, allocations: 8 kB / 392.9 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.04851, allocations: 0 / 392.9 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.04852, allocations: 3.984 kB / 392.9 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.05035, allocations: 1.641 MB / 394.5 MB, free: 8.641 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.05035, allocations: 4 kB / 394.5 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.05063, allocations: 123.8 kB / 394.7 MB, free: 8.516 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-06/0.05064, allocations: 12 kB / 394.7 MB, free: 8.504 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.05067, allocations: 16 kB / 394.7 MB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/0.0518, allocations: 1.816 MB / 396.5 MB, free: 6.551 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.05181, allocations: 8 kB / 396.5 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006053/0.05241, allocations: 0.7692 MB / 397.3 MB, free: 5.637 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.05254, allocations: 107.5 kB / 397.4 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.473e-05/0.05258, allocations: 23.98 kB / 397.4 MB, free: 5.508 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.05274, allocations: 16 kB / 397.4 MB, free: 5.492 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.019e-05/0.05281, allocations: 59.78 kB / 397.5 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.05283, allocations: 20 kB / 397.5 MB, free: 5.414 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003729/0.0532, allocations: 431 kB / 397.9 MB, free: 5 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.0532, allocations: 0 / 397.9 MB, free: 5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007256/0.05392, allocations: 223.9 kB / 398.2 MB, free: 4.781 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 0 () * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002015/0.05413, allocations: 131 kB / 398.3 MB, free: 4.641 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007415/0.05487, allocations: 0.604 MB / 398.9 MB, free: 4.039 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.05487, allocations: 0 / 398.9 MB, free: 4.039 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.05506, allocations: 182.6 kB / 399.1 MB, free: 3.859 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004819/0.05554, allocations: 117.8 kB / 399.2 MB, free: 3.746 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.05798, allocations: 1.956 MB / 401.1 MB, free: 1.641 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.05823, allocations: 303.5 kB / 401.4 MB, free: 1.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004588/0.05869, allocations: 287 kB / 401.7 MB, free: 1.035 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.05883, allocations: 72.48 kB / 401.8 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of SimCode: time 1.452e-06/0.05883, allocations: 0 / 401.8 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of Templates: time 0.01248/0.07131, allocations: 7.379 MB / 409.2 MB, free: 9.688 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.274219920858741]