Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001182/0.001182, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.245/1.245, allocations: 227.2 MB / 245 MB, free: 5.746 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009084/0.0009083, allocations: 92.42 kB / 297.3 MB, free: 5.938 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3111/0.3111, allocations: 45.23 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002391/0.0002392, allocations: 11.98 kB / 468.4 MB, free: 7.711 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3244, allocations: 63.25 MB / 0.5192 GB, free: 37.35 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1294/0.4539, allocations: 107.8 MB / 0.6245 GB, free: 11.59 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.4542, allocations: 83.94 kB / 0.6246 GB, free: 11.5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6334/1.088, allocations: 161.1 MB / 0.7819 GB, free: 47.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.375e-06/1.088, allocations: 0 / 0.7819 GB, free: 47.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005492/1.088, allocations: 163.5 kB / 0.782 GB, free: 47.33 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2601 * Number of variables: 2601 Notification: Performance of Generate backend data structure: time 0.0271/1.115, allocations: 8.441 MB / 0.7903 GB, free: 39.53 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/1.115, allocations: 12.03 kB / 0.7903 GB, free: 39.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04105/1.156, allocations: 11.91 MB / 0.8019 GB, free: 27.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02278/1.179, allocations: 9.126 MB / 0.8108 GB, free: 18.74 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005333/1.18, allocations: 0.564 MB / 0.8114 GB, free: 18.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003486/1.183, allocations: 0.7719 MB / 0.8121 GB, free: 17.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04212/1.225, allocations: 18.1 MB / 0.8298 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006261/1.226, allocations: 103.1 kB / 0.8299 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003203/1.229, allocations: 363.5 kB / 0.8303 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00239/1.232, allocations: 1.57 MB / 0.8318 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03108/1.263, allocations: 14.56 MB / 0.846 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3709/1.634, allocations: 75.42 MB / 0.9197 GB, free: 66.39 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01612/1.65, allocations: 7.493 MB / 0.927 GB, free: 65.7 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004752/1.65, allocations: 0.6521 MB / 0.9276 GB, free: 65.14 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/1.65, allocations: 62 kB / 0.9277 GB, free: 65.1 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=239): time 5.169e-06/1.65, allocations: 0 / 0.9277 GB, free: 65.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=263): time 0.06588/1.716, allocations: 26.9 MB / 0.9539 GB, free: 58.84 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.613e-05/1.716, allocations: 290.4 kB / 0.9542 GB, free: 58.52 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008784/1.725, allocations: 6.488 MB / 0.9606 GB, free: 58.03 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005024/1.726, allocations: 65.17 kB / 0.9606 GB, free: 58 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.002756/1.729, allocations: 5.329 MB / 0.9658 GB, free: 55.36 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00101/1.73, allocations: 1.018 MB / 0.9668 GB, free: 54.79 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003482/1.73, allocations: 171.2 kB / 0.967 GB, free: 54.79 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003465/1.73, allocations: 0.6693 MB / 0.9676 GB, free: 54.46 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003218/1.734, allocations: 2.899 MB / 0.9705 GB, free: 54.44 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004876/1.738, allocations: 8.139 MB / 0.9784 GB, free: 47.66 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004983/1.743, allocations: 4.756 MB / 0.9831 GB, free: 47.62 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-05/1.744, allocations: 53.75 kB / 0.9831 GB, free: 47.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.01653/1.76, allocations: 11.58 MB / 0.9944 GB, free: 44.64 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/1.76, allocations: 85.62 kB / 0.9945 GB, free: 44.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001856/1.76, allocations: 187.4 kB / 0.9947 GB, free: 44.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002154/1.763, allocations: 0.9941 MB / 0.9956 GB, free: 44.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005579/1.768, allocations: 1.925 MB / 0.9975 GB, free: 44.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009493/1.778, allocations: 11.19 MB / 1.008 GB, free: 36.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006569/1.784, allocations: 455 kB / 1.009 GB, free: 36.26 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0013/1.786, allocations: 0.5114 MB / 1.009 GB, free: 36.19 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 845 * Number of states: 0 () * Number of discrete variables: 74 (frameForce4.arrow.arrowLine.twoHeadedArrow,frameForce4.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,frameForce3.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1040): * Single equations (assignments): 1033 * 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.006271/1.792, allocations: 3.513 MB / 1.013 GB, free: 34.59 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001191/1.793, allocations: 0.6277 MB / 1.013 GB, free: 34.25 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007077/1.8, allocations: 4.599 MB / 1.018 GB, free: 32.46 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-05/1.8, allocations: 28.44 kB / 1.018 GB, free: 32.46 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.704e-05/1.8, allocations: 14.16 kB / 1.018 GB, free: 32.46 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.931e-05/1.8, allocations: 17.98 kB / 1.018 GB, free: 32.46 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02568/1.826, allocations: 12.44 MB / 1.03 GB, free: 22.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/1.826, allocations: 7.938 kB / 1.03 GB, free: 22.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/1.828, allocations: 383.4 kB / 1.03 GB, free: 22.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001683/1.829, allocations: 0.67 MB / 1.031 GB, free: 22.16 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001654/1.83, allocations: 44 kB / 1.031 GB, free: 22.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008165/1.838, allocations: 10.07 MB / 1.041 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/1.838, allocations: 0 / 1.041 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009465/1.847, allocations: 7.968 MB / 1.049 GB, free: 5.379 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002381/1.85, allocations: 0.6689 MB / 1.049 GB, free: 4.711 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001437/1.851, allocations: 44 kB / 1.05 GB, free: 4.668 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0025/1.854, allocations: 145.6 kB / 1.05 GB, free: 4.566 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003404/1.854, allocations: 156 kB / 1.05 GB, free: 4.469 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/1.854, allocations: 64 kB / 1.05 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00661/1.861, allocations: 4.633 MB / 1.054 GB, free: 0.6328 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/1.861, allocations: 4 kB / 1.054 GB, free: 0.6289 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01591/1.877, allocations: 2.129 MB / 1.056 GB, free: 0 / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (207): * Single equations (assignments): 200 * 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.0007939/1.878, allocations: 212.1 kB / 1.057 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01203/1.89, allocations: 7.494 MB / 1.064 GB, free: 9.199 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/1.89, allocations: 0.8438 kB / 1.064 GB, free: 9.199 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003904/1.894, allocations: 2.595 MB / 1.067 GB, free: 6.855 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006059/1.9, allocations: 0.9146 MB / 1.067 GB, free: 6.113 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03246/1.932, allocations: 18.79 MB / 1.086 GB, free: 4.906 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008018/1.94, allocations: 5.547 MB / 1.091 GB, free: 0.8711 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01215/1.952, allocations: 3.15 MB / 1.094 GB, free: 15.78 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001616/1.954, allocations: 403.4 kB / 1.095 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of SimCode: time 6.71e-07/1.954, allocations: 0 / 1.095 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of Templates: time 0.3724/2.326, allocations: 61.96 MB / 1.155 GB, free: 140.1 MB / 0.5886 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces2/FrameForces2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches