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.001355/0.001355, allocations: 104.1 kB / 15.98 MB, free: 5.883 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.001338/0.001338, allocations: 189.3 kB / 16.9 MB, free: 5.742 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.623/1.623, allocations: 205.1 MB / 222.8 MB, free: 4.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3786/0.3786, allocations: 43.5 MB / 313.6 MB, free: 8.555 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.001441/0.001441, allocations: 68.45 kB / 382.2 MB, free: 8.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1313, allocations: 57.79 MB / 440 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.2648/0.3963, allocations: 53.2 MB / 493.2 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02327/0.4196, allocations: 11.04 MB / 0.4924 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01536/0.435, allocations: 219.6 kB / 0.4926 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005179/0.4402, allocations: 2.718 MB / 0.4953 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004591/0.4449, allocations: 1.761 MB / 0.497 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.4464, allocations: 0.6622 MB / 0.4977 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006098/0.4525, allocations: 4.307 MB / 0.5019 GB, free: 6.379 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00543/0.458, allocations: 4.093 MB / 0.5059 GB, free: 4.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00368/0.4617, allocations: 1.612 MB / 0.5074 GB, free: 4.004 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004837/0.4665, allocations: 2.475 MB / 0.5099 GB, free: 3.098 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001436/0.468, allocations: 374.4 kB / 0.5102 GB, free: 3.098 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003364/0.4714, allocations: 1.252 MB / 0.5114 GB, free: 2.852 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002792/0.4742, allocations: 2.085 MB / 0.5135 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003042/0.4772, allocations: 2.414 MB / 0.5158 GB, free: 384 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01125/0.4885, allocations: 7.67 MB / 0.5233 GB, free: 11.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4885, allocations: 1.375 kB / 0.5233 GB, free: 11.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.4885, allocations: 0 / 0.5233 GB, free: 11.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002806/0.4888, allocations: 0 / 0.5233 GB, free: 11.87 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: 1645 * Number of variables: 1645 Notification: Performance of Generate backend data structure: time 0.01266/0.5015, allocations: 4.975 MB / 0.5282 GB, free: 7.059 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.5016, allocations: 11.89 kB / 0.5282 GB, free: 7.047 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01635/0.5179, allocations: 2.541 MB / 0.5307 GB, free: 4.496 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007083/0.5251, allocations: 2.706 MB / 0.5333 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002305/0.5253, allocations: 250.8 kB / 0.5335 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001251/0.5266, allocations: 331.8 kB / 0.5339 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01913/0.5457, allocations: 10.45 MB / 0.5441 GB, free: 6.031 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001222/0.5459, allocations: 47.59 kB / 0.5441 GB, free: 5.984 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004647/0.5464, allocations: 151.8 kB / 0.5443 GB, free: 5.836 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003216/0.5496, allocations: 2.096 MB / 0.5463 GB, free: 3.738 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01638/0.566, allocations: 8.736 MB / 0.5548 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04987/0.6159, allocations: 38.65 MB / 0.5926 GB, free: 3.242 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00579/0.6217, allocations: 3.048 MB / 0.5956 GB, free: 44 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002395/0.6242, allocations: 1.743 MB / 0.5973 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003881/0.6246, allocations: 336.2 kB / 0.5976 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.749e-05/0.6246, allocations: 51.5 kB / 0.5976 GB, free: 13.85 MB / 478.1 MB Notification: Performance of pre-optimization done (n=176): time 4.158e-06/0.6246, allocations: 7.938 kB / 0.5976 GB, free: 13.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=194): time 0.03385/0.6585, allocations: 14.77 MB / 0.6121 GB, free: 14.94 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.6587, allocations: 197.2 kB / 0.6122 GB, free: 14.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005388/0.6641, allocations: 3.843 MB / 0.616 GB, free: 10.87 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004539/0.6645, allocations: 49.7 kB / 0.616 GB, free: 10.81 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002432/0.667, allocations: 3.194 MB / 0.6192 GB, free: 7.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001139/0.6681, allocations: 0.7366 MB / 0.6199 GB, free: 6.824 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001824/0.67, allocations: 1.249 MB / 0.6211 GB, free: 5.562 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.6701, allocations: 313.1 kB / 0.6214 GB, free: 5.254 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003734/0.6738, allocations: 2.261 MB / 0.6236 GB, free: 2.988 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2334/0.9073, allocations: 5.941 MB / 0.6294 GB, free: 136.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00895/0.9162, allocations: 8.826 MB / 0.638 GB, free: 130.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001225/0.9164, allocations: 37.34 kB / 0.6381 GB, free: 130.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01334/0.9298, allocations: 8.483 MB / 0.6464 GB, free: 127.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.814e-05/0.9299, allocations: 66.5 kB / 0.6464 GB, free: 127.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000143/0.93, allocations: 129.9 kB / 0.6465 GB, free: 127.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001513/0.9316, allocations: 0.6921 MB / 0.6472 GB, free: 127.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004209/0.9358, allocations: 1.445 MB / 0.6486 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004195/0.94, allocations: 4.376 MB / 0.6529 GB, free: 124.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004724/0.9447, allocations: 354.5 kB / 0.6532 GB, free: 124.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000857/0.9456, allocations: 374.8 kB / 0.6536 GB, free: 124.6 MB / 494.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.004147/0.9498, allocations: 2.235 MB / 0.6558 GB, free: 123.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008191/0.9506, allocations: 342.8 kB / 0.6561 GB, free: 123.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006016/0.9566, allocations: 3.249 MB / 0.6593 GB, free: 122.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.993e-05/0.9567, allocations: 23.36 kB / 0.6593 GB, free: 122.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.9567, allocations: 6.906 kB / 0.6593 GB, free: 122.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.8e-05/0.9567, allocations: 10.67 kB / 0.6593 GB, free: 122.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01515/0.9719, allocations: 8.164 MB / 0.6673 GB, free: 119.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/0.9719, allocations: 1.125 kB / 0.6673 GB, free: 119.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/0.9737, allocations: 346.3 kB / 0.6676 GB, free: 119.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00152/0.9752, allocations: 0.5076 MB / 0.6681 GB, free: 119.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001833/0.9754, allocations: 35.62 kB / 0.6681 GB, free: 119.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005468/0.9809, allocations: 3.925 MB / 0.672 GB, free: 117 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.9809, allocations: 1.469 kB / 0.672 GB, free: 117 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01007/0.991, allocations: 5.937 MB / 0.6778 GB, free: 114.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001583/0.9926, allocations: 0.6422 MB / 0.6784 GB, free: 114.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005779/0.9932, allocations: 29.41 kB / 0.6784 GB, free: 114.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/0.9948, allocations: 120.7 kB / 0.6786 GB, free: 114.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004153/0.9952, allocations: 135.3 kB / 0.6787 GB, free: 114.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/0.9954, allocations: 52.33 kB / 0.6787 GB, free: 114.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004164/0.9995, allocations: 2.392 MB / 0.6811 GB, free: 113.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9996, allocations: 0 / 0.6811 GB, free: 113.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005862/1.005, allocations: 1.023 MB / 0.6821 GB, free: 113.4 MB / 494.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.0005348/1.006, allocations: 169.5 kB / 0.6822 GB, free: 113.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01099/1.017, allocations: 6.535 MB / 0.6886 GB, free: 111.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/1.017, allocations: 0 / 0.6886 GB, free: 111.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002325/1.019, allocations: 1.718 MB / 0.6903 GB, free: 110.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002624/1.022, allocations: 417.9 kB / 0.6907 GB, free: 110.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0188/1.041, allocations: 11.84 MB / 0.7022 GB, free: 100.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003216/1.044, allocations: 3.457 MB / 0.7056 GB, free: 97.55 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004691/1.049, allocations: 1.942 MB / 0.7075 GB, free: 96.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008814/1.05, allocations: 254.6 kB / 0.7078 GB, free: 96.07 MB / 494.1 MB Notification: Performance of SimCode: time 1.413e-06/1.05, allocations: 0 / 0.7078 GB, free: 96.07 MB / 494.1 MB Notification: Performance of Templates: time 0.0606/1.11, allocations: 36.6 MB / 0.7435 GB, free: 60.39 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches