Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_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.001923/0.001923, allocations: 110.9 kB / 17.33 MB, free: 6.012 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.002161/0.002161, allocations: 193.3 kB / 18.25 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2171/0.2171, allocations: 44.18 MB / 336.2 MB, free: 2.977 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 67.7 kB / 407.9 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1206, allocations: 60.82 MB / 468.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.3077/0.4283, allocations: 51.78 MB / 0.5083 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02784/0.4562, allocations: 10.82 MB / 0.5189 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0136/0.4698, allocations: 215.2 kB / 0.5191 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005751/0.4757, allocations: 2.692 MB / 0.5217 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005925/0.4817, allocations: 1.599 MB / 0.5232 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002142/0.4838, allocations: 0.6608 MB / 0.5239 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006463/0.4903, allocations: 4.18 MB / 0.528 GB, free: 6.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006253/0.4966, allocations: 3.939 MB / 0.5318 GB, free: 4.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003297/0.4999, allocations: 1.46 MB / 0.5332 GB, free: 3.715 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003211/0.5032, allocations: 2.18 MB / 0.5354 GB, free: 2.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008153/0.504, allocations: 324.2 kB / 0.5357 GB, free: 2.555 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002403/0.5064, allocations: 1.224 MB / 0.5369 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001561/0.508, allocations: 1.87 MB / 0.5387 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002158/0.5102, allocations: 2.146 MB / 0.5408 GB, free: 15.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007894/0.5181, allocations: 6.84 MB / 0.5475 GB, free: 9.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.5181, allocations: 3.938 kB / 0.5475 GB, free: 9.969 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5181, allocations: 0 / 0.5475 GB, free: 9.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002287/0.5184, allocations: 0 / 0.5475 GB, free: 9.969 MB / 398.1 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.009999/0.5284, allocations: 4.518 MB / 0.5519 GB, free: 5.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.5284, allocations: 8.031 kB / 0.5519 GB, free: 5.469 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01627/0.5447, allocations: 2.467 MB / 0.5543 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00567/0.5504, allocations: 2.492 MB / 0.5567 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/0.5506, allocations: 229.7 kB / 0.557 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007917/0.5514, allocations: 297.4 kB / 0.5573 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01409/0.5655, allocations: 9.298 MB / 0.5663 GB, free: 6.188 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001038/0.5656, allocations: 39.66 kB / 0.5664 GB, free: 6.148 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003785/0.566, allocations: 152.3 kB / 0.5665 GB, free: 6.035 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002893/0.5689, allocations: 1.837 MB / 0.5683 GB, free: 4.203 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01403/0.583, allocations: 7.682 MB / 0.5758 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04527/0.6283, allocations: 34.86 MB / 0.6099 GB, free: 8.734 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004823/0.6332, allocations: 2.443 MB / 0.6122 GB, free: 6.148 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001714/0.6349, allocations: 1.282 MB / 0.6135 GB, free: 4.855 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004008/0.6353, allocations: 332.8 kB / 0.6138 GB, free: 4.477 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.6354, allocations: 47.06 kB / 0.6139 GB, free: 4.422 MB / 462.1 MB Notification: Performance of pre-optimization done (n=122): time 3.326e-06/0.6354, allocations: 0 / 0.6139 GB, free: 4.422 MB / 462.1 MB Notification: Performance of matching and sorting (n=140): time 0.02833/0.6637, allocations: 11.65 MB / 0.6252 GB, free: 8.625 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.6638, allocations: 200.5 kB / 0.6254 GB, free: 8.387 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004604/0.6685, allocations: 3.63 MB / 0.629 GB, free: 4.758 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001665/0.6686, allocations: 45.7 kB / 0.629 GB, free: 4.707 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001794/0.6704, allocations: 2.935 MB / 0.6319 GB, free: 1.777 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004971/0.6709, allocations: 0.5634 MB / 0.6324 GB, free: 1.219 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0013/0.6723, allocations: 1.116 MB / 0.6335 GB, free: 96 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.6724, allocations: 309 kB / 0.6338 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002614/0.675, allocations: 1.822 MB / 0.6356 GB, free: 13.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005116/0.6802, allocations: 5.246 MB / 0.6407 GB, free: 6.988 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008449/0.6886, allocations: 7.615 MB / 0.6482 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.444e-05/0.6887, allocations: 36 kB / 0.6482 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01206/0.7008, allocations: 7.296 MB / 0.6553 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.67e-05/0.7009, allocations: 56 kB / 0.6554 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000132/0.7011, allocations: 120 kB / 0.6555 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001627/0.7027, allocations: 0.6845 MB / 0.6561 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00371/0.7064, allocations: 1.259 MB / 0.6574 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005319/0.7117, allocations: 4.352 MB / 0.6616 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004594/0.7164, allocations: 303.8 kB / 0.6619 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009125/0.7173, allocations: 338.2 kB / 0.6622 GB, free: 15.11 MB / 0.5137 GB 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.004101/0.7214, allocations: 2.037 MB / 0.6642 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007297/0.7221, allocations: 312 kB / 0.6645 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004422/0.7266, allocations: 2.253 MB / 0.6667 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.372e-05/0.7266, allocations: 19.94 kB / 0.6667 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.7267, allocations: 4 kB / 0.6668 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.7267, allocations: 3.984 kB / 0.6668 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01174/0.7384, allocations: 6.292 MB / 0.6729 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.7385, allocations: 4 kB / 0.6729 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.7395, allocations: 215.7 kB / 0.6731 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001392/0.7409, allocations: 0.5041 MB / 0.6736 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.93e-05/0.7411, allocations: 31.98 kB / 0.6736 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004532/0.7456, allocations: 3.921 MB / 0.6775 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.7456, allocations: 0 / 0.6775 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006792/0.7524, allocations: 4.406 MB / 0.6818 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009566/0.7534, allocations: 357.1 kB / 0.6821 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003507/0.7538, allocations: 20 kB / 0.6821 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.7549, allocations: 91.89 kB / 0.6822 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002933/0.7552, allocations: 100.5 kB / 0.6823 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.7553, allocations: 39.98 kB / 0.6823 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003546/0.7589, allocations: 2.25 MB / 0.6845 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7589, allocations: 0 / 0.6845 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004362/0.7632, allocations: 0.8894 MB / 0.6854 GB, free: 7.145 MB / 0.5294 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 (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.0003762/0.7636, allocations: 149.5 kB / 0.6856 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007715/0.7713, allocations: 4.83 MB / 0.6903 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.7714, allocations: 3.938 kB / 0.6903 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001715/0.7731, allocations: 1.24 MB / 0.6915 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/0.7752, allocations: 409.4 kB / 0.6919 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01472/0.79, allocations: 10.25 MB / 0.7019 GB, free: 6.238 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003178/0.7932, allocations: 3.16 MB / 0.705 GB, free: 3.047 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003999/0.7972, allocations: 1.726 MB / 0.7067 GB, free: 1.316 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000611/0.7978, allocations: 215.4 kB / 0.7069 GB, free: 1.105 MB / 0.545 GB Notification: Performance of SimCode: time 9.12e-07/0.7978, allocations: 0 / 0.7069 GB, free: 1.105 MB / 0.545 GB Notification: Performance of Templates: time 0.2504/1.048, allocations: 30.39 MB / 0.7365 GB, free: 193 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches