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.001916/0.001916, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 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.002352/0.002352, allocations: 211.5 kB / 22.99 MB, free: 4.602 MB / 14.72 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.565/1.565, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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.276/0.276, allocations: 44.25 MB / 330.3 MB, free: 9.328 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 67.91 kB / 468 MB, free: 3.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1467, allocations: 61.05 MB / 0.5166 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01375/0.1605, allocations: 10.31 MB / 0.5267 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009909/0.1704, allocations: 3.856 MB / 0.5305 GB, free: 8.449 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002579/0.173, allocations: 71.75 kB / 0.5306 GB, free: 8.379 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002836/0.1758, allocations: 1.16 MB / 0.5317 GB, free: 7.215 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00559/0.1814, allocations: 1.814 MB / 0.5335 GB, free: 5.395 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.1832, allocations: 0.5613 MB / 0.534 GB, free: 4.832 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006284/0.1894, allocations: 3.95 MB / 0.5379 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.354/0.5435, allocations: 1.692 MB / 0.5395 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003618/0.5471, allocations: 1.191 MB / 0.5407 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004612/0.5517, allocations: 1.796 MB / 0.5424 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009731/0.5527, allocations: 218.4 kB / 0.5426 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004168/0.5568, allocations: 1.191 MB / 0.5438 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002824/0.5597, allocations: 1.632 MB / 0.5454 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002607/0.5623, allocations: 1.326 MB / 0.5467 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0166/0.5789, allocations: 6.295 MB / 0.5528 GB, free: 9.414 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.5789, allocations: 0 / 0.5528 GB, free: 9.414 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.5789, allocations: 1.625 kB / 0.5528 GB, free: 9.414 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005162/0.5794, allocations: 0 / 0.5528 GB, free: 9.414 MB / 414.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.02157/0.601, allocations: 4.144 MB / 0.5569 GB, free: 7.629 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.065e-05/0.601, allocations: 10.34 kB / 0.5569 GB, free: 7.629 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02169/0.6227, allocations: 5.699 MB / 0.5625 GB, free: 6.586 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008606/0.6313, allocations: 2.232 MB / 0.5646 GB, free: 5.422 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003582/0.6317, allocations: 177.9 kB / 0.5648 GB, free: 5.379 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00213/0.6338, allocations: 315.9 kB / 0.5651 GB, free: 5.305 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02414/0.6579, allocations: 10.72 MB / 0.5756 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001151/0.6581, allocations: 23.53 kB / 0.5756 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004955/0.6586, allocations: 122.6 kB / 0.5757 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00498/0.6635, allocations: 2.46 MB / 0.5781 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02946/0.693, allocations: 10.13 MB / 0.588 GB, free: 7.18 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07921/0.7722, allocations: 32.98 MB / 0.6202 GB, free: 5.93 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01319/0.7854, allocations: 4.459 MB / 0.6246 GB, free: 1.488 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004759/0.7902, allocations: 2.182 MB / 0.6267 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001515/0.7917, allocations: 0.5493 MB / 0.6272 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.789e-05/0.7917, allocations: 48.56 kB / 0.6273 GB, free: 14.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=224): time 6.632e-06/0.7917, allocations: 0 / 0.6273 GB, free: 14.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=231): time 0.0466/0.8383, allocations: 14.8 MB / 0.6417 GB, free: 15.87 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001836/0.8402, allocations: 1.488 MB / 0.6432 GB, free: 14.26 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007314/0.8475, allocations: 2.852 MB / 0.646 GB, free: 11.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008982/0.8484, allocations: 53.7 kB / 0.646 GB, free: 11.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003368/0.8518, allocations: 2.801 MB / 0.6488 GB, free: 8.543 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002126/0.8539, allocations: 0.8952 MB / 0.6496 GB, free: 7.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006167/0.86, allocations: 1.117 MB / 0.6507 GB, free: 6.535 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002684/0.8603, allocations: 301.1 kB / 0.651 GB, free: 6.238 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006194/0.8665, allocations: 2.63 MB / 0.6536 GB, free: 3.602 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009598/0.8761, allocations: 5.644 MB / 0.6591 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01614/0.8923, allocations: 8.938 MB / 0.6678 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001954/0.8924, allocations: 32 kB / 0.6679 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.07679/0.9692, allocations: 19.02 MB / 0.6864 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002442/0.9695, allocations: 52 kB / 0.6865 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05173/1.021, allocations: 11.99 MB / 0.6982 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05299/1.074, allocations: 10.28 MB / 0.7082 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006264/1.08, allocations: 1.318 MB / 0.7095 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03547/1.116, allocations: 17.69 MB / 0.7268 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006848/1.123, allocations: 438.2 kB / 0.7272 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002245/1.125, allocations: 324 kB / 0.7275 GB, free: 5.07 MB / 0.5606 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.008977/1.134, allocations: 2.02 MB / 0.7295 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001533/1.136, allocations: 274.1 kB / 0.7298 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01351/1.149, allocations: 5.099 MB / 0.7347 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009744/1.159, allocations: 4.4 MB / 0.739 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.793e-05/1.159, allocations: 4.875 kB / 0.739 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.932e-05/1.159, allocations: 7.969 kB / 0.739 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03412/1.193, allocations: 11.49 MB / 0.7503 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.273e-05/1.193, allocations: 15.88 kB / 0.7503 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002517/1.196, allocations: 459.2 kB / 0.7507 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003202/1.199, allocations: 0.9362 MB / 0.7516 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005356/1.199, allocations: 51.97 kB / 0.7517 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008212/1.207, allocations: 5.552 MB / 0.7571 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001494/1.209, allocations: 1.424 MB / 0.7585 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4284/1.637, allocations: 7.71 MB / 0.766 GB, free: 198.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001632/1.639, allocations: 254.6 kB / 0.7663 GB, free: 198.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007818/1.64, allocations: 44.33 kB / 0.7663 GB, free: 198.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00172/1.642, allocations: 195.5 kB / 0.7665 GB, free: 198.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004597/1.642, allocations: 150.8 kB / 0.7666 GB, free: 198.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002103/1.642, allocations: 70.27 kB / 0.7667 GB, free: 198.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003592/1.646, allocations: 1.613 MB / 0.7683 GB, free: 198.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/1.646, allocations: 1.469 kB / 0.7683 GB, free: 198.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00648/1.652, allocations: 1.11 MB / 0.7694 GB, free: 198.6 MB / 0.5919 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.0006679/1.653, allocations: 184.4 kB / 0.7695 GB, free: 198.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0156/1.669, allocations: 6.298 MB / 0.7757 GB, free: 197.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.077e-05/1.669, allocations: 1.438 kB / 0.7757 GB, free: 197.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004895/1.673, allocations: 2.296 MB / 0.7779 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003421/1.677, allocations: 303.7 kB / 0.7782 GB, free: 196.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02614/1.703, allocations: 10.09 MB / 0.7881 GB, free: 191.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004641/1.708, allocations: 2.625 MB / 0.7906 GB, free: 191.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004193/1.712, allocations: 2.038 MB / 0.7926 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006953/1.713, allocations: 206 kB / 0.7928 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of SimCode: time 2.094e-06/1.713, allocations: 0 / 0.7928 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.07454/1.787, allocations: 43.75 MB / 0.8356 GB, free: 154.9 MB / 0.5919 GB " [Timeout remaining time 658] 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: 8.277002457529306]