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.00198/0.00198, allocations: 77.39 kB / 20.51 MB, free: 1.277 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.002304/0.002304, allocations: 160.6 kB / 23.75 MB, free: 4.477 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.464/1.464, allocations: 158.6 MB / 185.5 MB, free: 6.227 MB / 174.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.2826/0.2826, allocations: 32.38 MB / 270.1 MB, free: 2.719 MB / 254.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.002256/0.002256, allocations: 71.91 kB / 407.8 MB, free: 5.527 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1375, allocations: 61.03 MB / 468.8 MB, free: 8.312 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.2917/0.4292, allocations: 10.3 MB / 479.1 MB, free: 43.94 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008867/0.4381, allocations: 3.868 MB / 483 MB, free: 43.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001936/0.44, allocations: 66.47 kB / 483 MB, free: 43.51 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002135/0.4422, allocations: 1.174 MB / 484.2 MB, free: 43.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003841/0.446, allocations: 1.803 MB / 486 MB, free: 42.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.4474, allocations: 0.5661 MB / 486.6 MB, free: 42.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005033/0.4524, allocations: 3.947 MB / 490.5 MB, free: 41.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001801/0.4542, allocations: 1.691 MB / 492.2 MB, free: 40.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001551/0.4558, allocations: 1.188 MB / 493.4 MB, free: 39.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002362/0.4582, allocations: 1.802 MB / 495.2 MB, free: 39.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005338/0.4587, allocations: 216 kB / 495.4 MB, free: 39.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002318/0.461, allocations: 1.191 MB / 496.6 MB, free: 38.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001268/0.4623, allocations: 1.63 MB / 498.2 MB, free: 38.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001191/0.4635, allocations: 1.332 MB / 499.6 MB, free: 37.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006998/0.4705, allocations: 6.288 MB / 0.494 GB, free: 35.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.4705, allocations: 4.438 kB / 0.494 GB, free: 35.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4705, allocations: 0.5312 kB / 0.494 GB, free: 35.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002066/0.4707, allocations: 1.125 kB / 0.494 GB, free: 35.21 MB / 446.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.01005/0.4807, allocations: 4.161 MB / 0.4981 GB, free: 32.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4808, allocations: 17.69 kB / 0.4981 GB, free: 32.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02058/0.5014, allocations: 5.752 MB / 0.5037 GB, free: 32.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006436/0.5078, allocations: 2.229 MB / 0.5059 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/0.508, allocations: 183.8 kB / 0.506 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001579/0.5096, allocations: 314.6 kB / 0.5063 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02099/0.5306, allocations: 10.73 MB / 0.5168 GB, free: 24.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.414e-05/0.5307, allocations: 23.47 kB / 0.5169 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003816/0.531, allocations: 115.6 kB / 0.517 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003998/0.535, allocations: 2.468 MB / 0.5194 GB, free: 23.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01816/0.5532, allocations: 10.17 MB / 0.5293 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05041/0.6036, allocations: 33.13 MB / 0.5617 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01177/0.6154, allocations: 4.589 MB / 0.5661 GB, free: 8.895 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003438/0.6188, allocations: 2.185 MB / 0.5683 GB, free: 6.703 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001238/0.62, allocations: 0.5479 MB / 0.5688 GB, free: 6.152 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001047/0.6202, allocations: 48.56 kB / 0.5689 GB, free: 6.098 MB / 478.1 MB Notification: Performance of pre-optimization done (n=224): time 6.151e-06/0.6202, allocations: 0 / 0.5689 GB, free: 6.098 MB / 478.1 MB Notification: Performance of matching and sorting (n=231): time 0.04085/0.661, allocations: 15.08 MB / 0.5836 GB, free: 6.961 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001557/0.6626, allocations: 1.491 MB / 0.585 GB, free: 5.344 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005706/0.6683, allocations: 2.845 MB / 0.5878 GB, free: 2.477 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005022/0.6688, allocations: 53.7 kB / 0.5879 GB, free: 2.418 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002932/0.6717, allocations: 2.803 MB / 0.5906 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00168/0.6734, allocations: 0.8915 MB / 0.5915 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003805/0.6772, allocations: 1.12 MB / 0.5926 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.6774, allocations: 301.1 kB / 0.5929 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004865/0.6822, allocations: 2.63 MB / 0.5954 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007753/0.69, allocations: 5.64 MB / 0.6009 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0127/0.7027, allocations: 8.941 MB / 0.6097 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001254/0.7028, allocations: 32 kB / 0.6097 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.07121/0.774, allocations: 19.03 MB / 0.6283 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.7742, allocations: 52 kB / 0.6283 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05002/0.8242, allocations: 12 MB / 0.64 GB, free: 9.926 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05283/0.877, allocations: 10.28 MB / 0.6501 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005251/0.8823, allocations: 1.314 MB / 0.6514 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03487/0.9171, allocations: 17.68 MB / 0.6686 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004965/0.9221, allocations: 439.5 kB / 0.6691 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001358/0.9235, allocations: 320 kB / 0.6694 GB, free: 11.66 MB / 0.5762 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.005247/0.9287, allocations: 2.03 MB / 0.6713 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008155/0.9295, allocations: 278.1 kB / 0.6716 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/0.9403, allocations: 5.097 MB / 0.6766 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008623/0.949, allocations: 4.393 MB / 0.6809 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.956e-05/0.949, allocations: 4 kB / 0.6809 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.671e-05/0.949, allocations: 15.95 kB / 0.6809 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02557/0.9746, allocations: 11.53 MB / 0.6922 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-05/0.9746, allocations: 8 kB / 0.6922 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002267/0.9769, allocations: 463.3 kB / 0.6926 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003253/0.9801, allocations: 0.9386 MB / 0.6935 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003398/0.9805, allocations: 45.48 kB / 0.6936 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3242/1.305, allocations: 5.547 MB / 0.699 GB, free: 189.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007349/1.305, allocations: 1.424 MB / 0.7004 GB, free: 188.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01044/1.316, allocations: 7.725 MB / 0.7079 GB, free: 186.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009463/1.317, allocations: 249.4 kB / 0.7082 GB, free: 186.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003467/1.317, allocations: 46.97 kB / 0.7082 GB, free: 186.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/1.319, allocations: 201.4 kB / 0.7084 GB, free: 186.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003784/1.319, allocations: 141.7 kB / 0.7085 GB, free: 186.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001753/1.319, allocations: 69.09 kB / 0.7086 GB, free: 186.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002298/1.321, allocations: 1.616 MB / 0.7102 GB, free: 186 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/1.321, allocations: 0 / 0.7102 GB, free: 186 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005024/1.326, allocations: 1.105 MB / 0.7112 GB, free: 185.9 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.0004588/1.327, allocations: 185.6 kB / 0.7114 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01065/1.338, allocations: 6.295 MB / 0.7176 GB, free: 183.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.517e-05/1.338, allocations: 0 / 0.7176 GB, free: 183.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003718/1.341, allocations: 2.297 MB / 0.7198 GB, free: 182.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/1.344, allocations: 293.6 kB / 0.7201 GB, free: 182.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01939/1.363, allocations: 10.08 MB / 0.7299 GB, free: 178.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005749/1.369, allocations: 2.618 MB / 0.7325 GB, free: 177.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007486/1.376, allocations: 2.042 MB / 0.7345 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/1.378, allocations: 209.3 kB / 0.7347 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.002e-06/1.378, allocations: 3.938 kB / 0.7347 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.07981/1.457, allocations: 39.78 MB / 0.7735 GB, free: 149.8 MB / 0.5919 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Spherical/Spherical.csv","/var/lib/jenkins1/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: 7.681866177008487]