Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.InitializationConversion.Bodies.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.001319/0.001319, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.00213/0.00213, allocations: 212.6 kB / 24.49 MB, free: 3.934 MB / 14.72 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.532/1.532, allocations: 230.6 MB / 258.3 MB, free: 7.734 MB / 206.1 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.2642/0.2642, allocations: 46.96 MB / 361.6 MB, free: 4.008 MB / 286.1 MB " [Timeout remaining time 180] 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.InitializationConversion.Bodies,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.|body1.body.Q.1.|body1.body.Q.2.|body1.body.Q.3.|body1.body.Q.4.|body1.body.frame_a.r_0.1.|body1.body.frame_a.r_0.2.|body1.body.frame_a.r_0.3.|body1.body.w_a.1.|body1.body.w_a.2.|body1.body.w_a.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body2.body.Q.1.|body2.body.Q.2.|body2.body.Q.3.|body2.body.Q.4.|body2.body.frame_a.r_0.1.|body2.body.frame_a.r_0.2.|body2.body.frame_a.r_0.3.|body2.body.w_a.1.|body2.body.w_a.2.|body2.body.w_a.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body3.body.Q.1.|body3.body.Q.2.|body3.body.Q.3.|body3.body.Q.4.|body3.body.frame_a.r_0.1.|body3.body.frame_a.r_0.2.|body3.body.frame_a.r_0.3.|body3.body.w_a.1.|body3.body.w_a.2.|body3.body.w_a.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|pointMass.r_0.1.|pointMass.r_0.2.|pointMass.r_0.3.|pointMass.v_0.1.|pointMass.v_0.2.|pointMass.v_0.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.InitializationConversion.Bodies") translateModel(ModelicaTest.MultiBody.InitializationConversion.Bodies,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.|body1.body.Q.1.|body1.body.Q.2.|body1.body.Q.3.|body1.body.Q.4.|body1.body.frame_a.r_0.1.|body1.body.frame_a.r_0.2.|body1.body.frame_a.r_0.3.|body1.body.w_a.1.|body1.body.w_a.2.|body1.body.w_a.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body2.body.Q.1.|body2.body.Q.2.|body2.body.Q.3.|body2.body.Q.4.|body2.body.frame_a.r_0.1.|body2.body.frame_a.r_0.2.|body2.body.frame_a.r_0.3.|body2.body.w_a.1.|body2.body.w_a.2.|body2.body.w_a.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body3.body.Q.1.|body3.body.Q.2.|body3.body.Q.3.|body3.body.Q.4.|body3.body.frame_a.r_0.1.|body3.body.frame_a.r_0.2.|body3.body.frame_a.r_0.3.|body3.body.w_a.1.|body3.body.w_a.2.|body3.body.w_a.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|pointMass.r_0.1.|pointMass.r_0.2.|pointMass.r_0.3.|pointMass.v_0.1.|pointMass.v_0.2.|pointMass.v_0.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.InitializationConversion.Bodies") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 71.89 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3204, allocations: 66.03 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Bodies): time 0.01404/0.3345, allocations: 10.71 MB / 0.5723 GB, free: 9.426 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009869/0.3443, allocations: 4.077 MB / 0.5762 GB, free: 5.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002214/0.3466, allocations: 103.4 kB / 0.5763 GB, free: 5.238 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005888/0.3524, allocations: 2.562 MB / 0.5788 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006304/0.3587, allocations: 2.288 MB / 0.5811 GB, free: 380 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001995/0.3607, allocations: 0.8855 MB / 0.5819 GB, free: 15.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01158/0.3723, allocations: 7.073 MB / 0.5889 GB, free: 8.398 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003537/0.3759, allocations: 2.641 MB / 0.5914 GB, free: 5.703 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00358/0.3794, allocations: 1.92 MB / 0.5933 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004535/0.384, allocations: 2.866 MB / 0.5961 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009498/0.3849, allocations: 356 kB / 0.5964 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003058/0.388, allocations: 1.447 MB / 0.5979 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002889/0.3909, allocations: 2.396 MB / 0.6002 GB, free: 12.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003084/0.394, allocations: 1.88 MB / 0.602 GB, free: 10.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.4049, allocations: 8.137 MB / 0.61 GB, free: 2.645 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.4049, allocations: 0 / 0.61 GB, free: 2.645 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4049, allocations: 0 / 0.61 GB, free: 2.645 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002339/0.4052, allocations: 0 / 0.61 GB, free: 2.645 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: 1498 * Number of variables: 1498 Notification: Performance of Generate backend data structure: time 0.01498/0.4201, allocations: 6.116 MB / 0.616 GB, free: 12.46 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.4202, allocations: 8.031 kB / 0.616 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02236/0.4425, allocations: 3.5 MB / 0.6194 GB, free: 8.941 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.012/0.4546, allocations: 4.707 MB / 0.624 GB, free: 4.148 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002531/0.4548, allocations: 226.1 kB / 0.6242 GB, free: 3.926 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00251/0.4573, allocations: 0.6554 MB / 0.6248 GB, free: 3.27 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02013/0.4774, allocations: 10.74 MB / 0.6353 GB, free: 7.715 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001714/0.4776, allocations: 67.58 kB / 0.6354 GB, free: 7.648 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005028/0.4781, allocations: 147.9 kB / 0.6355 GB, free: 7.504 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003102/0.4812, allocations: 1.935 MB / 0.6374 GB, free: 5.566 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01906/0.5003, allocations: 9.804 MB / 0.647 GB, free: 11.76 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05993/0.5602, allocations: 41.65 MB / 0.6877 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00937/0.5696, allocations: 3.522 MB / 0.6911 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003416/0.573, allocations: 2.148 MB / 0.6932 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.5731, allocations: 28.22 kB / 0.6932 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.836e-05/0.5732, allocations: 54.73 kB / 0.6933 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=190): time 4.759e-06/0.5732, allocations: 0 / 0.6933 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194): time 0.05315/0.6263, allocations: 21.74 MB / 0.7145 GB, free: 5.125 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001927/0.6265, allocations: 332.4 kB / 0.7148 GB, free: 4.727 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007018/0.6336, allocations: 5.002 MB / 0.7197 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005952/0.6342, allocations: 49.7 kB / 0.7198 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002867/0.637, allocations: 3.565 MB / 0.7232 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001434/0.6385, allocations: 0.8801 MB / 0.7241 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002285/0.6407, allocations: 1.489 MB / 0.7256 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.6409, allocations: 309 kB / 0.7259 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005128/0.646, allocations: 3.028 MB / 0.7288 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2624/0.9084, allocations: 7.412 MB / 0.736 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01144/0.9199, allocations: 10.96 MB / 0.7468 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001633/0.92, allocations: 47.27 kB / 0.7468 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.05004/0.9701, allocations: 17.37 MB / 0.7638 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001173/0.9702, allocations: 75.94 kB / 0.7638 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03588/1.006, allocations: 10.57 MB / 0.7742 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04128/1.047, allocations: 8.975 MB / 0.7829 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00504/1.052, allocations: 1.669 MB / 0.7845 GB, free: 109.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02499/1.077, allocations: 21.03 MB / 0.8051 GB, free: 88.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008205/1.086, allocations: 0.5614 MB / 0.8056 GB, free: 87.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00119/1.087, allocations: 431.4 kB / 0.8061 GB, free: 87.45 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 39 (body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],body1.frameTranslation.color[3],body1.frameTranslation.color[2],body1.frameTranslation.color[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (900): * Single equations (assignments): 881 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 14 * 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): 10 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%), (3,100.0%), (4,100.0%), (3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 4 systems {4, 4, 4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003587/1.09, allocations: 2.315 MB / 0.8083 GB, free: 85.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008822/1.091, allocations: 426.2 kB / 0.8087 GB, free: 85.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008937/1.092, allocations: 0.5782 MB / 0.8093 GB, free: 84.44 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/1.092, allocations: 7.969 kB / 0.8093 GB, free: 84.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/1.092, allocations: 4.938 kB / 0.8093 GB, free: 84.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007416/1.093, allocations: 402.9 kB / 0.8097 GB, free: 84.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005378/1.093, allocations: 87.95 kB / 0.8098 GB, free: 84.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002191/1.096, allocations: 231.6 kB / 0.81 GB, free: 83.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003931/1.096, allocations: 165.3 kB / 0.8101 GB, free: 83.8 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009698/1.106, allocations: 6.583 MB / 0.8166 GB, free: 77.27 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006683/1.112, allocations: 6.711 MB / 0.8231 GB, free: 70.77 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001673/1.114, allocations: 1.793 MB / 0.8249 GB, free: 68.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003677/1.118, allocations: 2.988 MB / 0.8278 GB, free: 65.99 MB / 0.5606 GB Notification: Performance of Backend: time 3.01e-07/1.118, allocations: 0 / 0.8278 GB, free: 65.99 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01528/1.133, allocations: 7.374 MB / 0.835 GB, free: 58.58 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01743/1.15, allocations: 13.24 MB / 0.8479 GB, free: 45.37 MB / 0.5606 GB Notification: Performance of Templates: time 0.1326/1.283, allocations: 86.83 MB / 0.9327 GB, free: 7.113 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.InitializationConversion.Bodies.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.InitializationConversion.Bodies.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.InitializationConversion.Bodies -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.InitializationConversion.Bodies_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/InitializationConversion/Bodies/Bodies.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.InitializationConversion.Bodies.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.248876081001072]