Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.3 MB / 213.7 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 86.62 kB / 261.7 MB, free: 1.617 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.2182/0.2182, allocations: 43.48 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.433e-05/1.435e-05, allocations: 4 kB / 418.3 MB, free: 28.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1188, allocations: 58.86 MB / 477.1 MB, free: 1.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4004/0.5192, allocations: 109.4 MB / 0.5727 GB, free: 2.449 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.5195, allocations: 80.19 kB / 0.5728 GB, free: 2.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2194/0.7389, allocations: 89.47 MB / 0.6602 GB, free: 0.8633 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.739, allocations: 192 / 0.6602 GB, free: 0.8633 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002372/0.7392, allocations: 95.94 kB / 0.6603 GB, free: 0.7695 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1645 * Number of variables: 1645 Notification: Performance of Generate backend data structure: time 0.01452/0.7537, allocations: 4.141 MB / 0.6643 GB, free: 12.56 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.7538, allocations: 12.03 kB / 0.6643 GB, free: 12.55 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01866/0.7725, allocations: 4.436 MB / 0.6687 GB, free: 8.102 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01268/0.7852, allocations: 4.746 MB / 0.6733 GB, free: 3.289 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/0.7855, allocations: 148 kB / 0.6734 GB, free: 3.145 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001702/0.7872, allocations: 275.9 kB / 0.6737 GB, free: 2.875 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0116/0.7988, allocations: 6.312 MB / 0.6799 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01965/0.8185, allocations: 9.73 MB / 0.6894 GB, free: 1.801 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002357/0.8188, allocations: 59.41 kB / 0.6894 GB, free: 1.742 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001429/0.8202, allocations: 32 kB / 0.6895 GB, free: 1.711 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001428/0.8216, allocations: 0.9955 MB / 0.6904 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3/1.122, allocations: 44.85 MB / 0.7342 GB, free: 93.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003219/1.125, allocations: 2.7 MB / 0.7369 GB, free: 92.64 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002115/1.127, allocations: 1.536 MB / 0.7384 GB, free: 92.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004014/1.128, allocations: 338.5 kB / 0.7387 GB, free: 92.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/1.128, allocations: 55.94 kB / 0.7387 GB, free: 92.29 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=176): time 4.599e-06/1.128, allocations: 1.469 kB / 0.7387 GB, free: 92.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=194): time 0.02057/1.148, allocations: 12.36 MB / 0.7508 GB, free: 89.31 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/1.148, allocations: 199.5 kB / 0.751 GB, free: 89.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003774/1.152, allocations: 2.987 MB / 0.7539 GB, free: 88.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002852/1.152, allocations: 25.7 kB / 0.754 GB, free: 88.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00149/1.154, allocations: 3.303 MB / 0.7572 GB, free: 87.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006917/1.155, allocations: 0.7222 MB / 0.7579 GB, free: 86.67 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/1.155, allocations: 0 / 0.7579 GB, free: 86.67 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002519/1.155, allocations: 0.5698 MB / 0.7584 GB, free: 86.35 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002154/1.157, allocations: 1.937 MB / 0.7603 GB, free: 86.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004605/1.162, allocations: 5.784 MB / 0.766 GB, free: 81.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005465/1.167, allocations: 3.303 MB / 0.7692 GB, free: 81.29 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001379/1.167, allocations: 40.47 kB / 0.7692 GB, free: 81.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01194/1.179, allocations: 7.039 MB / 0.7761 GB, free: 79.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.532e-05/1.18, allocations: 70.03 kB / 0.7762 GB, free: 79.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001155/1.18, allocations: 139.1 kB / 0.7763 GB, free: 79.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006819/1.18, allocations: 391.7 kB / 0.7767 GB, free: 79.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004426/1.185, allocations: 1.501 MB / 0.7782 GB, free: 79.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002594/1.187, allocations: 2.901 MB / 0.781 GB, free: 77.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004969/1.192, allocations: 236.8 kB / 0.7812 GB, free: 77.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00114/1.194, allocations: 391.5 kB / 0.7816 GB, free: 77.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 629 * Number of states: 0 () * Number of discrete variables: 30 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (783): * Single equations (assignments): 779 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009289/1.195, allocations: 448.8 kB / 0.782 GB, free: 76.83 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006159/1.195, allocations: 319.7 kB / 0.7823 GB, free: 76.66 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00351/1.199, allocations: 2.491 MB / 0.7848 GB, free: 75.74 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.878e-05/1.199, allocations: 20.69 kB / 0.7848 GB, free: 75.74 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/1.199, allocations: 5.438 kB / 0.7848 GB, free: 75.74 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/1.199, allocations: 17.89 kB / 0.7848 GB, free: 75.74 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/1.209, allocations: 6.525 MB / 0.7912 GB, free: 73.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/1.209, allocations: 3.094 kB / 0.7912 GB, free: 73.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/1.211, allocations: 349.4 kB / 0.7915 GB, free: 73.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004697/1.211, allocations: 184.4 kB / 0.7917 GB, free: 73.29 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/1.211, allocations: 14.92 kB / 0.7917 GB, free: 73.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002101/1.213, allocations: 2.45 MB / 0.7941 GB, free: 71.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/1.213, allocations: 4.062 kB / 0.7941 GB, free: 71.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005662/1.219, allocations: 5.001 MB / 0.799 GB, free: 69.33 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/1.221, allocations: 0.5928 MB / 0.7996 GB, free: 68.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005455/1.221, allocations: 0 / 0.7996 GB, free: 68.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/1.223, allocations: 93 kB / 0.7996 GB, free: 68.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002823/1.223, allocations: 133.9 kB / 0.7998 GB, free: 68.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/1.223, allocations: 52.36 kB / 0.7998 GB, free: 68.93 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003017/1.226, allocations: 1.979 MB / 0.8018 GB, free: 68.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2e-07/1.226, allocations: 0 / 0.8018 GB, free: 68.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005028/1.231, allocations: 0.8571 MB / 0.8026 GB, free: 68.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 160 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004016/1.232, allocations: 146.2 kB / 0.8027 GB, free: 68.07 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006217/1.238, allocations: 4.685 MB / 0.8073 GB, free: 66.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.238, allocations: 0 / 0.8073 GB, free: 66.39 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001526/1.239, allocations: 1.492 MB / 0.8088 GB, free: 65.33 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/1.241, allocations: 307.9 kB / 0.8091 GB, free: 65.07 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/1.253, allocations: 7.604 MB / 0.8165 GB, free: 58.29 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002879/1.256, allocations: 3.544 MB / 0.8199 GB, free: 55.59 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00455/1.261, allocations: 2.008 MB / 0.8219 GB, free: 54.33 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007629/1.261, allocations: 251.5 kB / 0.8221 GB, free: 54.11 MB / 0.4948 GB Notification: Performance of SimCode: time 1.112e-06/1.261, allocations: 0 / 0.8221 GB, free: 54.11 MB / 0.4948 GB Notification: Performance of Templates: time 0.04479/1.306, allocations: 28.66 MB / 0.8501 GB, free: 34.56 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches