Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 179.2 kB / 18.09 MB, free: 3.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.3 MB / 242.1 MB, free: 9.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008065/0.0008065, allocations: 101.9 kB / 293.3 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3294/0.3294, allocations: 44.13 MB / 388.5 MB, free: 38.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000402/0.0004021, allocations: 12 kB / 461.1 MB, free: 1.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3444, allocations: 61.88 MB / 0.5107 GB, free: 37.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1256/0.47, allocations: 107 MB / 0.6152 GB, free: 4.02 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002027/0.4702, allocations: 87.94 kB / 0.6153 GB, free: 3.938 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6121/1.082, allocations: 153 MB / 0.7648 GB, free: 78.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.003e-06/1.082, allocations: 0 / 0.7648 GB, free: 78.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006018/1.083, allocations: 159.6 kB / 0.7649 GB, free: 78.25 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.02664/1.11, allocations: 8.057 MB / 0.7728 GB, free: 72.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/1.11, allocations: 7.375 kB / 0.7728 GB, free: 72.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03315/1.143, allocations: 8.633 MB / 0.7812 GB, free: 65.03 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01932/1.162, allocations: 8.668 MB / 0.7897 GB, free: 56.28 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005121/1.163, allocations: 0.57 MB / 0.7903 GB, free: 55.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003488/1.166, allocations: 0.7655 MB / 0.791 GB, free: 54.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04094/1.207, allocations: 17.95 MB / 0.8085 GB, free: 35.53 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000651/1.208, allocations: 107.2 kB / 0.8086 GB, free: 35.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003548/1.212, allocations: 363.8 kB / 0.809 GB, free: 35.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00197/1.214, allocations: 1.571 MB / 0.8105 GB, free: 33.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02781/1.241, allocations: 14.35 MB / 0.8245 GB, free: 19.11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4178/1.659, allocations: 75.31 MB / 0.8981 GB, free: 53.62 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01718/1.676, allocations: 7.499 MB / 0.9054 GB, free: 52.93 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004276/1.681, allocations: 3.569 MB / 0.9089 GB, free: 52.88 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005502/1.681, allocations: 0.6492 MB / 0.9095 GB, free: 52.32 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.855e-05/1.681, allocations: 63.16 kB / 0.9096 GB, free: 52.28 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=239): time 5.831e-06/1.681, allocations: 0 / 0.9096 GB, free: 52.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=263): time 0.07088/1.752, allocations: 26.65 MB / 0.9356 GB, free: 46.46 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.475e-05/1.752, allocations: 292.7 kB / 0.9359 GB, free: 46.15 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01236/1.765, allocations: 7.283 MB / 0.943 GB, free: 45.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006689/1.766, allocations: 71.84 kB / 0.9431 GB, free: 45.58 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003296/1.769, allocations: 5.337 MB / 0.9483 GB, free: 42.88 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001184/1.77, allocations: 1.019 MB / 0.9493 GB, free: 42.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003536/1.77, allocations: 173 kB / 0.9495 GB, free: 42.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003424/1.771, allocations: 0.6624 MB / 0.9501 GB, free: 41.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003799/1.775, allocations: 2.899 MB / 0.9529 GB, free: 41.23 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00567/1.78, allocations: 8.17 MB / 0.9609 GB, free: 33.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01097/1.791, allocations: 12.05 MB / 0.9727 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001684/1.791, allocations: 52.25 kB / 0.9727 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.01772/1.809, allocations: 11.58 MB / 0.984 GB, free: 19.81 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/1.809, allocations: 88.59 kB / 0.9841 GB, free: 19.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001802/1.809, allocations: 183.6 kB / 0.9843 GB, free: 19.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002059/1.812, allocations: 0.977 MB / 0.9853 GB, free: 19.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005712/1.817, allocations: 1.929 MB / 0.9871 GB, free: 19.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009935/1.827, allocations: 11.02 MB / 0.9979 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007923/1.835, allocations: 453.6 kB / 0.9983 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00172/1.837, allocations: 0.5122 MB / 0.9988 GB, free: 9.551 MB / 0.5105 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.006835/1.844, allocations: 3.522 MB / 1.002 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001218/1.845, allocations: 0.6208 MB / 1.003 GB, free: 5.836 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006643/1.852, allocations: 4.602 MB / 1.007 GB, free: 2.039 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.54e-05/1.852, allocations: 31.94 kB / 1.007 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.875e-05/1.852, allocations: 12 kB / 1.007 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.313e-05/1.852, allocations: 11.62 kB / 1.007 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02308/1.875, allocations: 12.44 MB / 1.02 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.906e-05/1.875, allocations: 4 kB / 1.02 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001866/1.877, allocations: 392.8 kB / 1.02 GB, free: 7.609 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00195/1.879, allocations: 0.6734 MB / 1.021 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002137/1.879, allocations: 46.77 kB / 1.021 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01091/1.89, allocations: 9.922 MB / 1.03 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.89, allocations: 3.234 kB / 1.03 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01256/1.903, allocations: 7.8 MB / 1.038 GB, free: 6.734 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00225/1.905, allocations: 0.6732 MB / 1.039 GB, free: 6.066 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009297/1.906, allocations: 40 kB / 1.039 GB, free: 6.027 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002213/1.908, allocations: 145.3 kB / 1.039 GB, free: 5.926 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004164/1.908, allocations: 154.3 kB / 1.039 GB, free: 5.828 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001741/1.909, allocations: 66.97 kB / 1.039 GB, free: 5.766 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.007911/1.917, allocations: 4.634 MB / 1.044 GB, free: 1.988 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.11e-07/1.917, allocations: 0 / 1.044 GB, free: 1.988 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008255/1.925, allocations: 1.649 MB / 1.045 GB, free: 356 kB / 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.0005192/1.925, allocations: 197.1 kB / 1.045 GB, free: 164 kB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01082/1.936, allocations: 7.514 MB / 1.053 GB, free: 9.617 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.936, allocations: 0 / 1.053 GB, free: 9.617 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003182/1.939, allocations: 2.591 MB / 1.055 GB, free: 7.277 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005575/1.945, allocations: 0.9323 MB / 1.056 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0306/1.976, allocations: 18.85 MB / 1.075 GB, free: 5.02 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007346/1.983, allocations: 5.397 MB / 1.08 GB, free: 15.63 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.007066/1.99, allocations: 2.756 MB / 1.082 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/1.991, allocations: 399.4 kB / 1.083 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of SimCode: time 6.22e-07/1.991, allocations: 3.938 kB / 1.083 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of Templates: time 0.4046/2.396, allocations: 62.28 MB / 1.144 GB, free: 159.6 MB / 0.5886 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces2/FrameForces2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches