Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.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.Forces.FrameForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002142/0.002142, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.011/2.011, allocations: 205.3 MB / 214.1 MB, free: 14.09 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 87.14 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.295/0.295, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.722e-05/1.721e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4139, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1968/0.6107, allocations: 104.9 MB / 0.5683 GB, free: 10.41 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.6111, allocations: 71.97 kB / 0.5684 GB, free: 10.34 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.016/1.627, allocations: 160.1 MB / 0.7247 GB, free: 82.64 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.805e-06/1.628, allocations: 0 / 0.7247 GB, free: 82.64 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0006388/1.628, allocations: 163.4 kB / 0.7249 GB, free: 82.49 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2809 * Number of variables: 2809 Notification: Performance of Generate backend data structure: time 0.03433/1.663, allocations: 8.009 MB / 0.7327 GB, free: 74.41 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/1.663, allocations: 8.031 kB / 0.7327 GB, free: 74.41 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08575/1.748, allocations: 12.03 MB / 0.7445 GB, free: 62.34 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03793/1.786, allocations: 10.81 MB / 0.755 GB, free: 51.55 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000535/1.787, allocations: 264 kB / 0.7553 GB, free: 51.3 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004373/1.791, allocations: 499.8 kB / 0.7557 GB, free: 50.81 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02836/1.82, allocations: 10.99 MB / 0.7665 GB, free: 39.81 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04481/1.865, allocations: 16.54 MB / 0.7826 GB, free: 21.78 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006237/1.865, allocations: 111 kB / 0.7827 GB, free: 21.67 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00362/1.869, allocations: 44 kB / 0.7828 GB, free: 21.62 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003905/1.873, allocations: 1.728 MB / 0.7845 GB, free: 19.89 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8984/2.771, allocations: 76.41 MB / 0.8591 GB, free: 64.2 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01297/2.784, allocations: 5.894 MB / 0.8648 GB, free: 63.51 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008861/2.793, allocations: 3.992 MB / 0.8687 GB, free: 63.46 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001185/2.795, allocations: 0.6668 MB / 0.8694 GB, free: 62.9 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.192e-05/2.795, allocations: 71.25 kB / 0.8694 GB, free: 62.86 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=307): time 7.734e-06/2.795, allocations: 0 / 0.8694 GB, free: 62.86 MB / 0.4953 GB Notification: Performance of matching and sorting (n=335): time 0.1095/2.904, allocations: 34.21 MB / 0.9029 GB, free: 55.25 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/2.904, allocations: 297.9 kB / 0.9031 GB, free: 54.93 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0139/2.918, allocations: 5.376 MB / 0.9084 GB, free: 53.02 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 0.0008796/2.919, allocations: 25.7 kB / 0.9084 GB, free: 52.99 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 0.004957/2.924, allocations: 5.502 MB / 0.9138 GB, free: 48.7 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 0.002136/2.926, allocations: 1.224 MB / 0.915 GB, free: 47.79 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001328/2.928, allocations: 7.75 kB / 0.915 GB, free: 47.79 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 0.0007838/2.929, allocations: 0.719 MB / 0.9157 GB, free: 47.3 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008126/2.937, allocations: 3.272 MB / 0.9189 GB, free: 46.12 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01222/2.949, allocations: 8.941 MB / 0.9276 GB, free: 37.3 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01197/2.961, allocations: 5.34 MB / 0.9328 GB, free: 35.68 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002499/2.961, allocations: 60.06 kB / 0.9329 GB, free: 35.68 MB / 0.4953 GB Notification: Performance of matching and sorting (n=1268) (initialization): time 0.03275/2.994, allocations: 11.58 MB / 0.9442 GB, free: 27.27 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001552/2.994, allocations: 92 kB / 0.9443 GB, free: 27.18 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003466/2.995, allocations: 204 kB / 0.9445 GB, free: 26.98 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004089/2.999, allocations: 1.005 MB / 0.9455 GB, free: 26.14 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01432/3.013, allocations: 2.232 MB / 0.9476 GB, free: 24.21 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01708/3.03, allocations: 10.6 MB / 0.958 GB, free: 14.16 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01145/3.042, allocations: 340.6 kB / 0.9583 GB, free: 13.88 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002463/3.044, allocations: 0.5717 MB / 0.9589 GB, free: 13.33 MB / 0.4953 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 921 * Number of states: 0 () * Number of discrete variables: 66 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1192): * Single equations (assignments): 1185 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003555/3.048, allocations: 0.6249 MB / 0.9595 GB, free: 12.7 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001676/3.05, allocations: 0.5823 MB / 0.9601 GB, free: 12.11 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01694/3.067, allocations: 5.628 MB / 0.9656 GB, free: 7.457 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.396e-05/3.067, allocations: 37.95 kB / 0.9656 GB, free: 7.422 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.642e-05/3.067, allocations: 11.66 kB / 0.9656 GB, free: 7.414 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.58e-05/3.067, allocations: 21.67 kB / 0.9656 GB, free: 7.41 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04629/3.113, allocations: 13.18 MB / 0.9785 GB, free: 12.88 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.716e-05/3.113, allocations: 4.094 kB / 0.9785 GB, free: 12.88 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005856/3.119, allocations: 0.5286 MB / 0.979 GB, free: 12.45 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003632/3.123, allocations: 0.6524 MB / 0.9797 GB, free: 11.94 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008384/3.124, allocations: 14.95 kB / 0.9797 GB, free: 11.93 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01743/3.141, allocations: 9.465 MB / 0.9889 GB, free: 2.832 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-05/3.141, allocations: 12 kB / 0.9889 GB, free: 2.82 MB / 0.5109 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02606/3.167, allocations: 9.652 MB / 0.9983 GB, free: 10.17 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005253/3.173, allocations: 1.063 MB / 0.9994 GB, free: 9.176 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002225/3.175, allocations: 6.109 kB / 0.9994 GB, free: 9.172 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006169/3.181, allocations: 145 kB / 0.9995 GB, free: 9.09 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00132/3.182, allocations: 204.2 kB / 0.9997 GB, free: 8.957 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005317/3.183, allocations: 83.28 kB / 0.9998 GB, free: 8.879 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.01173/3.195, allocations: 3.665 MB / 1.003 GB, free: 5.699 MB / 0.5265 GB Notification: Performance of sort global known variables: time 1.333e-06/3.195, allocations: 0 / 1.003 GB, free: 5.699 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.01391/3.209, allocations: 1.582 MB / 1.005 GB, free: 4.125 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (280): * Single equations (assignments): 273 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00125/3.21, allocations: 160.7 kB / 1.005 GB, free: 3.973 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.02194/3.232, allocations: 8.28 MB / 1.013 GB, free: 12.46 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/3.232, allocations: 3.844 kB / 1.013 GB, free: 12.46 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.007788/3.24, allocations: 3.061 MB / 1.016 GB, free: 9.652 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007477/3.247, allocations: 0.7338 MB / 1.017 GB, free: 9.043 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05329/3.301, allocations: 15.46 MB / 1.032 GB, free: 12.13 MB / 0.5578 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01673/3.318, allocations: 5.924 MB / 1.038 GB, free: 7.723 MB / 0.5578 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003537/3.321, allocations: 487.3 kB / 1.038 GB, free: 7.246 MB / 0.5578 GB Notification: Performance of SimCode: time 1.233e-06/3.321, allocations: 0 / 1.038 GB, free: 7.246 MB / 0.5578 GB Notification: Performance of Templates: time 1.261/4.582, allocations: 230.7 MB / 1.264 GB, free: 147.9 MB / 0.5578 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces2/FrameForces2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches