Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.001321, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 226.8 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009781/0.000978, allocations: 102 kB / 296.7 MB, free: 6.504 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3269/0.3269, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 67.89 kB / 465.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3098, allocations: 62.01 MB / 0.5152 GB, free: 37.6 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.03782/0.3477, allocations: 51.8 MB / 0.5657 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02401/0.3717, allocations: 10.94 MB / 0.5764 GB, free: 9.281 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01008/0.3819, allocations: 216.8 kB / 0.5766 GB, free: 9.25 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005803/0.3877, allocations: 2.775 MB / 0.5793 GB, free: 7.719 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004325/0.3921, allocations: 1.585 MB / 0.5809 GB, free: 6.129 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001774/0.3939, allocations: 0.6475 MB / 0.5815 GB, free: 5.48 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00696/0.4009, allocations: 5.909 MB / 0.5873 GB, free: 15.56 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005042/0.4059, allocations: 3.689 MB / 0.5909 GB, free: 11.81 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002454/0.4084, allocations: 1.281 MB / 0.5921 GB, free: 10.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003106/0.4115, allocations: 2.099 MB / 0.5942 GB, free: 8.418 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009188/0.4125, allocations: 232 kB / 0.5944 GB, free: 8.191 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002607/0.4151, allocations: 1.151 MB / 0.5955 GB, free: 7.039 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002187/0.4173, allocations: 1.773 MB / 0.5973 GB, free: 5.262 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002884/0.4202, allocations: 2.042 MB / 0.5993 GB, free: 3.207 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007206/0.4274, allocations: 6.721 MB / 0.6058 GB, free: 12.46 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.4275, allocations: 4 kB / 0.6058 GB, free: 12.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4275, allocations: 0 / 0.6058 GB, free: 12.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002443/0.4278, allocations: 0 / 0.6058 GB, free: 12.46 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1454 * Number of variables: 1454 Notification: Performance of Generate backend data structure: time 0.01033/0.4381, allocations: 4.521 MB / 0.6102 GB, free: 7.875 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.4381, allocations: 8.031 kB / 0.6103 GB, free: 7.867 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01711/0.4553, allocations: 2.523 MB / 0.6127 GB, free: 5.336 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006767/0.4621, allocations: 2.468 MB / 0.6151 GB, free: 2.805 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002473/0.4624, allocations: 226.2 kB / 0.6153 GB, free: 2.582 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001282/0.4636, allocations: 311.9 kB / 0.6156 GB, free: 2.277 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01605/0.4797, allocations: 9.285 MB / 0.6247 GB, free: 8.359 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001212/0.4799, allocations: 39.66 kB / 0.6247 GB, free: 8.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004278/0.4803, allocations: 151.8 kB / 0.6249 GB, free: 8.172 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003748/0.4841, allocations: 1.841 MB / 0.6267 GB, free: 6.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01457/0.4987, allocations: 7.686 MB / 0.6342 GB, free: 14.61 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04049/0.5392, allocations: 34.86 MB / 0.6682 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004839/0.5441, allocations: 2.437 MB / 0.6706 GB, free: 8.094 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00173/0.5458, allocations: 1.282 MB / 0.6719 GB, free: 6.801 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003519/0.5462, allocations: 331.8 kB / 0.6722 GB, free: 6.422 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.5463, allocations: 47.11 kB / 0.6722 GB, free: 6.367 MB / 490.7 MB Notification: Performance of pre-optimization done (n=122): time 3.887e-06/0.5463, allocations: 0 / 0.6722 GB, free: 6.367 MB / 490.7 MB Notification: Performance of matching and sorting (n=140): time 0.227/0.7733, allocations: 11.6 MB / 0.6836 GB, free: 130.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.7735, allocations: 203.6 kB / 0.6838 GB, free: 129.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005685/0.7792, allocations: 3.633 MB / 0.6873 GB, free: 128.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002644/0.7795, allocations: 40.77 kB / 0.6873 GB, free: 128.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001526/0.7811, allocations: 2.938 MB / 0.6902 GB, free: 126.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005911/0.7817, allocations: 0.5606 MB / 0.6908 GB, free: 125.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001235/0.7829, allocations: 1.124 MB / 0.6919 GB, free: 125.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.009e-05/0.783, allocations: 301.1 kB / 0.6921 GB, free: 125.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002295/0.7853, allocations: 1.818 MB / 0.6939 GB, free: 124.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003704/0.789, allocations: 5.255 MB / 0.6991 GB, free: 119.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007188/0.7962, allocations: 7.607 MB / 0.7065 GB, free: 112.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001168/0.7964, allocations: 35.12 kB / 0.7065 GB, free: 112.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01463/0.811, allocations: 7.301 MB / 0.7136 GB, free: 110.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.8112, allocations: 60.39 kB / 0.7137 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002463/0.8114, allocations: 122.6 kB / 0.7138 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002072/0.8135, allocations: 0.6835 MB / 0.7145 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004349/0.8179, allocations: 1.248 MB / 0.7157 GB, free: 109.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005237/0.8231, allocations: 4.06 MB / 0.7197 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004217/0.8274, allocations: 303.5 kB / 0.72 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006489/0.828, allocations: 339.5 kB / 0.7203 GB, free: 107.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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 (672): * Single equations (assignments): 668 * 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 {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003203/0.8313, allocations: 2.043 MB / 0.7223 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005328/0.8318, allocations: 299.8 kB / 0.7226 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004096/0.8359, allocations: 2.259 MB / 0.7248 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.636e-05/0.8359, allocations: 18.78 kB / 0.7248 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.836, allocations: 6.344 kB / 0.7248 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.836, allocations: 7.547 kB / 0.7248 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009784/0.8458, allocations: 6.288 MB / 0.7309 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.862e-06/0.8458, allocations: 0 / 0.7309 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009374/0.8467, allocations: 217.6 kB / 0.7312 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001266/0.848, allocations: 0.5039 MB / 0.7316 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.66e-05/0.8481, allocations: 23.8 kB / 0.7317 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003407/0.8515, allocations: 3.64 MB / 0.7352 GB, free: 99.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8516, allocations: 0 / 0.7352 GB, free: 99.59 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02754/0.8791, allocations: 19.8 MB / 0.7546 GB, free: 79.92 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005394/0.8797, allocations: 353 kB / 0.7549 GB, free: 79.55 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003396/0.88, allocations: 28.12 kB / 0.7549 GB, free: 79.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.8811, allocations: 79.89 kB / 0.755 GB, free: 79.45 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002694/0.8814, allocations: 100.7 kB / 0.7551 GB, free: 79.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.567e-05/0.8815, allocations: 39.98 kB / 0.7551 GB, free: 79.31 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002587/0.8841, allocations: 2.254 MB / 0.7573 GB, free: 77.07 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.8841, allocations: 0 / 0.7573 GB, free: 77.07 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004568/0.8887, allocations: 1.12 MB / 0.7584 GB, free: 75.95 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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.000385/0.8891, allocations: 157.7 kB / 0.7586 GB, free: 75.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006045/0.8951, allocations: 4.329 MB / 0.7628 GB, free: 71.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.8952, allocations: 0 / 0.7628 GB, free: 71.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001458/0.8966, allocations: 1.236 MB / 0.764 GB, free: 70.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002234/0.8989, allocations: 390 kB / 0.7644 GB, free: 69.87 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/0.9115, allocations: 11.27 MB / 0.7754 GB, free: 58.54 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002741/0.9143, allocations: 3.203 MB / 0.7785 GB, free: 55.31 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003716/0.918, allocations: 1.728 MB / 0.7802 GB, free: 53.58 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005343/0.9185, allocations: 215.4 kB / 0.7804 GB, free: 53.37 MB / 490.7 MB Notification: Performance of SimCode: time 1.042e-06/0.9185, allocations: 7.938 kB / 0.7804 GB, free: 53.36 MB / 490.7 MB Notification: Performance of Templates: time 0.04959/0.9681, allocations: 32.99 MB / 0.8126 GB, free: 20.51 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches