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.00121/0.00121, allocations: 105.4 kB / 17.14 MB, free: 5.91 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.001568/0.001568, allocations: 199.2 kB / 18.08 MB, free: 4.977 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.366/1.366, allocations: 207.6 MB / 226.4 MB, free: 11.51 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.2178/0.2178, allocations: 44.25 MB / 320.5 MB, free: 12.83 MB / 270.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.001917/0.001917, allocations: 71.91 kB / 454.7 MB, free: 8.684 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1237, allocations: 61 MB / 0.5036 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Bodies): time 0.01373/0.1375, allocations: 12.41 MB / 0.5157 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008705/0.1462, allocations: 4.254 MB / 0.5199 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001706/0.1479, allocations: 87.69 kB / 0.5199 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004828/0.1527, allocations: 2.663 MB / 0.5225 GB, free: 8.047 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005376/0.1581, allocations: 2.308 MB / 0.5248 GB, free: 5.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.1597, allocations: 0.8853 MB / 0.5257 GB, free: 4.844 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2297/0.3894, allocations: 6.518 MB / 0.532 GB, free: 9.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003769/0.3932, allocations: 2.661 MB / 0.5346 GB, free: 9.684 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003371/0.3966, allocations: 1.902 MB / 0.5365 GB, free: 9.562 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004666/0.4012, allocations: 2.898 MB / 0.5393 GB, free: 9.297 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001037/0.4023, allocations: 355.5 kB / 0.5397 GB, free: 9.297 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003346/0.4056, allocations: 1.562 MB / 0.5412 GB, free: 9.297 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003061/0.4087, allocations: 2.436 MB / 0.5436 GB, free: 9.031 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004369/0.413, allocations: 2.529 MB / 0.546 GB, free: 8.133 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01054/0.4236, allocations: 8.172 MB / 0.554 GB, free: 5.445 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4236, allocations: 0 / 0.554 GB, free: 5.445 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4236, allocations: 0 / 0.554 GB, free: 5.445 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002501/0.4238, allocations: 5.469 kB / 0.554 GB, free: 5.441 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.01624/0.4401, allocations: 6.222 MB / 0.5601 GB, free: 1.496 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.4401, allocations: 12.92 kB / 0.5601 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02205/0.4622, allocations: 3.268 MB / 0.5633 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01111/0.4733, allocations: 5.07 MB / 0.5682 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/0.4735, allocations: 228.8 kB / 0.5685 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002055/0.4755, allocations: 0.6545 MB / 0.5691 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01656/0.4921, allocations: 10.66 MB / 0.5795 GB, free: 5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001354/0.4922, allocations: 67.89 kB / 0.5796 GB, free: 4.957 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004433/0.4926, allocations: 151.9 kB / 0.5797 GB, free: 4.844 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003202/0.4958, allocations: 1.932 MB / 0.5816 GB, free: 2.941 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01889/0.5147, allocations: 9.863 MB / 0.5912 GB, free: 9.301 MB / 446.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.06055/0.5753, allocations: 44.64 MB / 0.6348 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009279/0.5846, allocations: 3.991 MB / 0.6387 GB, free: 7.805 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003028/0.5876, allocations: 2.165 MB / 0.6409 GB, free: 5.625 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.5877, allocations: 25.77 kB / 0.6409 GB, free: 5.605 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.39e-05/0.5877, allocations: 62.64 kB / 0.6409 GB, free: 5.539 MB / 494.1 MB Notification: Performance of pre-optimization done (n=190): time 4.608e-06/0.5878, allocations: 0 / 0.6409 GB, free: 5.539 MB / 494.1 MB Notification: Performance of matching and sorting (n=194): time 0.05514/0.6429, allocations: 23.09 MB / 0.6635 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003581/0.6432, allocations: 327.6 kB / 0.6638 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01011/0.6534, allocations: 5.267 MB / 0.6689 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001104/0.6545, allocations: 53.7 kB / 0.669 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003499/0.658, allocations: 3.544 MB / 0.6725 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001693/0.6597, allocations: 0.8826 MB / 0.6733 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002457/0.6621, allocations: 1.492 MB / 0.6748 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.6623, allocations: 305.1 kB / 0.6751 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005168/0.6674, allocations: 3.033 MB / 0.678 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008824/0.6763, allocations: 7.339 MB / 0.6852 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.015/0.6913, allocations: 10.97 MB / 0.6959 GB, free: 8.727 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000114/0.6914, allocations: 40 kB / 0.6959 GB, free: 8.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.05859/0.75, allocations: 17.13 MB / 0.7127 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.7501, allocations: 72.09 kB / 0.7127 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04297/0.7931, allocations: 10.28 MB / 0.7228 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04615/0.8392, allocations: 8.612 MB / 0.7312 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005646/0.8449, allocations: 1.669 MB / 0.7328 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03442/0.8793, allocations: 22.01 MB / 0.7543 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007726/0.887, allocations: 0.5578 MB / 0.7549 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001139/0.8881, allocations: 439.8 kB / 0.7553 GB, free: 10.91 MB / 0.6075 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.004964/0.8931, allocations: 2.32 MB / 0.7575 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/0.8942, allocations: 461 kB / 0.758 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.8956, allocations: 0.6142 MB / 0.7586 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/0.8957, allocations: 11.91 kB / 0.7586 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.451e-05/0.8957, allocations: 4 kB / 0.7586 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/0.8967, allocations: 0.5174 MB / 0.7591 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006637/0.8974, allocations: 87.95 kB / 0.7592 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002546/0.9, allocations: 247.6 kB / 0.7594 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004612/0.9004, allocations: 151.7 kB / 0.7596 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2593/1.16, allocations: 6.605 MB / 0.766 GB, free: 206 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008819/1.169, allocations: 6.738 MB / 0.7726 GB, free: 205.2 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002218/1.171, allocations: 1.798 MB / 0.7744 GB, free: 205.1 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004974/1.176, allocations: 3.347 MB / 0.7776 GB, free: 204 MB / 0.6075 GB Notification: Performance of Backend: time 2e-07/1.176, allocations: 0 / 0.7776 GB, free: 204 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01843/1.194, allocations: 8.134 MB / 0.7856 GB, free: 200.6 MB / 0.6075 GB Notification: Performance of SimCode: time 0.02089/1.215, allocations: 13.33 MB / 0.7986 GB, free: 194.1 MB / 0.6075 GB Notification: Performance of Templates: time 0.1046/1.32, allocations: 80.58 MB / 0.8773 GB, free: 127.2 MB / 0.6075 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