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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 111.5 kB / 17.04 MB, free: 6.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 196 kB / 17.97 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.1 MB / 223.9 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2137/0.2137, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 68.72 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1018, allocations: 57.78 MB / 442 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01056/0.1124, allocations: 11.22 MB / 453.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007968/0.1204, allocations: 4.062 MB / 457.3 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001488/0.122, allocations: 63.81 kB / 457.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004729/0.1267, allocations: 2.827 MB / 460.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004372/0.1311, allocations: 1.895 MB / 462 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.1329, allocations: 0.7018 MB / 462.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006504/0.1394, allocations: 4.182 MB / 466.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005118/0.1446, allocations: 3.902 MB / 470.8 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003723/0.1484, allocations: 1.589 MB / 472.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003566/0.152, allocations: 2.235 MB / 474.6 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007602/0.1528, allocations: 376 kB / 475 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.1549, allocations: 1.248 MB / 476.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002145/0.1571, allocations: 2.046 MB / 478.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002971/0.16, allocations: 2.389 MB / 480.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008188/0.1682, allocations: 7.887 MB / 488.6 MB, free: 7.332 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1683, allocations: 0 / 488.6 MB, free: 7.332 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1683, allocations: 0 / 488.6 MB, free: 7.332 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000238/0.1686, allocations: 0 / 488.6 MB, free: 7.332 MB / 366.1 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.01289/0.1814, allocations: 4.968 MB / 493.5 MB, free: 2.293 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.1815, allocations: 15.89 kB / 493.6 MB, free: 2.277 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01588/0.1974, allocations: 2.541 MB / 496.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006663/0.2041, allocations: 2.734 MB / 498.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001816/0.2043, allocations: 258.5 kB / 499.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007597/0.2051, allocations: 335.7 kB / 499.4 MB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01457/0.2197, allocations: 10.44 MB / 0.4979 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001047/0.2198, allocations: 47.58 kB / 0.498 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003875/0.2202, allocations: 155.8 kB / 0.4981 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00311/0.2233, allocations: 2.096 MB / 0.5001 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01536/0.2387, allocations: 8.73 MB / 0.5087 GB, free: 6.184 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.283/0.5217, allocations: 38.41 MB / 0.5462 GB, free: 58.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006576/0.5283, allocations: 3.049 MB / 0.5492 GB, free: 58.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003053/0.5314, allocations: 1.734 MB / 0.5509 GB, free: 58.13 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004132/0.5319, allocations: 341.8 kB / 0.5512 GB, free: 57.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.5319, allocations: 48.47 kB / 0.5512 GB, free: 57.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=176): time 5.39e-06/0.5319, allocations: 2.156 kB / 0.5512 GB, free: 57.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=194): time 0.03188/0.5638, allocations: 14.79 MB / 0.5657 GB, free: 52.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.671e-05/0.564, allocations: 202.1 kB / 0.5659 GB, free: 52.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004128/0.5681, allocations: 3.848 MB / 0.5696 GB, free: 50.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000249/0.5684, allocations: 49.27 kB / 0.5697 GB, free: 50.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001343/0.5697, allocations: 3.191 MB / 0.5728 GB, free: 47.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005507/0.5703, allocations: 0.7384 MB / 0.5735 GB, free: 47.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0013/0.5716, allocations: 1.249 MB / 0.5747 GB, free: 46.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.666e-05/0.5716, allocations: 304.8 kB / 0.575 GB, free: 46.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002774/0.5744, allocations: 2.258 MB / 0.5772 GB, free: 45.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003833/0.5783, allocations: 5.948 MB / 0.583 GB, free: 37.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007235/0.5855, allocations: 8.826 MB / 0.5916 GB, free: 26.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.405e-05/0.5856, allocations: 41.25 kB / 0.5917 GB, free: 26.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01131/0.5969, allocations: 8.48 MB / 0.6 GB, free: 18.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.406e-05/0.597, allocations: 68.03 kB / 0.6 GB, free: 18.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.596e-05/0.5971, allocations: 128.6 kB / 0.6002 GB, free: 18.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001379/0.5985, allocations: 0.6798 MB / 0.6008 GB, free: 17.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003977/0.6025, allocations: 1.458 MB / 0.6022 GB, free: 16.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003945/0.6065, allocations: 4.371 MB / 0.6065 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004276/0.6108, allocations: 355.4 kB / 0.6068 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006318/0.6114, allocations: 375.9 kB / 0.6072 GB, free: 10.9 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * 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 (764): * Single equations (assignments): 760 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002857/0.6143, allocations: 2.24 MB / 0.6094 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006191/0.6149, allocations: 335.6 kB / 0.6097 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004897/0.6198, allocations: 3.252 MB / 0.6129 GB, free: 5.055 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.581e-05/0.6198, allocations: 20.33 kB / 0.6129 GB, free: 5.035 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.6199, allocations: 4 kB / 0.6129 GB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/0.6199, allocations: 11.97 kB / 0.6129 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01384/0.6337, allocations: 8.128 MB / 0.6209 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-05/0.6338, allocations: 9.875 kB / 0.6209 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00166/0.6355, allocations: 343.5 kB / 0.6212 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001409/0.6369, allocations: 0.5002 MB / 0.6217 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001797/0.6371, allocations: 39.98 kB / 0.6217 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004904/0.642, allocations: 3.925 MB / 0.6256 GB, free: 7.922 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.642, allocations: 0 / 0.6256 GB, free: 7.922 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009384/0.6514, allocations: 5.932 MB / 0.6314 GB, free: 1.973 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002287/0.6538, allocations: 0.6466 MB / 0.632 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005242/0.6543, allocations: 28 kB / 0.632 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/0.6558, allocations: 131.5 kB / 0.6321 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003323/0.6561, allocations: 125.1 kB / 0.6323 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001394/0.6563, allocations: 51.98 kB / 0.6323 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003501/0.6598, allocations: 2.396 MB / 0.6346 GB, free: 14.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6598, allocations: 0 / 0.6346 GB, free: 14.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004937/0.6647, allocations: 1.021 MB / 0.6356 GB, free: 13.58 MB / 446.1 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 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004737/0.6652, allocations: 172.1 kB / 0.6358 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008457/0.6737, allocations: 5.364 MB / 0.641 GB, free: 8.066 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.6737, allocations: 0 / 0.641 GB, free: 8.066 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002495/0.6762, allocations: 1.723 MB / 0.6427 GB, free: 6.336 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/0.6786, allocations: 415.1 kB / 0.6431 GB, free: 5.945 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01565/0.6942, allocations: 9.549 MB / 0.6524 GB, free: 12.36 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003623/0.6979, allocations: 3.463 MB / 0.6558 GB, free: 8.883 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00431/0.7022, allocations: 1.937 MB / 0.6577 GB, free: 6.949 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007623/0.703, allocations: 255.4 kB / 0.658 GB, free: 6.703 MB / 462.1 MB Notification: Performance of SimCode: time 6.11e-07/0.703, allocations: 0 / 0.658 GB, free: 6.703 MB / 462.1 MB Notification: Performance of Templates: time 0.06283/0.7659, allocations: 31.77 MB / 0.689 GB, free: 7.113 MB / 494.1 MB 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches