Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001043/0.001043, allocations: 177.5 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.3 MB / 213.7 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009552/0.0009554, allocations: 86.66 kB / 261.7 MB, free: 1.621 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.2195/0.2195, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.606e-05/1.608e-05, allocations: 4 kB / 418.3 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1219, allocations: 58.86 MB / 477.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4334/0.5553, allocations: 104.8 MB / 0.5683 GB, free: 6.922 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.5556, allocations: 77.78 kB / 0.5684 GB, free: 6.887 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.697/1.253, allocations: 160.1 MB / 0.7247 GB, free: 89.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.883e-06/1.253, allocations: 1 kB / 0.7247 GB, free: 89.77 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004799/1.253, allocations: 167.5 kB / 0.7249 GB, free: 89.77 MB / 0.4948 GB 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.02738/1.281, allocations: 7.996 MB / 0.7327 GB, free: 86.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/1.281, allocations: 14.75 kB / 0.7327 GB, free: 86.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04486/1.325, allocations: 12.03 MB / 0.7445 GB, free: 86.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02514/1.351, allocations: 10.82 MB / 0.755 GB, free: 85.11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003922/1.351, allocations: 264.4 kB / 0.7553 GB, free: 85.11 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003358/1.354, allocations: 493.4 kB / 0.7558 GB, free: 85.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.018/1.372, allocations: 10.99 MB / 0.7665 GB, free: 85.06 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03397/1.406, allocations: 16.53 MB / 0.7826 GB, free: 81.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003515/1.407, allocations: 106.2 kB / 0.7827 GB, free: 81 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001261/1.408, allocations: 50.48 kB / 0.7828 GB, free: 81 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001927/1.41, allocations: 1.731 MB / 0.7845 GB, free: 80.99 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07423/1.484, allocations: 76.42 MB / 0.8591 GB, free: 22.03 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005942/1.49, allocations: 5.896 MB / 0.8649 GB, free: 16.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00372/1.494, allocations: 3.996 MB / 0.8688 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000538/1.495, allocations: 0.6637 MB / 0.8694 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/1.495, allocations: 80.48 kB / 0.8695 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=307): time 5.651e-06/1.495, allocations: 0 / 0.8695 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=335): time 0.3562/1.851, allocations: 34.28 MB / 0.903 GB, free: 97.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/1.851, allocations: 289.5 kB / 0.9032 GB, free: 97.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01526/1.866, allocations: 5.374 MB / 0.9085 GB, free: 96.78 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007986/1.867, allocations: 27.45 kB / 0.9085 GB, free: 96.75 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0049/1.872, allocations: 5.705 MB / 0.9141 GB, free: 95.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001797/1.874, allocations: 1.225 MB / 0.9153 GB, free: 94.65 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005742/1.874, allocations: 1.422 kB / 0.9153 GB, free: 94.65 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005223/1.875, allocations: 0.7156 MB / 0.916 GB, free: 94.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00476/1.88, allocations: 3.273 MB / 0.9192 GB, free: 94.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00635/1.886, allocations: 8.935 MB / 0.9279 GB, free: 86.97 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006851/1.893, allocations: 5.332 MB / 0.9331 GB, free: 86.94 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001559/1.893, allocations: 59.44 kB / 0.9332 GB, free: 86.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1268) (initialization): time 0.02029/1.913, allocations: 11.81 MB / 0.9447 GB, free: 86.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001245/1.914, allocations: 93.38 kB / 0.9448 GB, free: 86.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000206/1.914, allocations: 201 kB / 0.945 GB, free: 86.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001985/1.916, allocations: 0.9995 MB / 0.946 GB, free: 86.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007097/1.923, allocations: 2.234 MB / 0.9481 GB, free: 86.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01133/1.934, allocations: 10.59 MB / 0.9585 GB, free: 80.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01036/1.945, allocations: 343.3 kB / 0.9588 GB, free: 80.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002387/1.947, allocations: 0.572 MB / 0.9594 GB, free: 80.77 MB / 0.5105 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.001682/1.949, allocations: 0.6217 MB / 0.96 GB, free: 80.33 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001377/1.95, allocations: 0.5831 MB / 0.9605 GB, free: 80.01 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00937/1.96, allocations: 5.635 MB / 0.966 GB, free: 79.72 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.134e-05/1.96, allocations: 35.91 kB / 0.9661 GB, free: 79.72 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.16e-05/1.96, allocations: 7.438 kB / 0.9661 GB, free: 79.72 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-05/1.96, allocations: 18.38 kB / 0.9661 GB, free: 79.72 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0219/1.982, allocations: 13.14 MB / 0.9789 GB, free: 75.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/1.982, allocations: 0 / 0.9789 GB, free: 75.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003102/1.985, allocations: 0.5285 MB / 0.9795 GB, free: 75.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002018/1.987, allocations: 0.6576 MB / 0.9801 GB, free: 75.08 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000311/1.987, allocations: 18.2 kB / 0.9801 GB, free: 75.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008101/1.995, allocations: 9.46 MB / 0.9894 GB, free: 68.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.995, allocations: 7.844 kB / 0.9894 GB, free: 68.11 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01192/2.007, allocations: 9.656 MB / 0.9988 GB, free: 63.87 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002954/2.01, allocations: 1.063 MB / 0.9998 GB, free: 63.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001008/2.011, allocations: 5.938 kB / 0.9998 GB, free: 63.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002498/2.014, allocations: 142.5 kB / 1 GB, free: 63.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003834/2.014, allocations: 194.8 kB / 1 GB, free: 63.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000206/2.014, allocations: 86.03 kB / 1 GB, free: 63.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005412/2.02, allocations: 3.67 MB / 1.004 GB, free: 61.87 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.3e-07/2.02, allocations: 3.25 kB / 1.004 GB, free: 61.87 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009954/2.03, allocations: 1.579 MB / 1.005 GB, free: 61.86 MB / 0.5105 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.0007203/2.031, allocations: 156.1 kB / 1.006 GB, free: 61.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01307/2.044, allocations: 8.291 MB / 1.014 GB, free: 58.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/2.044, allocations: 0 / 1.014 GB, free: 58.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003517/2.047, allocations: 3.054 MB / 1.017 GB, free: 56.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004569/2.052, allocations: 0.729 MB / 1.017 GB, free: 56.28 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02721/2.079, allocations: 14.35 MB / 1.031 GB, free: 43.56 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007247/2.086, allocations: 5.918 MB / 1.037 GB, free: 39.24 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007957/2.094, allocations: 3.039 MB / 1.04 GB, free: 37.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001702/2.096, allocations: 418.1 kB / 1.04 GB, free: 36.89 MB / 0.5105 GB Notification: Performance of SimCode: time 8.72e-07/2.096, allocations: 0 / 1.04 GB, free: 36.89 MB / 0.5105 GB Notification: Performance of Templates: time 0.4044/2.5, allocations: 57.71 MB / 1.097 GB, free: 99.59 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat","/var/lib/jenkins/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_ModelicaTest.MultiBody.Forces.FrameForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches