Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009516/0.0009516, allocations: 183.3 kB / 18.09 MB, free: 3.734 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.306/1.306, allocations: 223.3 MB / 242.1 MB, free: 9.957 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.0007435/0.0007435, allocations: 88.89 kB / 293.3 MB, free: 10.57 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.3669/0.3669, allocations: 44.15 MB / 388.5 MB, free: 38.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004395/0.0004396, allocations: 12 kB / 461.1 MB, free: 1.344 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3495, allocations: 61.88 MB / 0.5107 GB, free: 37.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1353/0.4849, allocations: 107.2 MB / 0.6154 GB, free: 3.828 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.4851, allocations: 75.95 kB / 0.6155 GB, free: 3.758 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6101/1.095, allocations: 130 MB / 0.7425 GB, free: 89.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.136e-06/1.095, allocations: 0 / 0.7425 GB, free: 89.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004853/1.096, allocations: 129.6 kB / 0.7426 GB, free: 89.29 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: 2214 * Number of variables: 2214 Notification: Performance of Generate backend data structure: time 0.02193/1.118, allocations: 6.704 MB / 0.7491 GB, free: 85.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/1.118, allocations: 14.78 kB / 0.7492 GB, free: 85.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0267/1.145, allocations: 6.942 MB / 0.7559 GB, free: 83.67 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01611/1.161, allocations: 6.894 MB / 0.7627 GB, free: 79.54 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005142/1.161, allocations: 488.7 kB / 0.7631 GB, free: 79.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003129/1.164, allocations: 0.6478 MB / 0.7638 GB, free: 79.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03428/1.199, allocations: 15.12 MB / 0.7785 GB, free: 66.26 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005883/1.199, allocations: 95.3 kB / 0.7786 GB, free: 66.17 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002891/1.202, allocations: 315.8 kB / 0.7789 GB, free: 65.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001844/1.204, allocations: 1.342 MB / 0.7802 GB, free: 64.51 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02276/1.227, allocations: 11.85 MB / 0.7918 GB, free: 52.63 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07618/1.303, allocations: 67.51 MB / 0.8577 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01287/1.316, allocations: 5.271 MB / 0.8629 GB, free: 9.672 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003537/1.32, allocations: 2.65 MB / 0.8655 GB, free: 7.008 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000143/1.32, allocations: 36.95 kB / 0.8655 GB, free: 6.973 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.783e-05/1.32, allocations: 67.27 kB / 0.8656 GB, free: 6.895 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=190): time 5.24e-06/1.32, allocations: 0 / 0.8656 GB, free: 6.895 MB / 0.5105 GB Notification: Performance of matching and sorting (n=208): time 0.3703/1.69, allocations: 19.61 MB / 0.8847 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/1.69, allocations: 258.5 kB / 0.885 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01236/1.703, allocations: 6.71 MB / 0.8915 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005607/1.703, allocations: 51.45 kB / 0.8916 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003707/1.707, allocations: 4.678 MB / 0.8961 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001246/1.708, allocations: 0.8321 MB / 0.897 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003344/1.709, allocations: 157.2 kB / 0.8971 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003918/1.709, allocations: 0.6317 MB / 0.8977 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003803/1.713, allocations: 2.453 MB / 0.9001 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007981/1.721, allocations: 7.418 MB / 0.9074 GB, free: 98.23 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0128/1.734, allocations: 10.77 MB / 0.9179 GB, free: 90.76 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003092/1.734, allocations: 51.5 kB / 0.9179 GB, free: 90.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1015) (initialization): time 0.02141/1.755, allocations: 10.14 MB / 0.9278 GB, free: 86.83 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002282/1.756, allocations: 81.48 kB / 0.9279 GB, free: 86.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003672/1.756, allocations: 181.8 kB / 0.9281 GB, free: 86.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001915/1.758, allocations: 0.7673 MB / 0.9288 GB, free: 86.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005789/1.764, allocations: 1.755 MB / 0.9306 GB, free: 86.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009096/1.773, allocations: 8.31 MB / 0.9387 GB, free: 80.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00847/1.781, allocations: 414.8 kB / 0.9391 GB, free: 80.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002173/1.784, allocations: 488.8 kB / 0.9395 GB, free: 80.41 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 801 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.arrowLine.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.arrow.arrowLine.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,worldForce.color[3],worldForce.color[2],worldForce.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 (952): * Single equations (assignments): 946 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008873/1.793, allocations: 3.047 MB / 0.9425 GB, free: 79.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002076/1.795, allocations: 0.5601 MB / 0.9431 GB, free: 78.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007932/1.803, allocations: 3.391 MB / 0.9464 GB, free: 77.39 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-05/1.803, allocations: 20.41 kB / 0.9464 GB, free: 77.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.321e-05/1.803, allocations: 7.125 kB / 0.9464 GB, free: 77.39 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.498e-05/1.803, allocations: 10.64 kB / 0.9464 GB, free: 77.39 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02188/1.825, allocations: 9.555 MB / 0.9557 GB, free: 73.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.04e-05/1.825, allocations: 6.906 kB / 0.9557 GB, free: 73.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/1.826, allocations: 296 kB / 0.956 GB, free: 73.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001325/1.827, allocations: 0.4978 MB / 0.9565 GB, free: 73.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001872/1.828, allocations: 37.69 kB / 0.9565 GB, free: 73.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006602/1.834, allocations: 7.414 MB / 0.9638 GB, free: 68.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.834, allocations: 0 / 0.9638 GB, free: 68.11 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008209/1.842, allocations: 6.072 MB / 0.9697 GB, free: 65.48 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002189/1.845, allocations: 0.6158 MB / 0.9703 GB, free: 65.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001771/1.846, allocations: 36.19 kB / 0.9703 GB, free: 65.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002846/1.849, allocations: 101.8 kB / 0.9704 GB, free: 64.98 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003474/1.85, allocations: 131.5 kB / 0.9706 GB, free: 64.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001443/1.85, allocations: 50.88 kB / 0.9706 GB, free: 64.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009239/1.859, allocations: 4.27 MB / 0.9748 GB, free: 63.54 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.51e-07/1.859, allocations: 0 / 0.9748 GB, free: 63.54 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.011/1.87, allocations: 1.387 MB / 0.9761 GB, free: 63.16 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.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 (160): * Single equations (assignments): 154 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(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.0008123/1.871, allocations: 181.8 kB / 0.9763 GB, free: 62.98 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01096/1.882, allocations: 6.254 MB / 0.9824 GB, free: 57.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/1.882, allocations: 8 kB / 0.9824 GB, free: 57.46 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002883/1.885, allocations: 1.963 MB / 0.9843 GB, free: 55.69 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008592/1.893, allocations: 0.7708 MB / 0.9851 GB, free: 55.04 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03128/1.925, allocations: 15.73 MB / 1 GB, free: 40.62 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00947/1.934, allocations: 4.636 MB / 1.005 GB, free: 37.11 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007765/1.942, allocations: 2.536 MB / 1.007 GB, free: 35.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001295/1.943, allocations: 353 kB / 1.008 GB, free: 35.17 MB / 0.5105 GB Notification: Performance of SimCode: time 1.192e-06/1.943, allocations: 3.281 kB / 1.008 GB, free: 35.17 MB / 0.5105 GB Notification: Performance of Templates: time 0.09802/2.041, allocations: 50.94 MB / 1.058 GB, free: 5.391 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches