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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001544/0.001544, allocations: 117.3 kB / 17.99 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00134/0.00134, allocations: 201.8 kB / 18.92 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2302/0.2302, allocations: 46.12 MB / 344.5 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002475/0.002474, allocations: 80.45 kB / 417.8 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1338, allocations: 62.46 MB / 480.2 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.2559/0.3897, allocations: 40.72 MB / 0.5087 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01743/0.4072, allocations: 8.909 MB / 0.5174 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0081/0.4153, allocations: 169.7 kB / 0.5176 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005133/0.4205, allocations: 2.666 MB / 0.5202 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004672/0.4252, allocations: 1.504 MB / 0.5217 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.4271, allocations: 0.6738 MB / 0.5223 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006321/0.4334, allocations: 4.094 MB / 0.5263 GB, free: 6.992 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004887/0.4384, allocations: 3.871 MB / 0.5301 GB, free: 5.461 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00304/0.4415, allocations: 1.413 MB / 0.5315 GB, free: 4.887 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00422/0.4457, allocations: 2.112 MB / 0.5335 GB, free: 3.762 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001114/0.4469, allocations: 313.8 kB / 0.5338 GB, free: 3.762 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002507/0.4494, allocations: 1.201 MB / 0.535 GB, free: 3.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00169/0.4511, allocations: 1.779 MB / 0.5368 GB, free: 2.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002076/0.4532, allocations: 2.026 MB / 0.5387 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006743/0.46, allocations: 5.31 MB / 0.5439 GB, free: 13.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.46, allocations: 0 / 0.5439 GB, free: 13.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.46, allocations: 0 / 0.5439 GB, free: 13.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002523/0.4603, allocations: 0 / 0.5439 GB, free: 13.38 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: 1367 * Number of variables: 1367 Notification: Performance of Generate backend data structure: time 0.01138/0.4717, allocations: 4.332 MB / 0.5481 GB, free: 9.555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.4717, allocations: 12.03 kB / 0.5482 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01619/0.4879, allocations: 2.437 MB / 0.5505 GB, free: 7.098 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005922/0.4939, allocations: 2.427 MB / 0.5529 GB, free: 4.633 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/0.4941, allocations: 214.9 kB / 0.5531 GB, free: 4.449 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009691/0.4951, allocations: 296.2 kB / 0.5534 GB, free: 4.191 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01606/0.5112, allocations: 8.722 MB / 0.5619 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001357/0.5114, allocations: 51.58 kB / 0.562 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004913/0.5119, allocations: 138 kB / 0.5621 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002896/0.5148, allocations: 1.652 MB / 0.5637 GB, free: 9.125 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01446/0.5292, allocations: 7.221 MB / 0.5708 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04473/0.574, allocations: 33.57 MB / 0.6035 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005241/0.5793, allocations: 2.448 MB / 0.6059 GB, free: 12.9 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001954/0.5813, allocations: 1.288 MB / 0.6072 GB, free: 11.6 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004308/0.5818, allocations: 320.9 kB / 0.6075 GB, free: 11.24 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.222e-05/0.5818, allocations: 51.12 kB / 0.6075 GB, free: 11.18 MB / 462.1 MB Notification: Performance of pre-optimization done (n=122): time 3.737e-06/0.5818, allocations: 0 / 0.6075 GB, free: 11.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=140): time 0.03035/0.6122, allocations: 11.44 MB / 0.6187 GB, free: 15.59 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001566/0.6124, allocations: 196.6 kB / 0.6189 GB, free: 15.36 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005974/0.6184, allocations: 3.585 MB / 0.6224 GB, free: 11.77 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003612/0.6188, allocations: 41.7 kB / 0.6224 GB, free: 11.73 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00265/0.6214, allocations: 2.814 MB / 0.6252 GB, free: 8.918 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009266/0.6224, allocations: 0.5598 MB / 0.6257 GB, free: 8.363 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001769/0.6241, allocations: 1.099 MB / 0.6268 GB, free: 7.254 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.6243, allocations: 305.1 kB / 0.6271 GB, free: 6.953 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003226/0.6276, allocations: 1.806 MB / 0.6289 GB, free: 5.141 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006604/0.6342, allocations: 5.186 MB / 0.6339 GB, free: 14.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01068/0.6449, allocations: 7.526 MB / 0.6413 GB, free: 5.059 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001172/0.6451, allocations: 36 kB / 0.6413 GB, free: 5.023 MB / 494.1 MB Notification: Performance of matching and sorting (n=701) (initialization): time 0.01593/0.661, allocations: 7.227 MB / 0.6484 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.6612, allocations: 56 kB / 0.6484 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001652/0.6614, allocations: 120 kB / 0.6485 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001814/0.6632, allocations: 0.6869 MB / 0.6492 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004269/0.6675, allocations: 1.228 MB / 0.6504 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006093/0.6736, allocations: 4.347 MB / 0.6547 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004038/0.6777, allocations: 295.6 kB / 0.6549 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008819/0.6786, allocations: 340 kB / 0.6553 GB, free: 6.594 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.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 (663): * Single equations (assignments): 659 * 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.003736/0.6823, allocations: 1.957 MB / 0.6572 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006972/0.683, allocations: 300.2 kB / 0.6575 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004676/0.6877, allocations: 2.252 MB / 0.6597 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.721e-05/0.6878, allocations: 16 kB / 0.6597 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.6878, allocations: 3.938 kB / 0.6597 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.6878, allocations: 11.98 kB / 0.6597 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0125/0.7003, allocations: 6.141 MB / 0.6657 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.7004, allocations: 0 / 0.6657 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.7015, allocations: 211.7 kB / 0.6659 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001469/0.703, allocations: 0.5119 MB / 0.6664 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/0.7031, allocations: 27.98 kB / 0.6664 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005254/0.7084, allocations: 3.928 MB / 0.6703 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.7084, allocations: 4.031 kB / 0.6703 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007541/0.716, allocations: 4.389 MB / 0.6745 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008854/0.7169, allocations: 357 kB / 0.6749 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003725/0.7173, allocations: 22.81 kB / 0.6749 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.7185, allocations: 75.91 kB / 0.675 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002907/0.7188, allocations: 104.4 kB / 0.6751 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.7189, allocations: 44.16 kB / 0.6751 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003605/0.7225, allocations: 2.233 MB / 0.6773 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3e-07/0.7225, allocations: 0 / 0.6773 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004445/0.727, allocations: 0.8437 MB / 0.6781 GB, free: 14.94 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.0004385/0.7274, allocations: 150.1 kB / 0.6783 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008531/0.736, allocations: 4.799 MB / 0.683 GB, free: 10 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.736, allocations: 0 / 0.683 GB, free: 10 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002039/0.7381, allocations: 1.232 MB / 0.6842 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002354/0.7404, allocations: 385.4 kB / 0.6845 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01683/0.7573, allocations: 10.2 MB / 0.6945 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003686/0.761, allocations: 3.015 MB / 0.6974 GB, free: 11.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009629/0.762, allocations: 263.4 kB / 0.6977 GB, free: 10.84 MB / 0.545 GB Notification: Performance of SimCode: time 1.002e-06/0.762, allocations: 0 / 0.6977 GB, free: 10.84 MB / 0.545 GB Notification: Performance of Templates: time 0.2874/1.049, allocations: 67.06 MB / 0.7632 GB, free: 157.4 MB / 0.545 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches