Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.00114/0.00114, allocations: 113.8 kB / 18.46 MB, free: 4.617 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.001188/0.001187, allocations: 186.1 kB / 19.39 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 243.1 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2087/0.2087, allocations: 44.19 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.89 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.369, allocations: 60.82 MB / 0.5196 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Bodies): time 0.01258/0.3816, allocations: 12.32 MB / 0.5316 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01008/0.3917, allocations: 4.24 MB / 0.5357 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002465/0.3942, allocations: 83.38 kB / 0.5358 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005203/0.3995, allocations: 2.629 MB / 0.5384 GB, free: 5.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006143/0.4057, allocations: 2.298 MB / 0.5406 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.4076, allocations: 0.8834 MB / 0.5415 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01015/0.4178, allocations: 6.859 MB / 0.5482 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004733/0.4226, allocations: 3.086 MB / 0.5512 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004288/0.4269, allocations: 1.892 MB / 0.553 GB, free: 9.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004404/0.4313, allocations: 2.633 MB / 0.5556 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001266/0.4326, allocations: 352 kB / 0.5559 GB, free: 6.676 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003645/0.4363, allocations: 1.529 MB / 0.5574 GB, free: 5.145 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003024/0.4393, allocations: 2.373 MB / 0.5598 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00445/0.4438, allocations: 2.528 MB / 0.5622 GB, free: 228 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009906/0.4537, allocations: 8.125 MB / 0.5702 GB, free: 8.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4537, allocations: 0 / 0.5702 GB, free: 8.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4537, allocations: 0 / 0.5702 GB, free: 8.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002351/0.454, allocations: 0 / 0.5702 GB, free: 8.07 MB / 430.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.01568/0.4697, allocations: 6.058 MB / 0.5761 GB, free: 1.934 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/0.4697, allocations: 8.031 kB / 0.5761 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02215/0.4919, allocations: 3.235 MB / 0.5792 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01152/0.5035, allocations: 4.855 MB / 0.584 GB, free: 9.742 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/0.5037, allocations: 226.1 kB / 0.5842 GB, free: 9.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002232/0.5059, allocations: 0.6553 MB / 0.5848 GB, free: 8.863 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01623/0.5222, allocations: 10.66 MB / 0.5953 GB, free: 13.42 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001721/0.5224, allocations: 71.33 kB / 0.5953 GB, free: 13.35 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005705/0.5229, allocations: 147.9 kB / 0.5955 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002842/0.5258, allocations: 1.939 MB / 0.5974 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01649/0.5423, allocations: 9.851 MB / 0.607 GB, free: 1.398 MB / 462.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.05641/0.5987, allocations: 44.56 MB / 0.6505 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008552/0.6073, allocations: 4.035 MB / 0.6544 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002758/0.6101, allocations: 2.202 MB / 0.6566 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001353/0.6102, allocations: 20.14 kB / 0.6566 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.6103, allocations: 62.67 kB / 0.6567 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=190): time 4.539e-06/0.6103, allocations: 4 kB / 0.6567 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of matching and sorting (n=194): time 0.05522/0.6655, allocations: 22.55 MB / 0.6787 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001479/0.6657, allocations: 332.4 kB / 0.679 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008794/0.6745, allocations: 5.177 MB / 0.6841 GB, free: 296 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005942/0.6751, allocations: 53.7 kB / 0.6841 GB, free: 236 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002572/0.6777, allocations: 3.409 MB / 0.6874 GB, free: 12.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001311/0.679, allocations: 0.8488 MB / 0.6883 GB, free: 11.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003526/0.6826, allocations: 1.48 MB / 0.6897 GB, free: 10.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.452e-05/0.6827, allocations: 301.1 kB / 0.69 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004812/0.6875, allocations: 3.032 MB / 0.693 GB, free: 7.094 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007989/0.6955, allocations: 7.342 MB / 0.7001 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01409/0.7096, allocations: 10.96 MB / 0.7108 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001643/0.7098, allocations: 48 kB / 0.7109 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.366/1.076, allocations: 17.14 MB / 0.7276 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001995/1.076, allocations: 73.09 kB / 0.7277 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04129/1.117, allocations: 10.31 MB / 0.7377 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04396/1.161, allocations: 8.621 MB / 0.7462 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00503/1.166, allocations: 1.664 MB / 0.7478 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02615/1.193, allocations: 22.02 MB / 0.7693 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007185/1.2, allocations: 0.5467 MB / 0.7698 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001258/1.201, allocations: 435.1 kB / 0.7702 GB, free: 153 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.003935/1.205, allocations: 2.31 MB / 0.7725 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001174/1.206, allocations: 436.9 kB / 0.7729 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/1.208, allocations: 0.6084 MB / 0.7735 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.072e-05/1.208, allocations: 11.78 kB / 0.7735 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/1.208, allocations: 3.344 kB / 0.7735 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/1.209, allocations: 496.5 kB / 0.774 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000671/1.21, allocations: 90.62 kB / 0.7741 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002619/1.212, allocations: 237 kB / 0.7743 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004882/1.213, allocations: 156.3 kB / 0.7745 GB, free: 151 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01016/1.223, allocations: 6.608 MB / 0.7809 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00699/1.23, allocations: 6.722 MB / 0.7875 GB, free: 138 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001839/1.232, allocations: 1.842 MB / 0.7893 GB, free: 136.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004295/1.236, allocations: 3.288 MB / 0.7925 GB, free: 132.9 MB / 0.5762 GB Notification: Performance of Backend: time 7.42e-07/1.236, allocations: 0 / 0.7925 GB, free: 132.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0171/1.253, allocations: 8.53 MB / 0.8008 GB, free: 124.4 MB / 0.5762 GB Notification: Performance of SimCode: time 0.02073/1.274, allocations: 13.08 MB / 0.8136 GB, free: 111.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.1158/1.39, allocations: 79.26 MB / 0.891 GB, free: 32.5 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Bodies.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Bodies.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Bodies -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Bodies_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/InitializationConversion/Bodies/Bodies.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Bodies.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches