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/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.001079/0.001079, allocations: 80.45 kB / 20.69 MB, free: 3.871 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.001051/0.001051, allocations: 169.9 kB / 23.96 MB, free: 0.5977 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 0.8603/0.8603, allocations: 158.6 MB / 185.7 MB, free: 3.035 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.1377/0.1377, allocations: 32.38 MB / 270.4 MB, free: 14.96 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.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 408.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.689e-05, allocations: 2.281 kB / 408.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.007559/0.007586, allocations: 10.33 MB / 418.4 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006073/0.01366, allocations: 3.859 MB / 422.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.0151, allocations: 71.69 kB / 422.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001752/0.01685, allocations: 1.222 MB / 423.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003156/0.02001, allocations: 1.852 MB / 425.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.02107, allocations: 0.6 MB / 426 MB, free: 11 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004024/0.0251, allocations: 4.573 MB / 430.6 MB, free: 6.414 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002176/0.02727, allocations: 2.195 MB / 432.8 MB, free: 4.191 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002198/0.02947, allocations: 1.882 MB / 434.7 MB, free: 2.305 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002163/0.03163, allocations: 2.073 MB / 436.8 MB, free: 232 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000426/0.03206, allocations: 224 kB / 437 MB, free: 8 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1699/0.202, allocations: 1.255 MB / 438.2 MB, free: 21.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001707/0.2037, allocations: 1.717 MB / 440 MB, free: 21.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001634/0.2053, allocations: 0.9924 MB / 441 MB, free: 21.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00763/0.2129, allocations: 6.303 MB / 447.3 MB, free: 21.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2129, allocations: 0 / 447.3 MB, free: 21.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2129, allocations: 0 / 447.3 MB, free: 21.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002355/0.2132, allocations: 1.219 kB / 447.3 MB, free: 21.21 MB / 362.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.009273/0.2224, allocations: 4.23 MB / 451.5 MB, free: 19.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.2225, allocations: 9.844 kB / 451.5 MB, free: 19.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/0.2329, allocations: 5.752 MB / 457.2 MB, free: 18.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004513/0.2374, allocations: 2.075 MB / 459.3 MB, free: 16.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.2375, allocations: 180.4 kB / 459.5 MB, free: 16.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009355/0.2385, allocations: 317 kB / 459.8 MB, free: 16.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01224/0.2507, allocations: 10.73 MB / 470.5 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.907e-05/0.2508, allocations: 35.42 kB / 470.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003068/0.2511, allocations: 110.7 kB / 470.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001978/0.2531, allocations: 2.455 MB / 473.1 MB, free: 7.707 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01333/0.2664, allocations: 10.16 MB / 483.3 MB, free: 13.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04046/0.3068, allocations: 33.34 MB / 0.5045 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007111/0.314, allocations: 4.583 MB / 0.509 GB, free: 7.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002644/0.3166, allocations: 2.189 MB / 0.5111 GB, free: 5.215 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006967/0.3173, allocations: 0.5458 MB / 0.5117 GB, free: 4.672 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.3173, allocations: 55.56 kB / 0.5117 GB, free: 4.613 MB / 410.7 MB Notification: Performance of pre-optimization done (n=224): time 5.931e-06/0.3173, allocations: 0 / 0.5117 GB, free: 4.613 MB / 410.7 MB Notification: Performance of matching and sorting (n=231): time 0.02443/0.3418, allocations: 15.19 MB / 0.5266 GB, free: 5.398 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001011/0.3428, allocations: 1.492 MB / 0.528 GB, free: 3.793 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003817/0.3466, allocations: 3.028 MB / 0.531 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006274/0.3472, allocations: 61.2 kB / 0.531 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001667/0.3489, allocations: 2.766 MB / 0.5337 GB, free: 13.92 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001076/0.35, allocations: 0.8787 MB / 0.5346 GB, free: 13.05 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001436/0.3514, allocations: 1.108 MB / 0.5357 GB, free: 11.93 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.509e-05/0.3515, allocations: 301.1 kB / 0.536 GB, free: 11.64 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00311/0.3546, allocations: 2.857 MB / 0.5388 GB, free: 8.777 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005239/0.3598, allocations: 5.857 MB / 0.5445 GB, free: 1.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0105/0.3703, allocations: 9.356 MB / 0.5536 GB, free: 6.844 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001083/0.3704, allocations: 32 kB / 0.5536 GB, free: 6.812 MB / 458.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.05858/0.429, allocations: 39.12 MB / 0.5918 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.572e-05/0.4291, allocations: 51.94 kB / 0.5919 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04069/0.4698, allocations: 27.62 MB / 0.6189 GB, free: 3.906 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2369/0.7067, allocations: 28.38 MB / 0.6466 GB, free: 173.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002966/0.7097, allocations: 1.316 MB / 0.6479 GB, free: 173 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02352/0.7332, allocations: 28.42 MB / 0.6756 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004015/0.7372, allocations: 0.5891 MB / 0.6762 GB, free: 145.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008215/0.738, allocations: 323 kB / 0.6765 GB, free: 145 MB / 0.5105 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.003548/0.7416, allocations: 2.023 MB / 0.6785 GB, free: 143.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005779/0.7421, allocations: 274.3 kB / 0.6787 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004851/0.747, allocations: 5.098 MB / 0.6837 GB, free: 137.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003829/0.7508, allocations: 4.394 MB / 0.688 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.7508, allocations: 3.984 kB / 0.688 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/0.7509, allocations: 7.969 kB / 0.688 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0136/0.7644, allocations: 11.6 MB / 0.6994 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.7645, allocations: 8 kB / 0.6994 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.7655, allocations: 451.2 kB / 0.6998 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001387/0.7669, allocations: 0.9419 MB / 0.7007 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001446/0.767, allocations: 58.62 kB / 0.7008 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003477/0.7705, allocations: 5.546 MB / 0.7062 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004467/0.7709, allocations: 1.422 MB / 0.7076 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006492/0.7774, allocations: 7.714 MB / 0.7151 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007216/0.7781, allocations: 286.5 kB / 0.7154 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002749/0.7784, allocations: 40 kB / 0.7154 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009128/0.7793, allocations: 247.6 kB / 0.7156 GB, free: 105 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002338/0.7796, allocations: 148.9 kB / 0.7158 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.676e-05/0.7797, allocations: 66.81 kB / 0.7159 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00176/0.7814, allocations: 1.756 MB / 0.7176 GB, free: 103 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7814, allocations: 0 / 0.7176 GB, free: 103 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003308/0.7847, allocations: 1.257 MB / 0.7188 GB, free: 101.8 MB / 0.5105 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.0004615/0.7852, allocations: 201.5 kB / 0.719 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006776/0.792, allocations: 7.042 MB / 0.7259 GB, free: 94.58 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/0.792, allocations: 4 kB / 0.7259 GB, free: 94.58 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001968/0.794, allocations: 2.296 MB / 0.7281 GB, free: 92.26 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.7956, allocations: 301.4 kB / 0.7284 GB, free: 91.98 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.8066, allocations: 10.44 MB / 0.7386 GB, free: 81.42 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001984/0.8086, allocations: 2.617 MB / 0.7412 GB, free: 78.78 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/0.8096, allocations: 256.4 kB / 0.7414 GB, free: 78.53 MB / 0.5105 GB Notification: Performance of SimCode: time 1.754e-06/0.8096, allocations: 4 kB / 0.7414 GB, free: 78.52 MB / 0.5105 GB Notification: Performance of Templates: time 0.2316/1.041, allocations: 115.9 MB / 0.8546 GB, free: 154.2 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 9.109691040590405]