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.0009631/0.0009632, allocations: 183 kB / 13.19 MB, free: 2.129 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.367/1.367, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008131/0.0008131, allocations: 94.53 kB / 267.1 MB, free: 9.27 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.3327/0.3327, allocations: 43.47 MB / 358.6 MB, free: 52.3 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.118e-05/3.169e-05, allocations: 4 kB / 425.3 MB, free: 8.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 58.85 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4005/0.5066, allocations: 110 MB / 0.5803 GB, free: 10.94 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.5069, allocations: 88.53 kB / 0.5803 GB, free: 10.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5055/1.012, allocations: 91.45 MB / 0.6696 GB, free: 87.96 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.575e-06/1.013, allocations: 0 / 0.6696 GB, free: 87.96 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000291/1.013, allocations: 82.94 kB / 0.6697 GB, free: 87.96 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: 1645 * Number of variables: 1645 Notification: Performance of Generate backend data structure: time 0.01636/1.029, allocations: 4.156 MB / 0.6738 GB, free: 87.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/1.029, allocations: 8.969 kB / 0.6738 GB, free: 87.28 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01833/1.048, allocations: 4.437 MB / 0.6781 GB, free: 86.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01366/1.061, allocations: 4.745 MB / 0.6828 GB, free: 86.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004121/1.062, allocations: 354.7 kB / 0.6831 GB, free: 86.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002266/1.064, allocations: 460.5 kB / 0.6835 GB, free: 86.45 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02133/1.085, allocations: 10.58 MB / 0.6939 GB, free: 83.72 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002151/1.086, allocations: 62.42 kB / 0.6939 GB, free: 83.72 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009722/1.087, allocations: 226.5 kB / 0.6941 GB, free: 83.72 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00132/1.088, allocations: 0.9925 MB / 0.6951 GB, free: 83.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01719/1.105, allocations: 8.447 MB / 0.7034 GB, free: 83.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05542/1.161, allocations: 46.98 MB / 0.7492 GB, free: 50.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005549/1.166, allocations: 2.938 MB / 0.7521 GB, free: 49 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002052/1.168, allocations: 1.584 MB / 0.7537 GB, free: 48.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003819/1.169, allocations: 341.2 kB / 0.754 GB, free: 48.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/1.169, allocations: 47.16 kB / 0.754 GB, free: 47.99 MB / 490.7 MB Notification: Performance of pre-optimization done (n=176): time 5.761e-06/1.169, allocations: 3.875 kB / 0.754 GB, free: 47.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=194): time 0.02269/1.192, allocations: 11.28 MB / 0.765 GB, free: 42.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.118e-05/1.192, allocations: 204 kB / 0.7652 GB, free: 42.67 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005815/1.198, allocations: 3.37 MB / 0.7685 GB, free: 41.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006269/1.198, allocations: 54.86 kB / 0.7686 GB, free: 41.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001698/1.2, allocations: 3.223 MB / 0.7717 GB, free: 38.88 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001042/1.201, allocations: 0.7392 MB / 0.7725 GB, free: 38.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000258/1.201, allocations: 121.6 kB / 0.7726 GB, free: 38.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003274/1.202, allocations: 0.557 MB / 0.7731 GB, free: 37.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002661/1.204, allocations: 2.004 MB / 0.7751 GB, free: 37.17 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004527/1.209, allocations: 5.666 MB / 0.7806 GB, free: 31.45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004589/1.213, allocations: 3.336 MB / 0.7839 GB, free: 30.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.315e-05/1.214, allocations: 40.91 kB / 0.7839 GB, free: 30.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.0137/1.227, allocations: 7.644 MB / 0.7914 GB, free: 27.37 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.374e-05/1.227, allocations: 60.84 kB / 0.7914 GB, free: 27.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001589/1.228, allocations: 132.4 kB / 0.7915 GB, free: 27.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007472/1.228, allocations: 384.2 kB / 0.7919 GB, free: 27.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004683/1.233, allocations: 1.436 MB / 0.7933 GB, free: 27.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003151/1.236, allocations: 2.993 MB / 0.7962 GB, free: 25.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005015/1.241, allocations: 351.5 kB / 0.7966 GB, free: 25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009627/1.242, allocations: 375.1 kB / 0.7969 GB, free: 24.96 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * 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 (747): * Single equations (assignments): 743 * 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.0009236/1.243, allocations: 0.5666 MB / 0.7975 GB, free: 24.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007321/1.244, allocations: 342.5 kB / 0.7978 GB, free: 24.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004053/1.248, allocations: 2.612 MB / 0.8004 GB, free: 23.31 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-05/1.248, allocations: 21.41 kB / 0.8004 GB, free: 23.31 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/1.248, allocations: 3.969 kB / 0.8004 GB, free: 23.31 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-05/1.248, allocations: 11.31 kB / 0.8004 GB, free: 23.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01455/1.263, allocations: 7.459 MB / 0.8077 GB, free: 18.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/1.263, allocations: 3.938 kB / 0.8077 GB, free: 18.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/1.264, allocations: 355.3 kB / 0.808 GB, free: 17.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000517/1.265, allocations: 173.1 kB / 0.8082 GB, free: 17.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001757/1.265, allocations: 46.27 kB / 0.8082 GB, free: 17.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002354/1.267, allocations: 2.553 MB / 0.8107 GB, free: 15.24 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.267, allocations: 0 / 0.8107 GB, free: 15.24 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00607/1.273, allocations: 5.161 MB / 0.8158 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002107/1.276, allocations: 0.6194 MB / 0.8164 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005732/1.276, allocations: 32 kB / 0.8164 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/1.278, allocations: 116.9 kB / 0.8165 GB, free: 9.938 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002885/1.278, allocations: 127.7 kB / 0.8166 GB, free: 9.863 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/1.278, allocations: 55.36 kB / 0.8167 GB, free: 9.816 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003559/1.282, allocations: 2.342 MB / 0.819 GB, free: 7.762 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.282, allocations: 0 / 0.819 GB, free: 7.762 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00641/1.288, allocations: 0.9973 MB / 0.82 GB, free: 6.77 MB / 490.7 MB 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.0005383/1.289, allocations: 168.3 kB / 0.8201 GB, free: 6.605 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007233/1.296, allocations: 4.9 MB / 0.8249 GB, free: 2.156 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/1.296, allocations: 0 / 0.8249 GB, free: 2.156 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001869/1.298, allocations: 1.532 MB / 0.8264 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/1.3, allocations: 395.8 kB / 0.8268 GB, free: 452 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/1.317, allocations: 7.693 MB / 0.8343 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005028/1.322, allocations: 3.55 MB / 0.8377 GB, free: 6.875 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005428/1.328, allocations: 1.941 MB / 0.8396 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009374/1.329, allocations: 253.7 kB / 0.8399 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of SimCode: time 1.102e-06/1.329, allocations: 0 / 0.8399 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of Templates: time 0.3902/1.719, allocations: 32.61 MB / 0.8717 GB, free: 101 MB / 0.5105 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