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.001954/0.001954, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002171/0.002171, allocations: 205.4 kB / 23.72 MB, free: 4.391 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.515/1.515, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.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.2727/0.2727, allocations: 46.95 MB / 360.8 MB, free: 3.906 MB / 286.1 MB " [Timeout remaining time 179] 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.002476/0.002476, allocations: 87.81 kB / 0.4966 GB, free: 7.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.4168, allocations: 66.09 MB / 0.5612 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01326/0.4301, allocations: 10.26 MB / 0.5712 GB, free: 9.641 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.4401, allocations: 3.86 MB / 0.575 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/0.4417, allocations: 71.75 kB / 0.575 GB, free: 5.699 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002514/0.4442, allocations: 1.164 MB / 0.5762 GB, free: 4.531 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004362/0.4486, allocations: 1.779 MB / 0.5779 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.4501, allocations: 0.5613 MB / 0.5785 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006718/0.4568, allocations: 4.026 MB / 0.5824 GB, free: 14.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002548/0.4594, allocations: 1.684 MB / 0.584 GB, free: 12.44 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001941/0.4613, allocations: 1.183 MB / 0.5852 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003/0.4643, allocations: 1.783 MB / 0.5869 GB, free: 9.461 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005457/0.4649, allocations: 220 kB / 0.5871 GB, free: 9.246 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002471/0.4673, allocations: 1.181 MB / 0.5883 GB, free: 8.066 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00188/0.4692, allocations: 1.604 MB / 0.5899 GB, free: 6.457 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00205/0.4713, allocations: 1.303 MB / 0.5911 GB, free: 5.145 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008652/0.4799, allocations: 6.223 MB / 0.5972 GB, free: 14.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4799, allocations: 8 kB / 0.5972 GB, free: 14.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4799, allocations: 3.938 kB / 0.5972 GB, free: 14.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001614/0.4801, allocations: 0 / 0.5972 GB, free: 14.89 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.008498/0.4886, allocations: 4.103 MB / 0.6012 GB, free: 10.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.4886, allocations: 8.031 kB / 0.6012 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02176/0.5104, allocations: 6.159 MB / 0.6073 GB, free: 4.547 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007346/0.5177, allocations: 2.141 MB / 0.6093 GB, free: 2.379 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002282/0.518, allocations: 180.8 kB / 0.6095 GB, free: 2.199 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001226/0.5192, allocations: 307.7 kB / 0.6098 GB, free: 1.898 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02096/0.5401, allocations: 10.72 MB / 0.6203 GB, free: 6.711 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.376e-05/0.5402, allocations: 23.77 kB / 0.6203 GB, free: 6.688 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003889/0.5406, allocations: 111.8 kB / 0.6204 GB, free: 6.578 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004354/0.545, allocations: 2.467 MB / 0.6228 GB, free: 4.109 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02195/0.5669, allocations: 10.13 MB / 0.6327 GB, free: 9.969 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05189/0.6188, allocations: 32.96 MB / 0.6649 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01204/0.6309, allocations: 4.463 MB / 0.6693 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003563/0.6344, allocations: 2.185 MB / 0.6714 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001325/0.6357, allocations: 0.548 MB / 0.6719 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.832e-05/0.6358, allocations: 52.56 kB / 0.672 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=224): time 6.091e-06/0.6358, allocations: 0 / 0.672 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=231): time 0.04061/0.6764, allocations: 14.77 MB / 0.6864 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001581/0.678, allocations: 1.484 MB / 0.6879 GB, free: 468 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004965/0.683, allocations: 2.836 MB / 0.6906 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005679/0.6835, allocations: 57.69 kB / 0.6907 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002615/0.6861, allocations: 2.795 MB / 0.6934 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001868/0.688, allocations: 0.8914 MB / 0.6943 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002956/0.691, allocations: 1.108 MB / 0.6954 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.6911, allocations: 305.1 kB / 0.6956 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004519/0.6956, allocations: 2.63 MB / 0.6982 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007352/0.703, allocations: 5.647 MB / 0.7037 GB, free: 14.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01311/0.7161, allocations: 8.941 MB / 0.7125 GB, free: 4.219 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001507/0.7162, allocations: 32 kB / 0.7125 GB, free: 4.188 MB / 0.545 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.07121/0.7874, allocations: 17.13 MB / 0.7292 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001694/0.7876, allocations: 52.94 kB / 0.7293 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.4067/1.194, allocations: 10.61 MB / 0.7396 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04704/1.241, allocations: 8.641 MB / 0.7481 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004575/1.246, allocations: 1.315 MB / 0.7494 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02535/1.271, allocations: 17.29 MB / 0.7662 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00491/1.276, allocations: 423.5 kB / 0.7666 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/1.277, allocations: 323.1 kB / 0.767 GB, free: 130.8 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.003236/1.281, allocations: 2.024 MB / 0.7689 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005469/1.281, allocations: 270.9 kB / 0.7692 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007111/1.288, allocations: 5.097 MB / 0.7742 GB, free: 123.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005939/1.294, allocations: 4.403 MB / 0.7785 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/1.294, allocations: 1.875 kB / 0.7785 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/1.294, allocations: 7.969 kB / 0.7785 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01695/1.311, allocations: 11.49 MB / 0.7897 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/1.311, allocations: 7.938 kB / 0.7897 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001854/1.313, allocations: 459.2 kB / 0.7901 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002547/1.316, allocations: 0.9385 MB / 0.7911 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/1.316, allocations: 51.98 kB / 0.7911 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005053/1.321, allocations: 5.56 MB / 0.7965 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000674/1.321, allocations: 1.416 MB / 0.7979 GB, free: 99 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009058/1.33, allocations: 7.723 MB / 0.8055 GB, free: 91.31 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008968/1.331, allocations: 252.6 kB / 0.8057 GB, free: 91.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004589/1.332, allocations: 40 kB / 0.8057 GB, free: 91.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/1.333, allocations: 193.7 kB / 0.8059 GB, free: 90.99 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003336/1.334, allocations: 148.9 kB / 0.8061 GB, free: 90.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/1.334, allocations: 71.92 kB / 0.8061 GB, free: 90.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001816/1.336, allocations: 1.607 MB / 0.8077 GB, free: 89.15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.336, allocations: 0.5469 kB / 0.8077 GB, free: 89.15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003852/1.339, allocations: 1.086 MB / 0.8088 GB, free: 88.08 MB / 0.5606 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.0004147/1.34, allocations: 179.3 kB / 0.8089 GB, free: 87.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008702/1.349, allocations: 6.237 MB / 0.815 GB, free: 81.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/1.349, allocations: 0 / 0.815 GB, free: 81.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00298/1.352, allocations: 2.297 MB / 0.8173 GB, free: 79.39 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/1.353, allocations: 293.3 kB / 0.8176 GB, free: 79.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/1.368, allocations: 10.05 MB / 0.8274 GB, free: 68.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003004/1.371, allocations: 2.614 MB / 0.8299 GB, free: 66.29 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004182/1.376, allocations: 2.047 MB / 0.8319 GB, free: 64.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006446/1.376, allocations: 203.4 kB / 0.8321 GB, free: 64.03 MB / 0.5606 GB Notification: Performance of SimCode: time 1.993e-06/1.376, allocations: 0 / 0.8321 GB, free: 64.03 MB / 0.5606 GB Notification: Performance of Templates: time 0.06057/1.437, allocations: 43.55 MB / 0.8746 GB, free: 20.74 MB / 0.5606 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/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_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: 7.574411820620298]