Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.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.0009912/0.0009912, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009962/0.0009962, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9292/0.9292, allocations: 177.1 MB / 205 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2557/0.2557, allocations: 32.81 MB / 294.3 MB, free: 1.27 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.[0-9,]+.|body.w_a.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.[0-9,]+.|body.w_a.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.488e-05/4.675e-05, allocations: 2.312 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.009537/0.009584, allocations: 11.32 MB / 387.3 MB, free: 9.285 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008046/0.01763, allocations: 3.999 MB / 391.3 MB, free: 5.273 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001966/0.0196, allocations: 75.62 kB / 391.4 MB, free: 5.199 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001858/0.02145, allocations: 1.245 MB / 392.7 MB, free: 3.949 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00316/0.02461, allocations: 1.836 MB / 394.5 MB, free: 2.105 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009877/0.0256, allocations: 0.6078 MB / 395.1 MB, free: 1.496 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004343/0.02994, allocations: 4.701 MB / 399.8 MB, free: 12.79 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002719/0.03266, allocations: 2.259 MB / 402.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002672/0.03533, allocations: 1.867 MB / 403.9 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002671/0.03801, allocations: 2.069 MB / 406 MB, free: 6.559 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000718/0.03872, allocations: 228 kB / 406.2 MB, free: 6.336 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00199/0.04071, allocations: 1.248 MB / 407.5 MB, free: 5.086 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001377/0.04209, allocations: 1.69 MB / 409.2 MB, free: 3.391 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001525/0.04362, allocations: 0.9808 MB / 410.1 MB, free: 2.406 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005545/0.04916, allocations: 4.191 MB / 414.3 MB, free: 14.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.04916, allocations: 0 / 414.3 MB, free: 14.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.04917, allocations: 0 / 414.3 MB, free: 14.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002076/0.04937, allocations: 0 / 414.3 MB, free: 14.2 MB / 394.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.007221/0.05659, allocations: 4.61 MB / 418.9 MB, free: 9.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.05665, allocations: 16.02 kB / 419 MB, free: 9.504 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01208/0.06873, allocations: 6.71 MB / 425.7 MB, free: 2.781 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003664/0.07239, allocations: 1.834 MB / 427.5 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.07251, allocations: 176.8 kB / 427.7 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008761/0.07339, allocations: 304.5 kB / 428 MB, free: 448 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009645/0.08303, allocations: 5.715 MB / 433.7 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.138e-05/0.08311, allocations: 31.7 kB / 433.7 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003012/0.08341, allocations: 111.8 kB / 433.8 MB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002467/0.08588, allocations: 2.455 MB / 436.3 MB, free: 7.508 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009977/0.09586, allocations: 3.826 MB / 440.1 MB, free: 3.672 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1964/0.2923, allocations: 35.28 MB / 475.4 MB, free: 67.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007026/0.2993, allocations: 2.921 MB / 478.3 MB, free: 66.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.3005, allocations: 0.6544 MB / 479 MB, free: 66.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007435/0.3013, allocations: 0.5169 MB / 479.5 MB, free: 66.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.3013, allocations: 53.92 kB / 479.5 MB, free: 66.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=224): time 4.749e-06/0.3013, allocations: 0 / 479.5 MB, free: 66.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=231): time 0.02113/0.3224, allocations: 8.85 MB / 488.4 MB, free: 64.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008823/0.3233, allocations: 1.975 MB / 490.4 MB, free: 62.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0034/0.3267, allocations: 2.692 MB / 493.1 MB, free: 61.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002606/0.327, allocations: 56.83 kB / 493.1 MB, free: 61.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001392/0.3284, allocations: 2.909 MB / 496 MB, free: 59.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008266/0.3292, allocations: 0.9263 MB / 496.9 MB, free: 59.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001536/0.3307, allocations: 1.171 MB / 498.1 MB, free: 58.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.693e-05/0.3308, allocations: 478 kB / 498.6 MB, free: 57.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001857/0.3326, allocations: 0.8284 MB / 499.4 MB, free: 57.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003562/0.3362, allocations: 5.282 MB / 0.4929 GB, free: 51.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01239/0.3486, allocations: 6.768 MB / 0.4995 GB, free: 45.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.982e-05/0.3487, allocations: 29.5 kB / 0.4995 GB, free: 45.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.05204/0.4007, allocations: 28.96 MB / 0.5278 GB, free: 26.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.661e-05/0.4008, allocations: 51.98 kB / 0.5278 GB, free: 26.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0329/0.4337, allocations: 20.16 MB / 0.5475 GB, free: 6.305 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.06373/0.4974, allocations: 29.22 MB / 0.576 GB, free: 9.016 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004069/0.5015, allocations: 1.318 MB / 0.5773 GB, free: 7.695 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02158/0.5231, allocations: 10.02 MB / 0.5871 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004405/0.5275, allocations: 0.5515 MB / 0.5877 GB, free: 12.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000833/0.5283, allocations: 322.6 kB / 0.588 GB, free: 12.58 MB / 458.7 MB 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.001554/0.5299, allocations: 0.5668 MB / 0.5885 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005877/0.5304, allocations: 340.4 kB / 0.5888 GB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004974/0.5354, allocations: 2.624 MB / 0.5914 GB, free: 9.008 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004268/0.5397, allocations: 1.835 MB / 0.5932 GB, free: 7.156 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.5397, allocations: 0 / 0.5932 GB, free: 7.156 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-05/0.5397, allocations: 7.969 kB / 0.5932 GB, free: 7.148 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1871/0.7268, allocations: 7.895 MB / 0.6009 GB, free: 129.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/0.7268, allocations: 10.19 kB / 0.6009 GB, free: 129.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001363/0.7282, allocations: 451.2 kB / 0.6014 GB, free: 129.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001452/0.7296, allocations: 0.6131 MB / 0.602 GB, free: 129.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002136/0.7298, allocations: 54.8 kB / 0.602 GB, free: 129.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002743/0.7326, allocations: 4.4 MB / 0.6063 GB, free: 126.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005451/0.7331, allocations: 1.909 MB / 0.6082 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004742/0.7379, allocations: 3.228 MB / 0.6113 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006866/0.7385, allocations: 280 kB / 0.6116 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002349/0.7388, allocations: 41.23 kB / 0.6116 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009133/0.7397, allocations: 237.2 kB / 0.6119 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002562/0.7399, allocations: 152.9 kB / 0.612 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.7401, allocations: 64.92 kB / 0.6121 GB, free: 123.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001342/0.7414, allocations: 1.146 MB / 0.6132 GB, free: 123.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7414, allocations: 0 / 0.6132 GB, free: 123.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003497/0.7449, allocations: 1.229 MB / 0.6144 GB, free: 123.5 MB / 458.7 MB 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.0004226/0.7453, allocations: 194.6 kB / 0.6146 GB, free: 123.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005942/0.7513, allocations: 4.044 MB / 0.6185 GB, free: 123 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.7513, allocations: 0 / 0.6185 GB, free: 123 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001599/0.7529, allocations: 1.321 MB / 0.6198 GB, free: 122.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/0.7544, allocations: 319.8 kB / 0.6201 GB, free: 122.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.765, allocations: 7.871 MB / 0.6278 GB, free: 119.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/0.766, allocations: 1.174 MB / 0.6289 GB, free: 119.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002773/0.7688, allocations: 1.675 MB / 0.6306 GB, free: 119 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006654/0.7695, allocations: 211.5 kB / 0.6308 GB, free: 119 MB / 458.7 MB Notification: Performance of SimCode: time 2.384e-06/0.7695, allocations: 4 kB / 0.6308 GB, free: 119 MB / 458.7 MB Notification: Performance of Templates: time 0.05752/0.827, allocations: 49.17 MB / 0.6788 GB, free: 87.29 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.812195469159633]