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.001094/0.001094, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001246/0.001246, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2331/0.2331, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001497, allocations: 71.88 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3959, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01091/0.4068, allocations: 9.498 MB / 0.5403 GB, free: 6.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00818/0.415, allocations: 3.828 MB / 0.544 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001949/0.417, allocations: 54.22 kB / 0.5441 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005047/0.4221, allocations: 2.759 MB / 0.5468 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004433/0.4266, allocations: 1.646 MB / 0.5484 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.4282, allocations: 0.7173 MB / 0.5491 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004859/0.433, allocations: 3.894 MB / 0.5529 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003737/0.4368, allocations: 3.669 MB / 0.5564 GB, free: 7.539 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001955/0.4388, allocations: 1.41 MB / 0.5578 GB, free: 6.125 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002568/0.4414, allocations: 1.9 MB / 0.5597 GB, free: 4.219 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006488/0.442, allocations: 316 kB / 0.56 GB, free: 3.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.4441, allocations: 1.186 MB / 0.5611 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001616/0.4457, allocations: 1.757 MB / 0.5629 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002401/0.4481, allocations: 2.008 MB / 0.5648 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007609/0.4558, allocations: 6.673 MB / 0.5713 GB, free: 8.246 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.4558, allocations: 3.984 kB / 0.5713 GB, free: 8.242 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4558, allocations: 0 / 0.5713 GB, free: 8.242 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001228/0.4559, allocations: 0 / 0.5713 GB, free: 8.242 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.008279/0.4642, allocations: 4.34 MB / 0.5756 GB, free: 3.836 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.4643, allocations: 12.03 kB / 0.5756 GB, free: 3.824 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0155/0.4798, allocations: 2.437 MB / 0.578 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005763/0.4856, allocations: 2.457 MB / 0.5804 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002253/0.4858, allocations: 222 kB / 0.5806 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006985/0.4866, allocations: 299.8 kB / 0.5809 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01501/0.5016, allocations: 8.72 MB / 0.5894 GB, free: 4.988 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001169/0.5017, allocations: 43.64 kB / 0.5894 GB, free: 4.945 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000446/0.5022, allocations: 143.8 kB / 0.5896 GB, free: 4.805 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002699/0.5049, allocations: 1.657 MB / 0.5912 GB, free: 3.145 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01502/0.5199, allocations: 7.211 MB / 0.5982 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03844/0.5584, allocations: 33.41 MB / 0.6308 GB, free: 9.516 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004674/0.5631, allocations: 2.445 MB / 0.6332 GB, free: 6.922 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001724/0.5649, allocations: 1.285 MB / 0.6345 GB, free: 5.633 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003603/0.5653, allocations: 327.7 kB / 0.6348 GB, free: 5.258 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.5653, allocations: 51.06 kB / 0.6348 GB, free: 5.199 MB / 494.1 MB Notification: Performance of pre-optimization done (n=122): time 4.087e-06/0.5653, allocations: 0 / 0.6348 GB, free: 5.199 MB / 494.1 MB Notification: Performance of matching and sorting (n=140): time 0.02767/0.593, allocations: 11.45 MB / 0.646 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.5932, allocations: 204.5 kB / 0.6462 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005029/0.5982, allocations: 3.577 MB / 0.6497 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002571/0.5985, allocations: 45.64 kB / 0.6498 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002432/0.6009, allocations: 2.821 MB / 0.6525 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008143/0.6017, allocations: 0.5517 MB / 0.6531 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00146/0.6032, allocations: 1.099 MB / 0.6541 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.6033, allocations: 309 kB / 0.6544 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002841/0.6062, allocations: 1.806 MB / 0.6562 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005313/0.6115, allocations: 5.186 MB / 0.6612 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009528/0.6211, allocations: 7.521 MB / 0.6686 GB, free: 15 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.153e-05/0.6212, allocations: 32 kB / 0.6686 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=701) (initialization): time 0.01625/0.6375, allocations: 7.237 MB / 0.6757 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.873e-05/0.6376, allocations: 56 kB / 0.6757 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001482/0.6378, allocations: 120 kB / 0.6759 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/0.6395, allocations: 0.6763 MB / 0.6765 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004024/0.6436, allocations: 1.232 MB / 0.6777 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00554/0.6491, allocations: 4.343 MB / 0.682 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004488/0.6537, allocations: 295.7 kB / 0.6822 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001171/0.6549, allocations: 336 kB / 0.6826 GB, free: 0.5312 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.004305/0.6592, allocations: 1.959 MB / 0.6845 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008615/0.6601, allocations: 300.1 kB / 0.6848 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004837/0.6649, allocations: 2.252 MB / 0.687 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.876e-05/0.665, allocations: 16.38 kB / 0.687 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.682e-05/0.665, allocations: 4 kB / 0.687 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-05/0.6651, allocations: 7.922 kB / 0.687 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/0.6791, allocations: 6.123 MB / 0.693 GB, free: 5.777 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/0.6791, allocations: 3.938 kB / 0.693 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.6802, allocations: 215.7 kB / 0.6932 GB, free: 5.562 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00144/0.6817, allocations: 0.5041 MB / 0.6937 GB, free: 5.055 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/0.6818, allocations: 23.98 kB / 0.6937 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004916/0.6867, allocations: 3.919 MB / 0.6975 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.6868, allocations: 7.922 kB / 0.6975 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007078/0.6939, allocations: 4.398 MB / 0.7018 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/0.6949, allocations: 357.2 kB / 0.7022 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003539/0.6953, allocations: 20 kB / 0.7022 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.6964, allocations: 75.91 kB / 0.7023 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003264/0.6967, allocations: 100.4 kB / 0.7024 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.6968, allocations: 39.98 kB / 0.7024 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003264/0.7001, allocations: 2.229 MB / 0.7046 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7001, allocations: 4 kB / 0.7046 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004549/0.7047, allocations: 0.8476 MB / 0.7054 GB, free: 8.863 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.0004829/0.7052, allocations: 147 kB / 0.7055 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007499/0.7127, allocations: 4.301 MB / 0.7097 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.7127, allocations: 0 / 0.7097 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001901/0.7146, allocations: 1.24 MB / 0.711 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/0.7168, allocations: 398.2 kB / 0.7113 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01455/0.7314, allocations: 7.933 MB / 0.7191 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003477/0.7349, allocations: 3.034 MB / 0.722 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003718/0.7387, allocations: 1.706 MB / 0.7237 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006253/0.7393, allocations: 219.4 kB / 0.7239 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of SimCode: time 6.91e-07/0.7393, allocations: 0 / 0.7239 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of Templates: time 0.3247/1.064, allocations: 27.07 MB / 0.7504 GB, free: 169.2 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