Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002506/0.002506, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.003/0.003, allocations: 165.3 kB / 24.28 MB, free: 156 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 1.552/1.552, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.4161/0.4161, allocations: 34.27 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.083e-06/2.083e-06, allocations: 0 / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.959e-05/3.167e-05, allocations: 2.312 kB / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01662/0.01665, allocations: 11.25 MB / 388.5 MB, free: 7.668 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009764/0.02641, allocations: 3.979 MB / 392.5 MB, free: 3.68 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00204/0.02845, allocations: 67.75 kB / 392.6 MB, free: 3.613 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003268/0.03172, allocations: 1.261 MB / 393.8 MB, free: 2.348 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005129/0.03685, allocations: 1.836 MB / 395.7 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.03853, allocations: 0.6 MB / 396.3 MB, free: 15.9 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0067/0.04523, allocations: 4.698 MB / 401 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003928/0.04916, allocations: 2.259 MB / 403.2 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003895/0.05305, allocations: 1.871 MB / 405.1 MB, free: 7.035 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003883/0.05693, allocations: 2.069 MB / 407.2 MB, free: 4.961 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007645/0.0577, allocations: 224 kB / 407.4 MB, free: 4.742 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003055/0.06075, allocations: 1.24 MB / 408.6 MB, free: 3.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00217/0.06292, allocations: 1.694 MB / 410.3 MB, free: 1.801 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001917/0.06484, allocations: 0.9808 MB / 411.3 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009993/0.07483, allocations: 6.229 MB / 417.5 MB, free: 10.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.07484, allocations: 4 kB / 417.5 MB, free: 10.56 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.07484, allocations: 4 kB / 417.5 MB, free: 10.56 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001711/0.07502, allocations: 3.938 kB / 417.5 MB, free: 10.55 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.01085/0.08587, allocations: 4.981 MB / 422.5 MB, free: 5.508 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.08591, allocations: 12.03 kB / 422.5 MB, free: 5.496 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02298/0.1089, allocations: 6.706 MB / 429.2 MB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006441/0.1153, allocations: 1.838 MB / 431.1 MB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002998/0.1156, allocations: 184.7 kB / 431.3 MB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002021/0.1176, allocations: 304.6 kB / 431.6 MB, free: 12.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01587/0.1335, allocations: 6.09 MB / 437.7 MB, free: 5.715 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001004/0.1336, allocations: 31.75 kB / 437.7 MB, free: 5.684 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003798/0.134, allocations: 111.8 kB / 437.8 MB, free: 5.574 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004553/0.1386, allocations: 2.471 MB / 440.3 MB, free: 3.102 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1843/0.3228, allocations: 4.344 MB / 444.6 MB, free: 92.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04999/0.3728, allocations: 43.08 MB / 487.7 MB, free: 63.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008891/0.3817, allocations: 2.571 MB / 490.3 MB, free: 63.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001688/0.3834, allocations: 0.6578 MB / 490.9 MB, free: 62.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/0.3845, allocations: 0.5227 MB / 491.4 MB, free: 62.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.3846, allocations: 55.05 kB / 491.5 MB, free: 62.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=224): time 6.121e-06/0.3846, allocations: 0 / 491.5 MB, free: 62.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=231): time 0.02897/0.4135, allocations: 8.939 MB / 0.4887 GB, free: 60.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001018/0.4146, allocations: 1.982 MB / 0.4906 GB, free: 58.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003763/0.4183, allocations: 3.37 MB / 0.4939 GB, free: 57.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003892/0.4187, allocations: 52.27 kB / 0.494 GB, free: 57.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001531/0.4202, allocations: 3.059 MB / 0.497 GB, free: 55.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001072/0.4213, allocations: 0.9909 MB / 0.4979 GB, free: 54.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001675/0.423, allocations: 1.372 MB / 0.4993 GB, free: 53.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.957e-05/0.4231, allocations: 480.9 kB / 0.4997 GB, free: 53.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/0.4249, allocations: 0.8692 MB / 0.5006 GB, free: 52.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004109/0.429, allocations: 5.489 MB / 0.5059 GB, free: 45.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007274/0.4363, allocations: 7.103 MB / 0.5129 GB, free: 36.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001206/0.4364, allocations: 32 kB / 0.5129 GB, free: 36.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.08277/0.5192, allocations: 29.04 MB / 0.5413 GB, free: 10.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.226e-05/0.5193, allocations: 55.98 kB / 0.5413 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06593/0.5852, allocations: 20.18 MB / 0.561 GB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.119/0.7042, allocations: 29.23 MB / 0.5896 GB, free: 9.094 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005477/0.7096, allocations: 1.314 MB / 0.5909 GB, free: 7.777 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.217/0.9266, allocations: 10.35 MB / 0.601 GB, free: 125.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004741/0.9314, allocations: 0.5493 MB / 0.6015 GB, free: 125.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009302/0.9323, allocations: 325.9 kB / 0.6018 GB, free: 125.9 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.002124/0.9344, allocations: 0.6764 MB / 0.6025 GB, free: 125.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007197/0.9352, allocations: 334 kB / 0.6028 GB, free: 125.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006395/0.9416, allocations: 2.767 MB / 0.6055 GB, free: 125.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004909/0.9465, allocations: 1.877 MB / 0.6073 GB, free: 125.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/0.9465, allocations: 0 / 0.6073 GB, free: 125.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.085e-05/0.9465, allocations: 9.328 kB / 0.6073 GB, free: 125.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01897/0.9655, allocations: 8.927 MB / 0.616 GB, free: 124 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/0.9655, allocations: 6.875 kB / 0.6161 GB, free: 124 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001947/0.9674, allocations: 461.4 kB / 0.6165 GB, free: 124 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002504/0.9699, allocations: 0.6158 MB / 0.6171 GB, free: 124 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002332/0.9702, allocations: 46.06 kB / 0.6171 GB, free: 124 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004166/0.9743, allocations: 4.469 MB / 0.6215 GB, free: 120.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008008/0.9751, allocations: 1.915 MB / 0.6234 GB, free: 118.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007149/0.9823, allocations: 3.361 MB / 0.6267 GB, free: 117 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/0.9834, allocations: 280.3 kB / 0.6269 GB, free: 117 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003763/0.9838, allocations: 42.53 kB / 0.627 GB, free: 117 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/0.9854, allocations: 236 kB / 0.6272 GB, free: 117 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004138/0.9859, allocations: 151.7 kB / 0.6273 GB, free: 116.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001937/0.986, allocations: 66.77 kB / 0.6274 GB, free: 116.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002231/0.9883, allocations: 1.353 MB / 0.6287 GB, free: 116.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.9883, allocations: 2.938 kB / 0.6287 GB, free: 116.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005305/0.9936, allocations: 1.226 MB / 0.6299 GB, free: 116.3 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.0006416/0.9942, allocations: 203.2 kB / 0.6301 GB, free: 116.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0107/1.005, allocations: 4.274 MB / 0.6343 GB, free: 114.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.691e-05/1.005, allocations: 1.156 kB / 0.6343 GB, free: 114.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002969/1.008, allocations: 1.386 MB / 0.6356 GB, free: 114.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/1.01, allocations: 324.6 kB / 0.636 GB, free: 114.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/1.023, allocations: 7.991 MB / 0.6438 GB, free: 110.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002667/1.026, allocations: 2.293 MB / 0.646 GB, free: 109.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004011/1.03, allocations: 1.674 MB / 0.6476 GB, free: 109.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008058/1.03, allocations: 214.6 kB / 0.6478 GB, free: 109.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.263e-06/1.03, allocations: 0 / 0.6478 GB, free: 109.2 MB / 458.7 MB Notification: Performance of Templates: time 0.06417/1.094, allocations: 49.15 MB / 0.6958 GB, free: 65.99 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Spherical/Spherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.391291219973937]