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.001624/0.001624, allocations: 172.2 kB / 16.76 MB, free: 5.059 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.252/1.252, allocations: 205.4 MB / 222.9 MB, free: 8.949 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.0007443/0.0007443, allocations: 82.41 kB / 271.2 MB, free: 8.254 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.3325/0.3325, allocations: 43.56 MB / 363.1 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003914, allocations: 12 kB / 432.6 MB, free: 4.988 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.11, allocations: 58.85 MB / 491.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3217/0.4318, allocations: 110.3 MB / 0.5877 GB, free: 7.527 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.432, allocations: 79.97 kB / 0.5877 GB, free: 7.449 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4773/0.9094, allocations: 90.31 MB / 0.6759 GB, free: 89.13 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.968e-06/0.9094, allocations: 1.734 kB / 0.6759 GB, free: 89.13 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000253/0.9097, allocations: 82.78 kB / 0.676 GB, free: 89.13 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.01575/0.9254, allocations: 4.299 MB / 0.6802 GB, free: 87.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.9255, allocations: 10.22 kB / 0.6802 GB, free: 87.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01571/0.9412, allocations: 3.617 MB / 0.6838 GB, free: 87.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01037/0.9516, allocations: 3.692 MB / 0.6874 GB, free: 86.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005723/0.9523, allocations: 352.8 kB / 0.6877 GB, free: 86.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002593/0.9549, allocations: 464.9 kB / 0.6881 GB, free: 86.53 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02305/0.9779, allocations: 10.69 MB / 0.6986 GB, free: 83.81 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002013/0.9782, allocations: 58.72 kB / 0.6986 GB, free: 83.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000926/0.9791, allocations: 231.7 kB / 0.6989 GB, free: 83.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001276/0.9804, allocations: 0.988 MB / 0.6998 GB, free: 83.79 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0151/0.9955, allocations: 8.629 MB / 0.7083 GB, free: 83.75 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05157/1.047, allocations: 46.97 MB / 0.7541 GB, free: 50.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005138/1.052, allocations: 2.998 MB / 0.7571 GB, free: 49.23 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001995/1.054, allocations: 1.65 MB / 0.7587 GB, free: 48.57 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003154/1.055, allocations: 346.4 kB / 0.759 GB, free: 48.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/1.055, allocations: 51.47 kB / 0.759 GB, free: 48.21 MB / 490.7 MB Notification: Performance of pre-optimization done (n=176): time 5.4e-06/1.055, allocations: 0 / 0.759 GB, free: 48.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=194): time 0.02631/1.081, allocations: 13.64 MB / 0.7724 GB, free: 42.38 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.882e-05/1.081, allocations: 204.6 kB / 0.7726 GB, free: 42.15 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004685/1.086, allocations: 3.816 MB / 0.7763 GB, free: 40.77 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003771/1.086, allocations: 55.95 kB / 0.7763 GB, free: 40.72 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001511/1.088, allocations: 3.228 MB / 0.7795 GB, free: 38.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007029/1.089, allocations: 0.7269 MB / 0.7802 GB, free: 37.71 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/1.089, allocations: 120.5 kB / 0.7803 GB, free: 37.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002618/1.089, allocations: 0.5641 MB / 0.7809 GB, free: 37.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003068/1.092, allocations: 2.129 MB / 0.7829 GB, free: 36.53 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004697/1.097, allocations: 5.818 MB / 0.7886 GB, free: 30.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01263/1.109, allocations: 8.621 MB / 0.797 GB, free: 23.53 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001848/1.11, allocations: 38.06 kB / 0.7971 GB, free: 23.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.02172/1.131, allocations: 7.898 MB / 0.8048 GB, free: 20.53 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002268/1.132, allocations: 59.25 kB / 0.8049 GB, free: 20.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003105/1.132, allocations: 131.3 kB / 0.805 GB, free: 20.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/1.133, allocations: 364.5 kB / 0.8053 GB, free: 20.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007329/1.141, allocations: 1.434 MB / 0.8067 GB, free: 20.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004475/1.145, allocations: 3.001 MB / 0.8097 GB, free: 18.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006994/1.152, allocations: 355.7 kB / 0.81 GB, free: 18.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001462/1.154, allocations: 369.2 kB / 0.8103 GB, free: 18.11 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 () * Number of clocked 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.006608/1.16, allocations: 2.23 MB / 0.8125 GB, free: 16.63 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001115/1.161, allocations: 343.3 kB / 0.8129 GB, free: 16.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007851/1.169, allocations: 2.816 MB / 0.8156 GB, free: 13.97 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.676e-05/1.169, allocations: 27.94 kB / 0.8156 GB, free: 13.95 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.825e-05/1.169, allocations: 0 / 0.8156 GB, free: 13.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.193e-05/1.169, allocations: 10.56 kB / 0.8156 GB, free: 13.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02204/1.192, allocations: 7.651 MB / 0.8231 GB, free: 7.715 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-05/1.192, allocations: 3.938 kB / 0.8231 GB, free: 7.711 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002409/1.194, allocations: 357 kB / 0.8235 GB, free: 7.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000788/1.195, allocations: 182.1 kB / 0.8236 GB, free: 7.293 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003065/1.195, allocations: 34.94 kB / 0.8237 GB, free: 7.266 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003367/1.199, allocations: 2.564 MB / 0.8262 GB, free: 4.797 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.199, allocations: 0 / 0.8262 GB, free: 4.797 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01085/1.209, allocations: 5.383 MB / 0.8314 GB, free: 116 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002617/1.212, allocations: 0.6334 MB / 0.832 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001048/1.213, allocations: 28 kB / 0.8321 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002466/1.216, allocations: 115.6 kB / 0.8322 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004998/1.216, allocations: 136.9 kB / 0.8323 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002217/1.216, allocations: 55.52 kB / 0.8324 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00675/1.223, allocations: 2.369 MB / 0.8347 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.31e-07/1.223, allocations: 4 kB / 0.8347 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008985/1.232, allocations: 0.9921 MB / 0.8356 GB, free: 12.34 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 () * Number of clocked 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.0007626/1.233, allocations: 165 kB / 0.8358 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01365/1.247, allocations: 5.128 MB / 0.8408 GB, free: 7.707 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/1.247, allocations: 4 kB / 0.8408 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004066/1.251, allocations: 1.629 MB / 0.8424 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005139/1.256, allocations: 412 kB / 0.8428 GB, free: 5.93 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02994/1.286, allocations: 11.24 MB / 0.8538 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009694/1.296, allocations: 3.455 MB / 0.8572 GB, free: 8.922 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009354/1.305, allocations: 1.955 MB / 0.8591 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001583/1.307, allocations: 249.9 kB / 0.8593 GB, free: 7.461 MB / 0.5105 GB Notification: Performance of SimCode: time 1.673e-06/1.307, allocations: 0 / 0.8593 GB, free: 7.461 MB / 0.5105 GB Notification: Performance of Templates: time 0.3443/1.651, allocations: 32.71 MB / 0.8912 GB, free: 102.6 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/jenkins1/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