Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Bodies.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.001675/0.001675, allocations: 114 kB / 21.18 MB, free: 0.7422 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.002131/0.002131, allocations: 214.1 kB / 24.48 MB, free: 4.191 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.449/1.449, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2235/0.2235, allocations: 46.89 MB / 361.1 MB, free: 4.625 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-beta.om/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.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-beta.om_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-beta.om_ModelicaTest.MultiBody.InitializationConversion.Bodies") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002381/0.002381, allocations: 87.86 kB / 0.4968 GB, free: 7.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3121, allocations: 65.99 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Bodies): time 0.01377/0.3258, allocations: 12.35 MB / 0.5733 GB, free: 8.625 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008769/0.3346, allocations: 4.306 MB / 0.5775 GB, free: 4.305 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002298/0.3369, allocations: 83.75 kB / 0.5775 GB, free: 4.223 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005495/0.3424, allocations: 2.667 MB / 0.5801 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00565/0.348, allocations: 2.269 MB / 0.5824 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.3499, allocations: 0.8815 MB / 0.5832 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009656/0.3595, allocations: 7.053 MB / 0.5901 GB, free: 7.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003301/0.3628, allocations: 2.362 MB / 0.5924 GB, free: 4.906 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003263/0.3661, allocations: 1.888 MB / 0.5943 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004457/0.3706, allocations: 2.87 MB / 0.5971 GB, free: 136 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000847/0.3714, allocations: 356 kB / 0.5974 GB, free: 15.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003039/0.3745, allocations: 1.568 MB / 0.5989 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002546/0.377, allocations: 2.4 MB / 0.6013 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002884/0.3799, allocations: 2.505 MB / 0.6037 GB, free: 9.289 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009748/0.3896, allocations: 8.101 MB / 0.6116 GB, free: 1.156 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3896, allocations: 0 / 0.6116 GB, free: 1.156 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3896, allocations: 3.938 kB / 0.6116 GB, free: 1.152 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002063/0.3898, allocations: 0 / 0.6116 GB, free: 1.152 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.01587/0.4057, allocations: 6.187 MB / 0.6177 GB, free: 10.87 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.4058, allocations: 8.031 kB / 0.6177 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02375/0.4295, allocations: 3.496 MB / 0.6211 GB, free: 7.359 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01191/0.4414, allocations: 4.76 MB / 0.6257 GB, free: 2.52 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002524/0.4417, allocations: 238.1 kB / 0.626 GB, free: 2.285 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002456/0.4441, allocations: 0.6554 MB / 0.6266 GB, free: 1.629 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01955/0.4637, allocations: 10.66 MB / 0.637 GB, free: 6.172 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001728/0.4639, allocations: 63.53 kB / 0.6371 GB, free: 6.109 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004932/0.4643, allocations: 151.8 kB / 0.6372 GB, free: 5.961 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003144/0.4675, allocations: 1.935 MB / 0.6391 GB, free: 4.027 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01854/0.486, allocations: 9.84 MB / 0.6487 GB, free: 10.17 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.06396/0.55, allocations: 44.63 MB / 0.6923 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009761/0.5597, allocations: 3.993 MB / 0.6962 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00346/0.5632, allocations: 2.143 MB / 0.6983 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/0.5633, allocations: 29.81 kB / 0.6983 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.356e-05/0.5634, allocations: 58.67 kB / 0.6984 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=190): time 4.849e-06/0.5634, allocations: 4 kB / 0.6984 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194): time 0.05754/0.621, allocations: 22.99 MB / 0.7208 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000213/0.6212, allocations: 328.4 kB / 0.7212 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008658/0.6298, allocations: 5.185 MB / 0.7262 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009779/0.6308, allocations: 57.69 kB / 0.7263 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003459/0.6343, allocations: 3.536 MB / 0.7297 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001692/0.636, allocations: 0.8841 MB / 0.7306 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002612/0.6386, allocations: 1.489 MB / 0.732 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.6387, allocations: 309.1 kB / 0.7323 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2962/0.935, allocations: 3.026 MB / 0.7353 GB, free: 152 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007253/0.9422, allocations: 7.342 MB / 0.7425 GB, free: 146 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009558/0.9518, allocations: 10.97 MB / 0.7532 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.705e-05/0.9519, allocations: 42.28 kB / 0.7532 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.04857/1, allocations: 17.4 MB / 0.7702 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000165/1.001, allocations: 79.92 kB / 0.7703 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0367/1.037, allocations: 10.57 MB / 0.7806 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04041/1.078, allocations: 8.978 MB / 0.7894 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004604/1.082, allocations: 1.665 MB / 0.791 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0253/1.108, allocations: 22.13 MB / 0.8126 GB, free: 84.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006471/1.114, allocations: 0.555 MB / 0.8132 GB, free: 83.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001138/1.115, allocations: 432 kB / 0.8136 GB, free: 83.37 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.003699/1.119, allocations: 2.314 MB / 0.8158 GB, free: 81.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001046/1.12, allocations: 454.7 kB / 0.8163 GB, free: 80.95 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/1.121, allocations: 0.6089 MB / 0.8169 GB, free: 80.33 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-05/1.121, allocations: 7.969 kB / 0.8169 GB, free: 80.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.121, allocations: 4 kB / 0.8169 GB, free: 80.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/1.122, allocations: 0.5115 MB / 0.8174 GB, free: 80.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008224/1.123, allocations: 91.95 kB / 0.8175 GB, free: 79.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002456/1.126, allocations: 232.8 kB / 0.8177 GB, free: 79.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003634/1.126, allocations: 155.8 kB / 0.8178 GB, free: 79.58 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009653/1.136, allocations: 6.615 MB / 0.8243 GB, free: 73.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006155/1.142, allocations: 6.745 MB / 0.8309 GB, free: 66.32 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001693/1.144, allocations: 1.794 MB / 0.8326 GB, free: 64.53 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005355/1.149, allocations: 3.291 MB / 0.8358 GB, free: 61.25 MB / 0.5606 GB Notification: Performance of Backend: time 4.41e-07/1.149, allocations: 0 / 0.8358 GB, free: 61.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01798/1.167, allocations: 8.114 MB / 0.8438 GB, free: 52.91 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01819/1.185, allocations: 13.34 MB / 0.8568 GB, free: 39.61 MB / 0.5606 GB Notification: Performance of Templates: time 0.1276/1.313, allocations: 82.22 MB / 0.9371 GB, free: 5.672 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Bodies.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Bodies.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Bodies -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Bodies_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/InitializationConversion/Bodies/Bodies.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.02108722506091]