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.0008315/0.0008315, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004381/0.004381, allocations: 158.8 kB / 24.7 MB, free: 8.891 MB / 18.57 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 0.8809/0.8809, allocations: 177 MB / 204.9 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.2418/0.2418, allocations: 34.24 MB / 295.6 MB, free: 0.6953 MB / 266.7 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 1.493e-06/1.493e-06, allocations: 0 / 443.4 MB, free: 1.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.194e-05, allocations: 2.281 kB / 443.4 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.1931/0.1931, allocations: 10.26 MB / 453.7 MB, free: 38.46 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003837/0.197, allocations: 3.867 MB / 457.6 MB, free: 36.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004651/0.1974, allocations: 68.22 kB / 457.6 MB, free: 36.08 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.1987, allocations: 1.219 MB / 458.8 MB, free: 35.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.2003, allocations: 1.82 MB / 460.7 MB, free: 34.81 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005927/0.2009, allocations: 0.6168 MB / 461.3 MB, free: 34.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002081/0.203, allocations: 4.697 MB / 466 MB, free: 32.97 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.204, allocations: 2.174 MB / 468.2 MB, free: 32.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.2051, allocations: 1.857 MB / 470 MB, free: 31.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.2064, allocations: 2.067 MB / 472.1 MB, free: 30.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001971/0.2066, allocations: 227.1 kB / 472.3 MB, free: 30.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.2077, allocations: 1.251 MB / 473.5 MB, free: 30.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006478/0.2083, allocations: 1.681 MB / 475.2 MB, free: 29.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005208/0.2088, allocations: 0.9827 MB / 476.2 MB, free: 29.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00373/0.2126, allocations: 6.221 MB / 482.4 MB, free: 27.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2126, allocations: 1.312 kB / 482.4 MB, free: 27.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.2126, allocations: 0 / 482.4 MB, free: 27.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.42e-05/0.2126, allocations: 0 / 482.4 MB, free: 27.32 MB / 410.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.004788/0.2174, allocations: 4.187 MB / 486.6 MB, free: 24.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.2175, allocations: 10.62 kB / 486.6 MB, free: 24.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01168/0.2291, allocations: 6.216 MB / 492.8 MB, free: 24.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003021/0.2322, allocations: 2.021 MB / 494.9 MB, free: 23.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.57e-05/0.2323, allocations: 176.8 kB / 495 MB, free: 22.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005562/0.2328, allocations: 315.1 kB / 495.3 MB, free: 22.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01142/0.2442, allocations: 10.73 MB / 0.4942 GB, free: 16.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.056e-05/0.2443, allocations: 23.47 kB / 0.4942 GB, free: 16.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002628/0.2446, allocations: 114.9 kB / 0.4944 GB, free: 16.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001989/0.2465, allocations: 2.461 MB / 0.4968 GB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00953/0.2561, allocations: 10.17 MB / 0.5067 GB, free: 4.559 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02863/0.2847, allocations: 33.33 MB / 0.5392 GB, free: 2.422 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006255/0.291, allocations: 4.586 MB / 0.5437 GB, free: 13.83 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001754/0.2927, allocations: 2.181 MB / 0.5459 GB, free: 11.64 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006354/0.2933, allocations: 0.548 MB / 0.5464 GB, free: 11.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.2934, allocations: 48.56 kB / 0.5464 GB, free: 11.04 MB / 458.7 MB Notification: Performance of pre-optimization done (n=224): time 4.899e-06/0.2934, allocations: 4 kB / 0.5464 GB, free: 11.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=231): time 0.02049/0.3139, allocations: 15.15 MB / 0.5612 GB, free: 11.82 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000904/0.3148, allocations: 1.484 MB / 0.5627 GB, free: 10.22 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002907/0.3177, allocations: 2.985 MB / 0.5656 GB, free: 7.211 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001382/0.3178, allocations: 57.61 kB / 0.5657 GB, free: 7.152 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001158/0.319, allocations: 2.764 MB / 0.5684 GB, free: 4.359 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005122/0.3195, allocations: 0.8758 MB / 0.5692 GB, free: 3.477 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001312/0.3208, allocations: 1.116 MB / 0.5703 GB, free: 2.348 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.189e-05/0.3209, allocations: 301.1 kB / 0.5706 GB, free: 2.051 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002469/0.3233, allocations: 2.853 MB / 0.5734 GB, free: 15.19 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00433/0.3277, allocations: 5.854 MB / 0.5791 GB, free: 7.863 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007381/0.335, allocations: 9.359 MB / 0.5882 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.395e-05/0.3351, allocations: 32 kB / 0.5883 GB, free: 13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.04941/0.3845, allocations: 33.35 MB / 0.6208 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.856e-05/0.3846, allocations: 55.94 kB / 0.6209 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2587/0.6432, allocations: 23.37 MB / 0.6437 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03896/0.6822, allocations: 23.35 MB / 0.6665 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003773/0.686, allocations: 1.311 MB / 0.6678 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02387/0.7098, allocations: 27.2 MB / 0.6943 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003971/0.7138, allocations: 0.5462 MB / 0.6949 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003343/0.7141, allocations: 323.6 kB / 0.6952 GB, free: 128.5 MB / 0.5261 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.003259/0.7174, allocations: 2.021 MB / 0.6972 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003508/0.7177, allocations: 271.6 kB / 0.6974 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004608/0.7223, allocations: 5.1 MB / 0.7024 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003778/0.7261, allocations: 4.393 MB / 0.7067 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.7261, allocations: 4 kB / 0.7067 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.7261, allocations: 7.969 kB / 0.7067 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/0.7368, allocations: 11.59 MB / 0.718 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.7368, allocations: 10.91 kB / 0.718 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.7378, allocations: 459.2 kB / 0.7185 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001357/0.7392, allocations: 0.94 MB / 0.7194 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.802e-05/0.7393, allocations: 58.05 kB / 0.7194 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003252/0.7425, allocations: 5.533 MB / 0.7249 GB, free: 98.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004298/0.743, allocations: 1.432 MB / 0.7263 GB, free: 96.59 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006033/0.749, allocations: 7.703 MB / 0.7338 GB, free: 88.92 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005037/0.7495, allocations: 286.3 kB / 0.734 GB, free: 88.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/0.7497, allocations: 40 kB / 0.7341 GB, free: 88.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008461/0.7506, allocations: 252.2 kB / 0.7343 GB, free: 88.51 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002276/0.7508, allocations: 140.9 kB / 0.7345 GB, free: 88.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.7509, allocations: 67.5 kB / 0.7345 GB, free: 88.31 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001629/0.7525, allocations: 1.724 MB / 0.7362 GB, free: 86.58 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.7525, allocations: 0 / 0.7362 GB, free: 86.58 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00329/0.7558, allocations: 1.227 MB / 0.7374 GB, free: 85.36 MB / 0.5261 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.0004004/0.7562, allocations: 195 kB / 0.7376 GB, free: 85.17 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006166/0.7624, allocations: 6.843 MB / 0.7443 GB, free: 78.35 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.7624, allocations: 1.203 kB / 0.7443 GB, free: 78.35 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001796/0.7642, allocations: 2.298 MB / 0.7465 GB, free: 76.03 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.7653, allocations: 314.3 kB / 0.7468 GB, free: 75.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009366/0.7747, allocations: 10.41 MB / 0.757 GB, free: 65.21 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001772/0.7764, allocations: 2.619 MB / 0.7595 GB, free: 62.57 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006586/0.7771, allocations: 256.4 kB / 0.7598 GB, free: 62.32 MB / 0.5261 GB Notification: Performance of SimCode: time 1.502e-06/0.7771, allocations: 2.516 kB / 0.7598 GB, free: 62.32 MB / 0.5261 GB Notification: Performance of Templates: time 0.2714/1.048, allocations: 115.4 MB / 0.8725 GB, free: 157.2 MB / 0.5417 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: 8.213856672868133]