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.001232/0.001232, allocations: 102.9 kB / 16.27 MB, free: 5.93 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.001301/0.001301, allocations: 188.9 kB / 17.2 MB, free: 5.574 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.573/1.573, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2241/0.2241, allocations: 43.52 MB / 313.9 MB, free: 0.5195 MB / 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.001432/0.001432, allocations: 68.08 kB / 382.7 MB, free: 56.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1177, allocations: 57.8 MB / 440.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01004/0.1277, allocations: 11.22 MB / 451.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008671/0.1364, allocations: 4.061 MB / 455.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001764/0.1383, allocations: 59.88 kB / 455.9 MB, free: 7.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005138/0.1434, allocations: 2.831 MB / 458.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005251/0.1487, allocations: 1.883 MB / 460.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.1509, allocations: 0.7018 MB / 461.3 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007206/0.1581, allocations: 4.179 MB / 465.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00688/0.165, allocations: 3.905 MB / 469.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004144/0.1692, allocations: 1.592 MB / 471 MB, free: 8.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005803/0.175, allocations: 2.227 MB / 473.2 MB, free: 6.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002315/0.1774, allocations: 376 kB / 473.5 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004817/0.1822, allocations: 1.244 MB / 474.8 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003126/0.1854, allocations: 2.057 MB / 476.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004337/0.1898, allocations: 2.389 MB / 479.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009682/0.1995, allocations: 7.617 MB / 486.9 MB, free: 8.344 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.1995, allocations: 0 / 486.9 MB, free: 8.344 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.656e-06/0.1995, allocations: 0 / 486.9 MB, free: 8.344 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003096/0.1998, allocations: 3.938 kB / 486.9 MB, free: 8.34 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.01463/0.2145, allocations: 4.968 MB / 491.8 MB, free: 3.301 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.2145, allocations: 11.89 kB / 491.8 MB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01784/0.2324, allocations: 2.545 MB / 494.4 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008418/0.2409, allocations: 2.695 MB / 497.1 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004807/0.2414, allocations: 258.5 kB / 497.3 MB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002499/0.2439, allocations: 327.8 kB / 497.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02392/0.2679, allocations: 10.45 MB / 0.4962 GB, free: 2.277 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002706/0.2682, allocations: 43.59 kB / 0.4962 GB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001626/0.2699, allocations: 159.8 kB / 0.4964 GB, free: 2.078 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003906/0.2738, allocations: 2.092 MB / 0.4984 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01853/0.2923, allocations: 8.741 MB / 0.507 GB, free: 7.223 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2627/0.5551, allocations: 38.62 MB / 0.5447 GB, free: 59.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005562/0.5607, allocations: 3.053 MB / 0.5477 GB, free: 58.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002383/0.5631, allocations: 1.74 MB / 0.5494 GB, free: 58.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003162/0.5634, allocations: 338.3 kB / 0.5497 GB, free: 58.31 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.5635, allocations: 56.44 kB / 0.5497 GB, free: 58.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=176): time 4.018e-06/0.5635, allocations: 0 / 0.5497 GB, free: 58.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=194): time 0.03193/0.5954, allocations: 14.77 MB / 0.5642 GB, free: 53.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.5956, allocations: 201.4 kB / 0.5644 GB, free: 52.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004881/0.6005, allocations: 3.837 MB / 0.5681 GB, free: 51.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002972/0.6008, allocations: 56.83 kB / 0.5682 GB, free: 51.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001727/0.6025, allocations: 3.187 MB / 0.5713 GB, free: 48.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007108/0.6032, allocations: 0.7437 MB / 0.572 GB, free: 47.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001335/0.6046, allocations: 1.251 MB / 0.5732 GB, free: 47.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.148e-05/0.6046, allocations: 305.1 kB / 0.5735 GB, free: 46.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002714/0.6074, allocations: 2.259 MB / 0.5757 GB, free: 45.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003775/0.6111, allocations: 5.948 MB / 0.5815 GB, free: 37.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007692/0.6189, allocations: 8.826 MB / 0.5901 GB, free: 27.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.481e-05/0.6189, allocations: 36 kB / 0.5902 GB, free: 27.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01165/0.6306, allocations: 8.485 MB / 0.5985 GB, free: 18.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.676e-05/0.6307, allocations: 64.12 kB / 0.5985 GB, free: 18.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.258e-05/0.6308, allocations: 132 kB / 0.5987 GB, free: 18.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001387/0.6322, allocations: 0.6954 MB / 0.5993 GB, free: 17.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003869/0.636, allocations: 1.443 MB / 0.6007 GB, free: 16.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004086/0.6401, allocations: 4.375 MB / 0.605 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004945/0.6451, allocations: 355.5 kB / 0.6054 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005895/0.6457, allocations: 372 kB / 0.6057 GB, free: 11.32 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.00327/0.649, allocations: 2.236 MB / 0.6079 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007012/0.6497, allocations: 339.6 kB / 0.6082 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005458/0.6552, allocations: 3.248 MB / 0.6114 GB, free: 5.469 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.209e-05/0.6552, allocations: 27.94 kB / 0.6114 GB, free: 5.441 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.831e-05/0.6553, allocations: 4.875 kB / 0.6114 GB, free: 5.438 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.039e-05/0.6553, allocations: 7.969 kB / 0.6114 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02076/0.676, allocations: 8.161 MB / 0.6194 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.097e-05/0.6761, allocations: 4 kB / 0.6194 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001748/0.6779, allocations: 339.5 kB / 0.6197 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001474/0.6794, allocations: 0.5089 MB / 0.6202 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002331/0.6796, allocations: 35.97 kB / 0.6203 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004794/0.6844, allocations: 3.928 MB / 0.6241 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.6844, allocations: 3.938 kB / 0.6241 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0099/0.6943, allocations: 5.933 MB / 0.6299 GB, free: 2.352 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00165/0.696, allocations: 0.645 MB / 0.6305 GB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007834/0.6968, allocations: 29.45 kB / 0.6305 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00188/0.6987, allocations: 119.8 kB / 0.6307 GB, free: 1.539 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003732/0.6991, allocations: 125.1 kB / 0.6308 GB, free: 1.414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001606/0.6993, allocations: 63.55 kB / 0.6308 GB, free: 1.355 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004299/0.7036, allocations: 2.388 MB / 0.6332 GB, free: 14.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7036, allocations: 0 / 0.6332 GB, free: 14.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00539/0.709, allocations: 1.026 MB / 0.6342 GB, free: 13.96 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.0005214/0.7095, allocations: 167.7 kB / 0.6343 GB, free: 13.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01243/0.722, allocations: 6.544 MB / 0.6407 GB, free: 7.297 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/0.722, allocations: 0 / 0.6407 GB, free: 7.297 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003215/0.7252, allocations: 1.716 MB / 0.6424 GB, free: 5.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003815/0.7291, allocations: 423.8 kB / 0.6428 GB, free: 5.168 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02138/0.7505, allocations: 9.663 MB / 0.6522 GB, free: 11.47 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005518/0.756, allocations: 3.459 MB / 0.6556 GB, free: 7.98 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006015/0.7621, allocations: 1.945 MB / 0.6575 GB, free: 6.031 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001195/0.7633, allocations: 255.4 kB / 0.6578 GB, free: 5.781 MB / 462.1 MB Notification: Performance of SimCode: time 7.41e-07/0.7633, allocations: 0 / 0.6578 GB, free: 5.781 MB / 462.1 MB Notification: Performance of Templates: time 0.07907/0.8424, allocations: 36.83 MB / 0.6937 GB, free: 1.039 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 -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","/var/lib/jenkins/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