Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00156/0.00156, allocations: 116.9 kB / 19.13 MB, free: 3.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00222/0.00222, allocations: 214.5 kB / 22.08 MB, free: 0.9727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 252.3 MB, free: 84 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2434/0.2434, allocations: 46.17 MB / 351.8 MB, free: 14.28 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002523/0.002523, allocations: 77.56 kB / 490.9 MB, free: 28.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1204, allocations: 62.45 MB / 0.5404 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01422/0.1346, allocations: 11.76 MB / 0.5518 GB, free: 8.426 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009033/0.1437, allocations: 4.063 MB / 0.5558 GB, free: 4.348 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0018/0.1455, allocations: 59.88 kB / 0.5559 GB, free: 4.289 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002811/0.1484, allocations: 1.179 MB / 0.557 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004522/0.153, allocations: 1.715 MB / 0.5587 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.1545, allocations: 0.5535 MB / 0.5592 GB, free: 0.832 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005847/0.1604, allocations: 4.046 MB / 0.5632 GB, free: 12.78 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002634/0.163, allocations: 1.779 MB / 0.5649 GB, free: 10.97 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001733/0.1648, allocations: 1.152 MB / 0.566 GB, free: 9.816 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002125/0.1669, allocations: 1.67 MB / 0.5677 GB, free: 8.141 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004737/0.1674, allocations: 216 kB / 0.5679 GB, free: 7.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002457/0.1699, allocations: 1.287 MB / 0.5691 GB, free: 6.641 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001703/0.1716, allocations: 1.574 MB / 0.5707 GB, free: 5.062 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002029/0.1736, allocations: 1.824 MB / 0.5725 GB, free: 3.227 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008039/0.1817, allocations: 6.2 MB / 0.5785 GB, free: 13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.159e-05/0.1817, allocations: 4 kB / 0.5785 GB, free: 13 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1817, allocations: 0 / 0.5785 GB, free: 13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001761/0.1819, allocations: 3.938 kB / 0.5785 GB, free: 12.99 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.008677/0.1906, allocations: 4.178 MB / 0.5826 GB, free: 8.738 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.1907, allocations: 12.03 kB / 0.5826 GB, free: 8.727 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02087/0.2116, allocations: 6.155 MB / 0.5886 GB, free: 2.559 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005206/0.2168, allocations: 2.19 MB / 0.5908 GB, free: 332 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/0.217, allocations: 184.8 kB / 0.5909 GB, free: 144 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009222/0.2179, allocations: 307.7 kB / 0.5912 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01863/0.2366, allocations: 10.72 MB / 0.6017 GB, free: 4.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.863e-05/0.2367, allocations: 27.77 kB / 0.6017 GB, free: 4.633 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003732/0.2371, allocations: 119.8 kB / 0.6018 GB, free: 4.516 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004274/0.2414, allocations: 2.459 MB / 0.6042 GB, free: 2.051 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2919/0.5333, allocations: 10.15 MB / 0.6142 GB, free: 52.54 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06191/0.5953, allocations: 35.57 MB / 0.6489 GB, free: 29.85 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009718/0.605, allocations: 5.594 MB / 0.6543 GB, free: 24.96 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002495/0.6076, allocations: 2.334 MB / 0.6566 GB, free: 22.62 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001157/0.6088, allocations: 1.881 MB / 0.6585 GB, free: 20.41 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.6088, allocations: 52.56 kB / 0.6585 GB, free: 20.36 MB / 462.1 MB Notification: Performance of pre-optimization done (n=224): time 4.328e-06/0.6088, allocations: 0 / 0.6585 GB, free: 20.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=231): time 0.03188/0.6407, allocations: 15.03 MB / 0.6732 GB, free: 5.434 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001032/0.6418, allocations: 1.608 MB / 0.6748 GB, free: 3.668 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003474/0.6453, allocations: 2.8 MB / 0.6775 GB, free: 0.918 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000398/0.6457, allocations: 57.53 kB / 0.6775 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001969/0.6477, allocations: 2.791 MB / 0.6803 GB, free: 14.13 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001163/0.6488, allocations: 0.8885 MB / 0.6811 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002506/0.6514, allocations: 1.115 MB / 0.6822 GB, free: 12.13 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.6515, allocations: 313 kB / 0.6825 GB, free: 11.82 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004251/0.6558, allocations: 2.63 MB / 0.6851 GB, free: 9.188 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007177/0.6629, allocations: 5.645 MB / 0.6906 GB, free: 2.07 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01276/0.6758, allocations: 8.937 MB / 0.6993 GB, free: 7.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001226/0.6759, allocations: 32 kB / 0.6994 GB, free: 7.629 MB / 494.1 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.06601/0.742, allocations: 17.16 MB / 0.7161 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.7421, allocations: 52 kB / 0.7162 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04508/0.7872, allocations: 10.63 MB / 0.7266 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04771/0.835, allocations: 8.647 MB / 0.735 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004766/0.8398, allocations: 1.314 MB / 0.7363 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03196/0.8718, allocations: 17.81 MB / 0.7537 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004324/0.8761, allocations: 420.9 kB / 0.7541 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001031/0.8772, allocations: 319.9 kB / 0.7544 GB, free: 14.95 MB / 0.545 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.004274/0.8815, allocations: 2.026 MB / 0.7564 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007657/0.8823, allocations: 286.1 kB / 0.7566 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009902/0.8922, allocations: 5.112 MB / 0.7616 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008439/0.9007, allocations: 4.402 MB / 0.7659 GB, free: 3.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-05/0.9007, allocations: 0 / 0.7659 GB, free: 3.07 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.781e-05/0.9008, allocations: 7.969 kB / 0.7659 GB, free: 3.062 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02567/0.9264, allocations: 12.92 MB / 0.7785 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.918e-05/0.9265, allocations: 12.19 kB / 0.7786 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002221/0.9287, allocations: 455.2 kB / 0.779 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003138/0.9319, allocations: 0.9464 MB / 0.7799 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003753/0.9323, allocations: 47.97 kB / 0.78 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007578/0.9399, allocations: 5.841 MB / 0.7857 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001399/0.9413, allocations: 1.546 MB / 0.7872 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01321/0.9546, allocations: 7.749 MB / 0.7947 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007927/0.9554, allocations: 351.2 kB / 0.7951 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006448/0.9561, allocations: 39.98 kB / 0.7951 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001854/0.9579, allocations: 195.7 kB / 0.7953 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004738/0.9584, allocations: 142.7 kB / 0.7954 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002178/0.9586, allocations: 71.92 kB / 0.7955 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003089/0.9617, allocations: 1.72 MB / 0.7972 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.9617, allocations: 0 / 0.7972 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004699/0.9665, allocations: 1.09 MB / 0.7983 GB, free: 1.219 MB / 0.5762 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.0006281/0.9671, allocations: 186.7 kB / 0.7984 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01198/0.9791, allocations: 6.597 MB / 0.8049 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.9791, allocations: 0 / 0.8049 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004338/0.9835, allocations: 2.54 MB / 0.8074 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002597/0.9861, allocations: 382.5 kB / 0.8077 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01902/1.005, allocations: 10.38 MB / 0.8179 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004722/1.01, allocations: 3.163 MB / 0.8209 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001284/1.011, allocations: 259.4 kB / 0.8212 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of SimCode: time 1.042e-06/1.011, allocations: 0 / 0.8212 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of Templates: time 0.4047/1.416, allocations: 112.5 MB / 0.931 GB, free: 151.2 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Spherical/Spherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 14.10406383604277]