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.0009629/0.0009628, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 221.5 MB / 230.7 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 111 kB / 281.6 MB, free: 5.305 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.1783/0.1783, allocations: 44.15 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.768e-05/1.771e-05, allocations: 4 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1184, allocations: 61.91 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4522/0.5707, allocations: 106.4 MB / 0.5986 GB, free: 6.125 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.5709, allocations: 79.95 kB / 0.5986 GB, free: 6.047 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6283/1.199, allocations: 129.7 MB / 0.7253 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.505e-06/1.199, allocations: 0 / 0.7253 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006144/1.2, allocations: 131.2 kB / 0.7254 GB, free: 104.1 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: 2214 * Number of variables: 2214 Notification: Performance of Generate backend data structure: time 0.02331/1.223, allocations: 6.345 MB / 0.7316 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.228e-05/1.223, allocations: 11.86 kB / 0.7316 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03726/1.261, allocations: 9.422 MB / 0.7408 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02414/1.285, allocations: 8.079 MB / 0.7487 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005962/1.285, allocations: 211.5 kB / 0.7489 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003859/1.289, allocations: 390.3 kB / 0.7492 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01909/1.308, allocations: 8.388 MB / 0.7574 GB, free: 99.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03076/1.339, allocations: 13.25 MB / 0.7704 GB, free: 92.37 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006094/1.34, allocations: 98.5 kB / 0.7705 GB, free: 92.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003029/1.343, allocations: 42.5 kB / 0.7705 GB, free: 92.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002186/1.345, allocations: 1.346 MB / 0.7718 GB, free: 92.13 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07219/1.417, allocations: 64.86 MB / 0.8352 GB, free: 36.14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004803/1.422, allocations: 4.051 MB / 0.8391 GB, free: 32.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002764/1.425, allocations: 2.565 MB / 0.8416 GB, free: 29.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/1.425, allocations: 35.86 kB / 0.8417 GB, free: 29.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/1.425, allocations: 59.28 kB / 0.8417 GB, free: 29.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=190): time 4.288e-06/1.425, allocations: 0 / 0.8417 GB, free: 29.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=209): time 0.04433/1.47, allocations: 21.68 MB / 0.8629 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.751e-05/1.47, allocations: 249.1 kB / 0.8631 GB, free: 7.602 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006972/1.477, allocations: 4.636 MB / 0.8677 GB, free: 2.996 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003439/1.477, allocations: 25.7 kB / 0.8677 GB, free: 2.965 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002846/1.48, allocations: 4.742 MB / 0.8723 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00103/1.481, allocations: 0.81 MB / 0.8731 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/1.481, allocations: 3.469 kB / 0.8731 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000455/1.482, allocations: 0.6409 MB / 0.8737 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003351/1.485, allocations: 2.284 MB / 0.876 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007031/1.492, allocations: 7.321 MB / 0.8831 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006054/1.498, allocations: 4.08 MB / 0.8871 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.858e-05/1.498, allocations: 52 kB / 0.8871 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1040) (initialization): time 0.01639/1.515, allocations: 8.996 MB / 0.8959 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001/1.515, allocations: 89.5 kB / 0.896 GB, free: 3.289 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001604/1.515, allocations: 180 kB / 0.8962 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001753/1.517, allocations: 0.7906 MB / 0.897 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005297/1.522, allocations: 1.801 MB / 0.8987 GB, free: 0.5039 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3583/1.88, allocations: 7.947 MB / 0.9065 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006365/1.887, allocations: 271.4 kB / 0.9067 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001981/1.889, allocations: 499 kB / 0.9072 GB, free: 112.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (977): * Single equations (assignments): 971 * 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.002687/1.891, allocations: 0.5553 MB / 0.9078 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001285/1.893, allocations: 481.6 kB / 0.9082 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007007/1.9, allocations: 3.151 MB / 0.9113 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.791e-05/1.9, allocations: 24.77 kB / 0.9113 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.529e-05/1.9, allocations: 14.47 kB / 0.9113 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-05/1.9, allocations: 13.95 kB / 0.9113 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02076/1.921, allocations: 8.375 MB / 0.9195 GB, free: 112 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/1.921, allocations: 4.844 kB / 0.9195 GB, free: 112 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/1.922, allocations: 297 kB / 0.9198 GB, free: 112 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001387/1.924, allocations: 0.4893 MB / 0.9203 GB, free: 112 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001852/1.924, allocations: 9.344 kB / 0.9203 GB, free: 112 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006598/1.93, allocations: 7.085 MB / 0.9272 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/1.931, allocations: 3.938 kB / 0.9272 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007549/1.938, allocations: 5.927 MB / 0.933 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001593/1.94, allocations: 0.5018 MB / 0.9335 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007247/1.94, allocations: 7.062 kB / 0.9335 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001715/1.942, allocations: 70.06 kB / 0.9336 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002972/1.942, allocations: 125.5 kB / 0.9337 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/1.943, allocations: 57.25 kB / 0.9338 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006293/1.949, allocations: 3.126 MB / 0.9368 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.31e-07/1.949, allocations: 6.125 kB / 0.9368 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008878/1.958, allocations: 1.201 MB / 0.938 GB, free: 107.2 MB / 0.5261 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * 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.0005715/1.958, allocations: 145.9 kB / 0.9381 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008553/1.967, allocations: 5.814 MB / 0.9438 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.967, allocations: 6.266 kB / 0.9438 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0022/1.969, allocations: 1.857 MB / 0.9456 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003713/1.973, allocations: 0.6145 MB / 0.9462 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02095/1.994, allocations: 10.74 MB / 0.9567 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005884/2, allocations: 4.786 MB / 0.9614 GB, free: 98.94 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00615/2.006, allocations: 2.497 MB / 0.9638 GB, free: 98.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/2.007, allocations: 315.5 kB / 0.9641 GB, free: 98.88 MB / 0.5261 GB Notification: Performance of SimCode: time 1.372e-06/2.007, allocations: 0 / 0.9641 GB, free: 98.88 MB / 0.5261 GB Notification: Performance of Templates: time 0.08057/2.088, allocations: 41.69 MB / 1.005 GB, free: 85.04 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/jenkins/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