Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00222/0.00222, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.135/2.135, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001059/0.001058, allocations: 82.77 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2802/0.2802, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.354e-05/3.372e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1133, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5026/0.6159, allocations: 105.7 MB / 0.576 GB, free: 14.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/0.6163, allocations: 85.42 kB / 0.5761 GB, free: 14.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.163/1.779, allocations: 137.8 MB / 0.7107 GB, free: 94.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.575e-06/1.78, allocations: 3.375 kB / 0.7107 GB, free: 94.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006205/1.78, allocations: 138 kB / 0.7108 GB, free: 94.3 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: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.03242/1.813, allocations: 6.641 MB / 0.7173 GB, free: 92.34 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 9.066e-05/1.813, allocations: 9.625 kB / 0.7173 GB, free: 92.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1036/1.916, allocations: 9.5 MB / 0.7266 GB, free: 91.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04545/1.962, allocations: 8.748 MB / 0.7352 GB, free: 90.97 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001091/1.963, allocations: 0.5045 MB / 0.7357 GB, free: 90.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004924/1.968, allocations: 0.6741 MB / 0.7363 GB, free: 90.95 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06869/2.037, allocations: 15.99 MB / 0.7519 GB, free: 87.01 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006638/2.037, allocations: 95.56 kB / 0.752 GB, free: 87 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00335/2.041, allocations: 332.1 kB / 0.7523 GB, free: 87 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003343/2.044, allocations: 1.461 MB / 0.7538 GB, free: 86.99 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03959/2.084, allocations: 12.66 MB / 0.7661 GB, free: 86.93 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1051/2.189, allocations: 70.79 MB / 0.8353 GB, free: 36.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02259/2.212, allocations: 5.842 MB / 0.841 GB, free: 33.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005972/2.218, allocations: 3.037 MB / 0.8439 GB, free: 30.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002727/2.218, allocations: 44.8 kB / 0.844 GB, free: 30.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.973e-05/2.218, allocations: 64.06 kB / 0.844 GB, free: 30.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=242): time 6.261e-06/2.218, allocations: 0 / 0.844 GB, free: 30.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=260): time 0.08221/2.3, allocations: 18.98 MB / 0.8626 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/2.3, allocations: 265.1 kB / 0.8628 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01515/2.316, allocations: 6.107 MB / 0.8688 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006616/2.316, allocations: 69.38 kB / 0.8689 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004157/2.32, allocations: 4.622 MB / 0.8734 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001705/2.322, allocations: 0.9981 MB / 0.8743 GB, free: 3.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001171/2.323, allocations: 168 kB / 0.8745 GB, free: 2.855 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006131/2.324, allocations: 0.6685 MB / 0.8752 GB, free: 2.273 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008886/2.333, allocations: 2.887 MB / 0.878 GB, free: 0 / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01395/2.347, allocations: 7.936 MB / 0.8857 GB, free: 5.906 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01206/2.359, allocations: 4.668 MB / 0.8903 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001769/2.359, allocations: 56 kB / 0.8903 GB, free: 1.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1099) (initialization): time 0.03237/2.392, allocations: 10.81 MB / 0.9009 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001692/2.392, allocations: 84 kB / 0.901 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003063/2.392, allocations: 184 kB / 0.9011 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003305/2.396, allocations: 0.8084 MB / 0.9019 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01283/2.408, allocations: 1.932 MB / 0.9038 GB, free: 5.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3954/2.804, allocations: 8.303 MB / 0.9119 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01055/2.815, allocations: 462.4 kB / 0.9124 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002163/2.817, allocations: 0.5081 MB / 0.9129 GB, free: 106.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * Number of states: 0 () * Number of discrete variables: 57 (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.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.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 (1036): * Single equations (assignments): 1030 * 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.003127/2.82, allocations: 0.7657 MB / 0.9136 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001663/2.822, allocations: 0.5887 MB / 0.9142 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01459/2.836, allocations: 4.269 MB / 0.9184 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.543e-05/2.836, allocations: 27.03 kB / 0.9184 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.864e-05/2.836, allocations: 8.078 kB / 0.9184 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.184e-05/2.836, allocations: 12.89 kB / 0.9184 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0372/2.874, allocations: 11.17 MB / 0.9293 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.24e-05/2.874, allocations: 0 / 0.9293 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004218/2.878, allocations: 413.9 kB / 0.9297 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002702/2.881, allocations: 0.5059 MB / 0.9302 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007216/2.882, allocations: 43.47 kB / 0.9302 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01121/2.893, allocations: 7.384 MB / 0.9375 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/2.893, allocations: 0 / 0.9375 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01723/2.91, allocations: 7.623 MB / 0.9449 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004242/2.914, allocations: 0.9947 MB / 0.9459 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00203/2.916, allocations: 40.59 kB / 0.9459 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005335/2.922, allocations: 141.8 kB / 0.946 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000869/2.923, allocations: 150.9 kB / 0.9462 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002835/2.923, allocations: 69.39 kB / 0.9463 GB, free: 101 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01201/2.935, allocations: 4.348 MB / 0.9505 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.052e-06/2.935, allocations: 2.188 kB / 0.9505 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01067/2.946, allocations: 1.515 MB / 0.952 GB, free: 100.7 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 (215): * Single equations (assignments): 209 * 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.0009935/2.947, allocations: 196.2 kB / 0.9522 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01604/2.963, allocations: 7.119 MB / 0.9591 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/2.963, allocations: 3.938 kB / 0.9591 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005155/2.968, allocations: 2.395 MB / 0.9615 GB, free: 99.86 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006417/2.975, allocations: 0.7579 MB / 0.9622 GB, free: 99.83 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03523/3.01, allocations: 12.81 MB / 0.9747 GB, free: 95.49 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01114/3.021, allocations: 5.038 MB / 0.9796 GB, free: 93.83 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002789/3.024, allocations: 454.1 kB / 0.9801 GB, free: 93.82 MB / 0.5261 GB Notification: Performance of SimCode: time 1.052e-06/3.024, allocations: 0 / 0.9801 GB, free: 93.82 MB / 0.5261 GB Notification: Performance of Templates: time 0.692/3.716, allocations: 171.7 MB / 1.148 GB, free: 122.6 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches