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.001454/0.001454, allocations: 176.7 kB / 16.76 MB, free: 5.051 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.504/1.504, 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.0007489/0.0007491, allocations: 90.34 kB / 271.3 MB, free: 8.25 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.333/0.333, allocations: 43.56 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004123/0.0004127, allocations: 20 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1197, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3405/0.4602, allocations: 105.8 MB / 0.5832 GB, free: 12.21 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.4605, allocations: 75.97 kB / 0.5833 GB, free: 12.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5917/1.052, allocations: 160.7 MB / 0.7402 GB, free: 81.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.344e-06/1.052, allocations: 0 / 0.7402 GB, free: 81.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006911/1.053, allocations: 168.3 kB / 0.7404 GB, free: 81.89 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: 2809 * Number of variables: 2809 Notification: Performance of Generate backend data structure: time 0.02563/1.079, allocations: 8.485 MB / 0.7487 GB, free: 77.74 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/1.079, allocations: 7.875 kB / 0.7487 GB, free: 77.74 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03369/1.112, allocations: 8.739 MB / 0.7572 GB, free: 76.38 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02016/1.133, allocations: 9.525 MB / 0.7665 GB, free: 72.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006622/1.133, allocations: 0.6078 MB / 0.7671 GB, free: 72.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004062/1.137, allocations: 0.8148 MB / 0.7679 GB, free: 71.97 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04398/1.181, allocations: 19.14 MB / 0.7866 GB, free: 59.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006723/1.182, allocations: 109.4 kB / 0.7867 GB, free: 59.35 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003449/1.186, allocations: 388.6 kB / 0.7871 GB, free: 59.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002435/1.188, allocations: 1.734 MB / 0.7887 GB, free: 57.94 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03133/1.219, allocations: 15.5 MB / 0.8039 GB, free: 42.42 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.37/1.589, allocations: 79.6 MB / 0.8816 GB, free: 38.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01967/1.609, allocations: 8.252 MB / 0.8897 GB, free: 38.06 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005142/1.614, allocations: 4.145 MB / 0.8937 GB, free: 38.02 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007412/1.615, allocations: 0.6609 MB / 0.8944 GB, free: 37.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.335e-05/1.615, allocations: 70.89 kB / 0.8944 GB, free: 37.42 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=307): time 6.762e-06/1.615, allocations: 0 / 0.8944 GB, free: 37.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=331): time 0.0829/1.698, allocations: 30.03 MB / 0.9238 GB, free: 31.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.785e-05/1.698, allocations: 299.4 kB / 0.924 GB, free: 31.08 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01167/1.71, allocations: 7.568 MB / 0.9314 GB, free: 30.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006655/1.711, allocations: 75.64 kB / 0.9315 GB, free: 30.51 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002975/1.714, allocations: 5.627 MB / 0.937 GB, free: 26.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001401/1.715, allocations: 1.256 MB / 0.9382 GB, free: 25.67 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004472/1.715, allocations: 189.8 kB / 0.9384 GB, free: 25.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003633/1.716, allocations: 0.7006 MB / 0.9391 GB, free: 25.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004592/1.72, allocations: 3.459 MB / 0.9425 GB, free: 23.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007284/1.728, allocations: 9.003 MB / 0.9513 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01363/1.741, allocations: 13.53 MB / 0.9645 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001771/1.742, allocations: 56.66 kB / 0.9645 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.02412/1.766, allocations: 13.04 MB / 0.9773 GB, free: 344 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/1.766, allocations: 91 kB / 0.9774 GB, free: 344 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001987/1.766, allocations: 194 kB / 0.9775 GB, free: 344 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002061/1.768, allocations: 0.9878 MB / 0.9785 GB, free: 140 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007219/1.775, allocations: 2.163 MB / 0.9806 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/1.787, allocations: 11.03 MB / 0.9914 GB, free: 8.117 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008052/1.795, allocations: 0.5139 MB / 0.9919 GB, free: 7.934 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001939/1.797, allocations: 0.552 MB / 0.9924 GB, free: 7.859 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 885 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1152): * Single equations (assignments): 1145 * 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.009223/1.806, allocations: 3.751 MB / 0.9961 GB, free: 6.145 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001742/1.808, allocations: 0.6644 MB / 0.9967 GB, free: 5.777 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/1.819, allocations: 5.937 MB / 1.003 GB, free: 2.953 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-05/1.819, allocations: 36 kB / 1.003 GB, free: 2.918 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.092e-05/1.819, allocations: 8 kB / 1.003 GB, free: 2.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.893e-05/1.819, allocations: 17.34 kB / 1.003 GB, free: 2.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03056/1.849, allocations: 14.76 MB / 1.017 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/1.849, allocations: 0 / 1.017 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002615/1.852, allocations: 0.5317 MB / 1.018 GB, free: 6.582 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001827/1.854, allocations: 0.6677 MB / 1.018 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003241/1.854, allocations: 60 kB / 1.018 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01053/1.865, allocations: 9.895 MB / 1.028 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.865, allocations: 3.938 kB / 1.028 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01586/1.881, allocations: 9.742 MB / 1.037 GB, free: 3.883 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003815/1.884, allocations: 1.175 MB / 1.039 GB, free: 2.789 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001958/1.886, allocations: 62.12 kB / 1.039 GB, free: 2.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003759/1.89, allocations: 192.1 kB / 1.039 GB, free: 2.602 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006939/1.891, allocations: 190.6 kB / 1.039 GB, free: 2.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003486/1.891, allocations: 87 kB / 1.039 GB, free: 2.398 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0133/1.905, allocations: 5.076 MB / 1.044 GB, free: 15.08 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.82e-07/1.905, allocations: 0 / 1.044 GB, free: 15.08 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01141/1.916, allocations: 1.817 MB / 1.046 GB, free: 13.27 MB / 0.5573 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 269 * 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.001035/1.917, allocations: 213.9 kB / 1.046 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01617/1.933, allocations: 8.793 MB / 1.055 GB, free: 5.312 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/1.933, allocations: 1.125 kB / 1.055 GB, free: 5.312 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005542/1.939, allocations: 3.194 MB / 1.058 GB, free: 2.445 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009882/1.949, allocations: 0.9495 MB / 1.059 GB, free: 1.652 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3093/2.258, allocations: 20.79 MB / 1.079 GB, free: 153.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01174/2.27, allocations: 5.732 MB / 1.085 GB, free: 152.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01022/2.28, allocations: 3.046 MB / 1.088 GB, free: 152.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002464/2.283, allocations: 448.2 kB / 1.088 GB, free: 152.8 MB / 0.573 GB Notification: Performance of SimCode: time 1.052e-06/2.283, allocations: 1.156 kB / 1.088 GB, free: 152.8 MB / 0.573 GB Notification: Performance of Templates: time 0.1258/2.408, allocations: 68.49 MB / 1.155 GB, free: 143.1 MB / 0.573 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/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_ModelicaTest.MultiBody.Forces.FrameForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches