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.00107/0.00107, allocations: 183.1 kB / 15.76 MB, free: 6.367 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.476/1.476, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008965/0.0008964, allocations: 94.81 kB / 270.2 MB, free: 13.36 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.1948/0.1948, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004145/0.0004145, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1113, allocations: 58.86 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3159/0.4273, allocations: 110.1 MB / 0.5863 GB, free: 5.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.4276, allocations: 82.14 kB / 0.5864 GB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2208/0.6485, allocations: 91.38 MB / 0.6756 GB, free: 2.328 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6485, allocations: 0 / 0.6756 GB, free: 2.328 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000166/0.6487, allocations: 88 kB / 0.6757 GB, free: 2.242 MB / 474.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.01055/0.6593, allocations: 4.394 MB / 0.68 GB, free: 13.78 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.6593, allocations: 8.031 kB / 0.68 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01696/0.6763, allocations: 4.436 MB / 0.6843 GB, free: 9.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01217/0.6885, allocations: 4.769 MB / 0.689 GB, free: 4.484 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003015/0.6888, allocations: 349.2 kB / 0.6893 GB, free: 4.141 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001988/0.6908, allocations: 463.8 kB / 0.6898 GB, free: 3.688 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01983/0.7107, allocations: 10.7 MB / 0.7002 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001966/0.7109, allocations: 63.41 kB / 0.7003 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009195/0.7118, allocations: 223.9 kB / 0.7005 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001248/0.7131, allocations: 0.9955 MB / 0.7014 GB, free: 6.68 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.236/0.9492, allocations: 8.662 MB / 0.7099 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05073/0.9999, allocations: 46.98 MB / 0.7558 GB, free: 85.06 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005259/1.005, allocations: 3.008 MB / 0.7587 GB, free: 84.41 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003631/1.006, allocations: 341.5 kB / 0.759 GB, free: 84.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/1.006, allocations: 57.88 kB / 0.7591 GB, free: 84.08 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=176): time 6.872e-06/1.006, allocations: 3.781 kB / 0.7591 GB, free: 84.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=194): time 0.02871/1.034, allocations: 13.89 MB / 0.7727 GB, free: 80.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.283e-05/1.035, allocations: 206.7 kB / 0.7729 GB, free: 80.22 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006175/1.041, allocations: 3.402 MB / 0.7762 GB, free: 79.06 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003958/1.041, allocations: 52.5 kB / 0.7762 GB, free: 79.01 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001873/1.043, allocations: 3.229 MB / 0.7794 GB, free: 76.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008311/1.044, allocations: 0.7351 MB / 0.7801 GB, free: 76.15 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004835/1.044, allocations: 121.2 kB / 0.7802 GB, free: 76.06 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004103/1.045, allocations: 0.5572 MB / 0.7808 GB, free: 75.65 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003248/1.048, allocations: 2.126 MB / 0.7829 GB, free: 74.99 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005038/1.053, allocations: 5.795 MB / 0.7885 GB, free: 69.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004776/1.058, allocations: 3.421 MB / 0.7919 GB, free: 68.26 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001398/1.058, allocations: 36.34 kB / 0.7919 GB, free: 68.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=785) (initialization): time 0.01558/1.074, allocations: 7.907 MB / 0.7996 GB, free: 65.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001462/1.074, allocations: 59.31 kB / 0.7997 GB, free: 65.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002001/1.074, allocations: 132.2 kB / 0.7998 GB, free: 65.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008845/1.075, allocations: 386.8 kB / 0.8002 GB, free: 65.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00477/1.08, allocations: 1.428 MB / 0.8016 GB, free: 65.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00297/1.083, allocations: 3.051 MB / 0.8045 GB, free: 63.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005078/1.088, allocations: 346.7 kB / 0.8049 GB, free: 62.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001342/1.089, allocations: 377.6 kB / 0.8052 GB, free: 62.93 MB / 0.4948 GB 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.005481/1.095, allocations: 2.228 MB / 0.8074 GB, free: 61.87 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001121/1.096, allocations: 346.1 kB / 0.8077 GB, free: 61.68 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008289/1.104, allocations: 2.819 MB / 0.8105 GB, free: 60.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.492e-05/1.104, allocations: 18.59 kB / 0.8105 GB, free: 60.62 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.94e-05/1.104, allocations: 6.578 kB / 0.8105 GB, free: 60.62 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.891e-05/1.104, allocations: 17.36 kB / 0.8105 GB, free: 60.62 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02474/1.129, allocations: 7.651 MB / 0.818 GB, free: 57.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.217e-05/1.129, allocations: 0 / 0.818 GB, free: 57.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003181/1.132, allocations: 351 kB / 0.8183 GB, free: 57.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009304/1.133, allocations: 182.1 kB / 0.8185 GB, free: 57.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002473/1.134, allocations: 38.3 kB / 0.8185 GB, free: 57.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004096/1.138, allocations: 2.602 MB / 0.8211 GB, free: 55.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.138, allocations: 4.062 kB / 0.8211 GB, free: 55.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01345/1.151, allocations: 5.457 MB / 0.8264 GB, free: 52.09 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002557/1.154, allocations: 0.6291 MB / 0.827 GB, free: 51.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008455/1.155, allocations: 30.12 kB / 0.8271 GB, free: 51.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002923/1.158, allocations: 120.5 kB / 0.8272 GB, free: 51.38 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004561/1.158, allocations: 128.6 kB / 0.8273 GB, free: 51.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002206/1.158, allocations: 56.94 kB / 0.8273 GB, free: 51.26 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005483/1.164, allocations: 2.369 MB / 0.8297 GB, free: 49.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.42e-07/1.164, allocations: 0 / 0.8297 GB, free: 49.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009261/1.173, allocations: 0.9902 MB / 0.8306 GB, free: 48.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.00065/1.174, allocations: 178.8 kB / 0.8308 GB, free: 48.17 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01387/1.188, allocations: 5.119 MB / 0.8358 GB, free: 43.71 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/1.188, allocations: 4 kB / 0.8358 GB, free: 43.71 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004095/1.192, allocations: 1.633 MB / 0.8374 GB, free: 42.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0032/1.195, allocations: 403.4 kB / 0.8378 GB, free: 41.95 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02698/1.222, allocations: 11.19 MB / 0.8487 GB, free: 31.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007398/1.23, allocations: 3.548 MB / 0.8522 GB, free: 29.01 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.009306/1.239, allocations: 1.948 MB / 0.8541 GB, free: 27.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001934/1.241, allocations: 256.4 kB / 0.8543 GB, free: 27.54 MB / 0.4948 GB Notification: Performance of SimCode: time 1.713e-06/1.241, allocations: 0 / 0.8543 GB, free: 27.54 MB / 0.4948 GB Notification: Performance of Templates: time 0.08483/1.326, allocations: 32.61 MB / 0.8862 GB, free: 14.37 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