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.001406/0.001405, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00122/0.00122, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2277/0.2277, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 75.88 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4136, allocations: 62.44 MB / 0.531 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01193/0.4256, allocations: 9.498 MB / 0.5403 GB, free: 6.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009234/0.4349, allocations: 3.826 MB / 0.544 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002258/0.4372, allocations: 56.72 kB / 0.5441 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005293/0.4426, allocations: 2.752 MB / 0.5468 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004909/0.4475, allocations: 1.611 MB / 0.5483 GB, free: 68 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001825/0.4493, allocations: 0.7213 MB / 0.549 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005764/0.4551, allocations: 3.89 MB / 0.5528 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004496/0.4596, allocations: 3.678 MB / 0.5564 GB, free: 7.699 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002977/0.4626, allocations: 1.406 MB / 0.5578 GB, free: 6.289 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00347/0.4661, allocations: 1.9 MB / 0.5596 GB, free: 4.383 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008692/0.467, allocations: 316 kB / 0.56 GB, free: 4.074 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.4694, allocations: 1.186 MB / 0.5611 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001859/0.4713, allocations: 1.753 MB / 0.5628 GB, free: 1.129 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002292/0.4736, allocations: 2.008 MB / 0.5648 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008722/0.4823, allocations: 6.673 MB / 0.5713 GB, free: 8.414 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.121e-05/0.4824, allocations: 0 / 0.5713 GB, free: 8.414 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.4824, allocations: 4 kB / 0.5713 GB, free: 8.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002363/0.4826, allocations: 0 / 0.5713 GB, free: 8.41 MB / 430.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.01021/0.4928, allocations: 4.344 MB / 0.5755 GB, free: 4 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.4929, allocations: 16.02 kB / 0.5756 GB, free: 3.984 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01693/0.5098, allocations: 2.429 MB / 0.5779 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008937/0.5188, allocations: 2.457 MB / 0.5803 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001826/0.519, allocations: 222 kB / 0.5805 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009478/0.52, allocations: 295.8 kB / 0.5808 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01362/0.5336, allocations: 8.724 MB / 0.5893 GB, free: 5.152 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001044/0.5338, allocations: 39.59 kB / 0.5894 GB, free: 5.113 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003754/0.5341, allocations: 143.9 kB / 0.5895 GB, free: 4.973 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002577/0.5367, allocations: 1.653 MB / 0.5911 GB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01328/0.55, allocations: 7.207 MB / 0.5982 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03957/0.5896, allocations: 33.42 MB / 0.6308 GB, free: 9.684 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004954/0.5946, allocations: 2.441 MB / 0.6332 GB, free: 7.094 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001803/0.5965, allocations: 1.278 MB / 0.6344 GB, free: 5.805 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004208/0.5969, allocations: 331.7 kB / 0.6348 GB, free: 5.426 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/0.597, allocations: 51.12 kB / 0.6348 GB, free: 5.367 MB / 494.1 MB Notification: Performance of pre-optimization done (n=122): time 4.128e-06/0.597, allocations: 0 / 0.6348 GB, free: 5.367 MB / 494.1 MB Notification: Performance of matching and sorting (n=140): time 0.02774/0.6247, allocations: 11.45 MB / 0.646 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.6248, allocations: 192.6 kB / 0.6462 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004714/0.6296, allocations: 3.577 MB / 0.6497 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002551/0.6298, allocations: 45.7 kB / 0.6497 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002085/0.6319, allocations: 2.821 MB / 0.6525 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006007/0.6325, allocations: 0.5556 MB / 0.653 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001296/0.6339, allocations: 1.106 MB / 0.6541 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.381e-05/0.634, allocations: 305.1 kB / 0.6544 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002733/0.6367, allocations: 1.806 MB / 0.6561 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004974/0.6417, allocations: 5.19 MB / 0.6612 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008513/0.6502, allocations: 7.517 MB / 0.6686 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-05/0.6503, allocations: 32 kB / 0.6686 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=701) (initialization): time 0.0125/0.6628, allocations: 7.236 MB / 0.6756 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.182e-05/0.6629, allocations: 60.28 kB / 0.6757 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001315/0.6631, allocations: 120 kB / 0.6758 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001701/0.6648, allocations: 0.676 MB / 0.6765 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003935/0.6687, allocations: 1.24 MB / 0.6777 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005603/0.6744, allocations: 4.333 MB / 0.6819 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004065/0.6784, allocations: 295.6 kB / 0.6822 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005215/0.679, allocations: 344 kB / 0.6825 GB, free: 0.6992 MB / 0.5294 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.002962/0.6819, allocations: 1.943 MB / 0.6844 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005664/0.6825, allocations: 300.1 kB / 0.6847 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004131/0.6867, allocations: 2.256 MB / 0.6869 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.342e-05/0.6867, allocations: 20 kB / 0.6869 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.6867, allocations: 4 kB / 0.6869 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.931e-05/0.6867, allocations: 7.969 kB / 0.687 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01145/0.6982, allocations: 6.127 MB / 0.6929 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.6982, allocations: 0 / 0.6929 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.6993, allocations: 215.7 kB / 0.6931 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001465/0.7007, allocations: 0.5002 MB / 0.6936 GB, free: 5.234 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/0.7009, allocations: 27.98 kB / 0.6937 GB, free: 5.207 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004798/0.7057, allocations: 3.927 MB / 0.6975 GB, free: 1.141 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7057, allocations: 0 / 0.6975 GB, free: 1.141 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007007/0.7127, allocations: 4.394 MB / 0.7018 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.7138, allocations: 345.1 kB / 0.7021 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003105/0.7141, allocations: 27.98 kB / 0.7021 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.7152, allocations: 79.91 kB / 0.7022 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002878/0.7155, allocations: 96.45 kB / 0.7023 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.7156, allocations: 43.97 kB / 0.7023 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003226/0.7189, allocations: 2.233 MB / 0.7045 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7189, allocations: 192 / 0.7045 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004014/0.7229, allocations: 0.8438 MB / 0.7054 GB, free: 9.043 MB / 0.5606 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.000343/0.7233, allocations: 158.9 kB / 0.7055 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007064/0.7303, allocations: 4.299 MB / 0.7097 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.7304, allocations: 4 kB / 0.7097 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001908/0.7323, allocations: 1.244 MB / 0.7109 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/0.7345, allocations: 388.9 kB / 0.7113 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/0.7498, allocations: 7.934 MB / 0.719 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003316/0.7531, allocations: 3.034 MB / 0.722 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003644/0.7568, allocations: 1.714 MB / 0.7237 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005724/0.7574, allocations: 211.4 kB / 0.7239 GB, free: 6 MB / 0.5762 GB Notification: Performance of SimCode: time 1.072e-06/0.7574, allocations: 4 kB / 0.7239 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of Templates: time 0.3253/1.083, allocations: 26.79 MB / 0.75 GB, free: 169.4 MB / 0.5762 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/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_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches