Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.Q.1.|body.body.Q.2.|body.body.Q.3.|body.body.Q.4.|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity") translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.Q.1.|body.body.Q.2.|body.body.Q.3.|body.body.Q.4.|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001512/0.001512, allocations: 176.1 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.223/1.223, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007019/0.000702, allocations: 94.28 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2847/0.2847, allocations: 43.57 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003345, allocations: 12 kB / 432 MB, free: 5.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09119/0.09154, allocations: 58.84 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.1858/0.2773, allocations: 45.65 MB / 0.5239 GB, free: 18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01702/0.2944, allocations: 10.08 MB / 0.5337 GB, free: 11.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006192/0.3006, allocations: 208.2 kB / 0.5339 GB, free: 11.12 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004354/0.305, allocations: 2.348 MB / 0.5362 GB, free: 10.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01346/0.3185, allocations: 7.009 MB / 0.5431 GB, free: 7.363 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00269/0.3212, allocations: 0.6241 MB / 0.5437 GB, free: 7.113 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004796/0.326, allocations: 4.551 MB / 0.5481 GB, free: 5.562 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006394/0.3324, allocations: 5.168 MB / 0.5532 GB, free: 3.438 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00215/0.3346, allocations: 1.25 MB / 0.5544 GB, free: 3.027 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002679/0.3373, allocations: 1.931 MB / 0.5563 GB, free: 2.438 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005336/0.3379, allocations: 146.4 kB / 0.5564 GB, free: 2.438 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001997/0.3399, allocations: 1.052 MB / 0.5574 GB, free: 2.082 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001387/0.3413, allocations: 1.729 MB / 0.5591 GB, free: 1.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001546/0.3428, allocations: 1.94 MB / 0.561 GB, free: 15.74 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00512/0.3479, allocations: 5.652 MB / 0.5665 GB, free: 11.92 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.348, allocations: 2.031 kB / 0.5665 GB, free: 11.92 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.348, allocations: 3.938 kB / 0.5665 GB, free: 11.91 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000126/0.3481, allocations: 0 / 0.5665 GB, free: 11.91 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.006797/0.3549, allocations: 3.959 MB / 0.5704 GB, free: 8.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.355, allocations: 12.03 kB / 0.5704 GB, free: 8.719 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006139/0.3611, allocations: 1.976 MB / 0.5723 GB, free: 6.734 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003627/0.3647, allocations: 2.283 MB / 0.5746 GB, free: 4.391 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/0.3649, allocations: 251.1 kB / 0.5748 GB, free: 4.145 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007643/0.3657, allocations: 435.5 kB / 0.5752 GB, free: 3.719 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01437/0.3801, allocations: 10.39 MB / 0.5854 GB, free: 8.625 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.854e-05/0.3802, allocations: 47.53 kB / 0.5854 GB, free: 8.578 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003776/0.3806, allocations: 163.8 kB / 0.5856 GB, free: 8.418 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002483/0.3831, allocations: 1.943 MB / 0.5875 GB, free: 6.473 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01406/0.3971, allocations: 8.612 MB / 0.5959 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04046/0.4376, allocations: 40.46 MB / 0.6354 GB, free: 4.199 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008413/0.4461, allocations: 3.82 MB / 0.6391 GB, free: 240 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002193/0.4483, allocations: 1.752 MB / 0.6408 GB, free: 14.47 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01053/0.4588, allocations: 8.27 MB / 0.6489 GB, free: 5.77 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.4589, allocations: 47.56 kB / 0.649 GB, free: 5.715 MB / 474.7 MB Notification: Performance of pre-optimization done (n=153): time 3.877e-06/0.4589, allocations: 0 / 0.649 GB, free: 5.715 MB / 474.7 MB Notification: Performance of matching and sorting (n=160): time 0.02759/0.4865, allocations: 13.04 MB / 0.6617 GB, free: 8.492 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001154/0.4877, allocations: 1.628 MB / 0.6633 GB, free: 6.691 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005407/0.4931, allocations: 3.959 MB / 0.6672 GB, free: 2.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001698/0.4933, allocations: 45.7 kB / 0.6672 GB, free: 2.699 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00196/0.4953, allocations: 3.202 MB / 0.6703 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006262/0.4959, allocations: 0.6521 MB / 0.671 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003181/0.4962, allocations: 120 kB / 0.6711 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003515/0.4966, allocations: 0.5583 MB / 0.6716 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003231/0.4998, allocations: 2.171 MB / 0.6737 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005272/0.5051, allocations: 5.916 MB / 0.6795 GB, free: 4.137 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1748/0.6799, allocations: 8.683 MB / 0.688 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001075/0.68, allocations: 37.66 kB / 0.688 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=792) (initialization): time 0.01964/0.6997, allocations: 9.558 MB / 0.6974 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.6998, allocations: 64.97 kB / 0.6974 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00934/0.7092, allocations: 3.867 MB / 0.7012 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008781/0.718, allocations: 2.228 MB / 0.7034 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004116/0.7221, allocations: 1.405 MB / 0.7048 GB, free: 140.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007676/0.7298, allocations: 6.88 MB / 0.7115 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004409/0.7343, allocations: 419.2 kB / 0.7119 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000863/0.7351, allocations: 377.8 kB / 0.7122 GB, free: 136.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 39 (FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (754): * Single equations (assignments): 745 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003635/0.7388, allocations: 2.118 MB / 0.7143 GB, free: 135.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000648/0.7395, allocations: 335.1 kB / 0.7146 GB, free: 135.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005488/0.745, allocations: 3.179 MB / 0.7177 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004452/0.7494, allocations: 2.68 MB / 0.7203 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.7495, allocations: 2.25 kB / 0.7204 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.258e-05/0.7495, allocations: 11.47 kB / 0.7204 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01782/0.7673, allocations: 9.172 MB / 0.7293 GB, free: 130.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/0.7674, allocations: 3.625 kB / 0.7293 GB, free: 130.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/0.7686, allocations: 268.2 kB / 0.7296 GB, free: 130.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002683/0.7713, allocations: 1.04 MB / 0.7306 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001729/0.7714, allocations: 34.16 kB / 0.7306 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0045/0.776, allocations: 5.029 MB / 0.7355 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007078/0.7767, allocations: 1.485 MB / 0.737 GB, free: 125.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007105/0.7838, allocations: 5.553 MB / 0.7424 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009367/0.7848, allocations: 415.8 kB / 0.7428 GB, free: 123 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006038/0.7854, allocations: 28.25 kB / 0.7428 GB, free: 123 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/0.787, allocations: 155.5 kB / 0.743 GB, free: 123 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002492/0.7872, allocations: 99.09 kB / 0.7431 GB, free: 123 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.7873, allocations: 44.84 kB / 0.7431 GB, free: 123 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003681/0.791, allocations: 2.448 MB / 0.7455 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/0.791, allocations: 3.656 kB / 0.7455 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004769/0.7958, allocations: 1.099 MB / 0.7466 GB, free: 122 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004484/0.7963, allocations: 166.7 kB / 0.7467 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008172/0.8045, allocations: 5.835 MB / 0.7524 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.8045, allocations: 0 / 0.7524 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003276/0.8078, allocations: 2.253 MB / 0.7546 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00317/0.811, allocations: 426 kB / 0.7551 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01448/0.8255, allocations: 11.98 MB / 0.7668 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002803/0.8283, allocations: 3.296 MB / 0.77 GB, free: 99.52 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009459/0.8293, allocations: 283.4 kB / 0.7702 GB, free: 99.24 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/0.8293, allocations: 0 / 0.7702 GB, free: 99.24 MB / 0.4948 GB Notification: Performance of Templates: time 0.2705/1.1, allocations: 134.9 MB / 0.902 GB, free: 151.3 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Frames/AngularVelocity/AngularVelocity.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches