Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Bodies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.InitializationConversion.Bodies,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Bodies") translateModel(ModelicaTest.MultiBody.InitializationConversion.Bodies,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Bodies") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 108.2 kB / 17.09 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002027/0.002027, allocations: 191.3 kB / 18.01 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2033/0.2033, allocations: 43.52 MB / 314.8 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 75.91 kB / 442.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1045, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Bodies): time 0.01236/0.1169, allocations: 12.36 MB / 0.5006 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008909/0.1258, allocations: 4.254 MB / 0.5048 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002577/0.1284, allocations: 91.62 kB / 0.5048 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005219/0.1337, allocations: 2.616 MB / 0.5074 GB, free: 8.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006261/0.14, allocations: 2.308 MB / 0.5096 GB, free: 6.109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001952/0.142, allocations: 0.8892 MB / 0.5105 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009048/0.1511, allocations: 6.534 MB / 0.5169 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004359/0.1555, allocations: 3.104 MB / 0.5199 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003551/0.159, allocations: 1.9 MB / 0.5218 GB, free: 9.602 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004091/0.1631, allocations: 2.644 MB / 0.5244 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001106/0.1643, allocations: 356 kB / 0.5247 GB, free: 6.602 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003362/0.1677, allocations: 1.518 MB / 0.5262 GB, free: 5.082 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003014/0.1707, allocations: 2.392 MB / 0.5285 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004608/0.1753, allocations: 2.536 MB / 0.531 GB, free: 136 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2467/0.422, allocations: 8.125 MB / 0.5389 GB, free: 12.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.4221, allocations: 0 / 0.5389 GB, free: 12.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4221, allocations: 0 / 0.5389 GB, free: 12.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004016/0.4225, allocations: 0.6875 kB / 0.5389 GB, free: 12.97 MB / 414.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.02124/0.4437, allocations: 6.082 MB / 0.5449 GB, free: 10.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.4438, allocations: 16.61 kB / 0.5449 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02367/0.4675, allocations: 3.238 MB / 0.5481 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01343/0.481, allocations: 5.038 MB / 0.553 GB, free: 9.699 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002698/0.4813, allocations: 230.3 kB / 0.5532 GB, free: 9.691 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002491/0.4838, allocations: 0.6491 MB / 0.5538 GB, free: 9.668 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01941/0.5032, allocations: 10.67 MB / 0.5643 GB, free: 5.266 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001685/0.5034, allocations: 66.33 kB / 0.5643 GB, free: 5.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005059/0.5039, allocations: 143.7 kB / 0.5645 GB, free: 5.191 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0027/0.5066, allocations: 1.944 MB / 0.5664 GB, free: 4.461 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01656/0.5232, allocations: 9.847 MB / 0.576 GB, free: 15.48 MB / 430.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.06984/0.593, allocations: 44.57 MB / 0.6195 GB, free: 2.211 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.6033, allocations: 4.056 MB / 0.6235 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003464/0.6068, allocations: 2.196 MB / 0.6256 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002125/0.6071, allocations: 30.67 kB / 0.6256 GB, free: 11.77 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.956e-05/0.6071, allocations: 62.14 kB / 0.6257 GB, free: 11.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=190): time 5.631e-06/0.6071, allocations: 0 / 0.6257 GB, free: 11.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=194): time 0.06457/0.6717, allocations: 22.63 MB / 0.6478 GB, free: 4.559 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000174/0.6719, allocations: 336.4 kB / 0.6481 GB, free: 4.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008554/0.6805, allocations: 5.245 MB / 0.6532 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008308/0.6814, allocations: 56.67 kB / 0.6533 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003039/0.6844, allocations: 3.416 MB / 0.6566 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001718/0.6861, allocations: 0.8495 MB / 0.6574 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002419/0.6886, allocations: 1.479 MB / 0.6589 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.6887, allocations: 309.9 kB / 0.6592 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004755/0.6934, allocations: 3.032 MB / 0.6621 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008991/0.7025, allocations: 7.342 MB / 0.6693 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01558/0.7181, allocations: 10.96 MB / 0.68 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000169/0.7183, allocations: 44 kB / 0.6801 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.06054/0.7789, allocations: 17.14 MB / 0.6968 GB, free: 14.83 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002474/0.7792, allocations: 68 kB / 0.6969 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04337/0.8226, allocations: 10.31 MB / 0.7069 GB, free: 4.395 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04603/0.8686, allocations: 8.62 MB / 0.7153 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006178/0.8748, allocations: 1.673 MB / 0.717 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03338/0.9083, allocations: 22 MB / 0.7385 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00851/0.9168, allocations: 0.5683 MB / 0.739 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002537/0.9194, allocations: 430.6 kB / 0.7394 GB, free: 2.223 MB / 0.5762 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.006425/0.9258, allocations: 2.318 MB / 0.7417 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001617/0.9274, allocations: 434.3 kB / 0.7421 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002112/0.9296, allocations: 0.6091 MB / 0.7427 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.837e-05/0.9296, allocations: 11.91 kB / 0.7427 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.9296, allocations: 4 kB / 0.7427 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001566/0.9312, allocations: 0.4992 MB / 0.7432 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001492/0.9327, allocations: 87.95 kB / 0.7433 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00368/0.9364, allocations: 247.6 kB / 0.7435 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000675/0.9371, allocations: 151.7 kB / 0.7437 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01318/0.9503, allocations: 6.602 MB / 0.7501 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009486/0.9598, allocations: 6.72 MB / 0.7567 GB, free: 456 kB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2697/1.23, allocations: 1.837 MB / 0.7585 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.009082/1.239, allocations: 3.35 MB / 0.7617 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of Backend: time 8.82e-07/1.239, allocations: 0.5 kB / 0.7617 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.024/1.263, allocations: 8.522 MB / 0.7701 GB, free: 203.6 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02408/1.287, allocations: 13.12 MB / 0.7829 GB, free: 197.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.115/1.402, allocations: 79.82 MB / 0.8608 GB, free: 128.2 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Bodies.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Bodies.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Bodies -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Bodies_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/InitializationConversion/Bodies/Bodies.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Bodies.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches