Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00107/0.00107, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001207/0.001208, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.233/0.233, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 70.73 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1276, allocations: 62.44 MB / 481.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01255/0.1402, allocations: 12.65 MB / 494.1 MB, free: 7.844 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009832/0.1501, allocations: 4.5 MB / 498.6 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002505/0.1526, allocations: 83.75 kB / 498.7 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006463/0.1591, allocations: 3.711 MB / 0.4906 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005384/0.1646, allocations: 2.178 MB / 0.4927 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.1665, allocations: 0.9942 MB / 0.4937 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007737/0.1743, allocations: 6.039 MB / 0.4996 GB, free: 6.293 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004705/0.179, allocations: 4.55 MB / 0.504 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2557/0.4347, allocations: 1.945 MB / 0.5059 GB, free: 16.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005912/0.4406, allocations: 2.612 MB / 0.5085 GB, free: 16.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002444/0.4431, allocations: 407.3 kB / 0.5089 GB, free: 16.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004418/0.4476, allocations: 1.433 MB / 0.5103 GB, free: 16.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00429/0.4519, allocations: 2.421 MB / 0.5126 GB, free: 16.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005455/0.4573, allocations: 2.7 MB / 0.5153 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01346/0.4708, allocations: 8.614 MB / 0.5237 GB, free: 14.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.4709, allocations: 0 / 0.5237 GB, free: 14.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.4709, allocations: 0 / 0.5237 GB, free: 14.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003595/0.4713, allocations: 1.375 kB / 0.5237 GB, free: 14.02 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.02057/0.4918, allocations: 5.996 MB / 0.5296 GB, free: 10.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.4919, allocations: 9.812 kB / 0.5296 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01205/0.504, allocations: 2.539 MB / 0.532 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009482/0.5135, allocations: 3.739 MB / 0.5357 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002068/0.5137, allocations: 279.8 kB / 0.536 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002283/0.516, allocations: 373.5 kB / 0.5363 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02125/0.5373, allocations: 11.6 MB / 0.5476 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003487/0.5377, allocations: 54.02 kB / 0.5477 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001526/0.5392, allocations: 187 kB / 0.5479 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003884/0.5431, allocations: 2.136 MB / 0.55 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02174/0.5649, allocations: 9.615 MB / 0.5594 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06626/0.6312, allocations: 45.64 MB / 0.6039 GB, free: 5.371 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01001/0.6412, allocations: 3.919 MB / 0.6078 GB, free: 1.312 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003041/0.6443, allocations: 2.162 MB / 0.6099 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01316/0.6575, allocations: 6.521 MB / 0.6162 GB, free: 8.562 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.6576, allocations: 43.56 kB / 0.6163 GB, free: 8.512 MB / 462.1 MB Notification: Performance of pre-optimization done (n=154): time 4.549e-06/0.6576, allocations: 0 / 0.6163 GB, free: 8.512 MB / 462.1 MB Notification: Performance of matching and sorting (n=166): time 0.04415/0.7018, allocations: 16.46 MB / 0.6324 GB, free: 7.957 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.7019, allocations: 203.6 kB / 0.6325 GB, free: 7.719 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009482/0.7114, allocations: 5.603 MB / 0.638 GB, free: 2.133 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006772/0.7121, allocations: 45.7 kB / 0.6381 GB, free: 2.082 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00312/0.7153, allocations: 3.708 MB / 0.6417 GB, free: 14.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001148/0.7164, allocations: 0.6605 MB / 0.6423 GB, free: 13.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002128/0.7186, allocations: 1.419 MB / 0.6437 GB, free: 12.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.7187, allocations: 301.1 kB / 0.644 GB, free: 12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003384/0.7221, allocations: 2.313 MB / 0.6463 GB, free: 9.688 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006908/0.729, allocations: 6.58 MB / 0.6527 GB, free: 1.066 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01269/0.7417, allocations: 9.561 MB / 0.662 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001614/0.7419, allocations: 40 kB / 0.6621 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.01946/0.7614, allocations: 9.619 MB / 0.6715 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001445/0.7616, allocations: 72 kB / 0.6715 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000159/0.7617, allocations: 152.5 kB / 0.6717 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003007/0.7647, allocations: 1.215 MB / 0.6729 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005015/0.7698, allocations: 1.571 MB / 0.6744 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009644/0.7794, allocations: 8.334 MB / 0.6825 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005551/0.785, allocations: 359.4 kB / 0.6829 GB, free: 300 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008945/0.7859, allocations: 424.1 kB / 0.6833 GB, free: 15.88 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (842): * Single equations (assignments): 835 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00418/0.7901, allocations: 2.469 MB / 0.6857 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008203/0.7909, allocations: 450.1 kB / 0.6861 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005901/0.7968, allocations: 3.432 MB / 0.6895 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/0.7969, allocations: 16 kB / 0.6895 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.7969, allocations: 11.94 kB / 0.6895 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.7969, allocations: 7.969 kB / 0.6895 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01435/0.8113, allocations: 8.166 MB / 0.6975 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.8113, allocations: 4 kB / 0.6975 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/0.8127, allocations: 295.5 kB / 0.6978 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0026/0.8153, allocations: 0.9848 MB / 0.6987 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/0.8154, allocations: 32 kB / 0.6988 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008635/0.8241, allocations: 7.695 MB / 0.7063 GB, free: 7.961 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.8241, allocations: 3.938 kB / 0.7063 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008631/0.8327, allocations: 5.869 MB / 0.712 GB, free: 2.027 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001677/0.8344, allocations: 0.5185 MB / 0.7125 GB, free: 1.484 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005624/0.835, allocations: 31.98 kB / 0.7125 GB, free: 1.453 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/0.8365, allocations: 91.8 kB / 0.7126 GB, free: 1.367 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002753/0.8368, allocations: 104.7 kB / 0.7127 GB, free: 1.262 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/0.8369, allocations: 44 kB / 0.7128 GB, free: 1.219 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.2554/1.092, allocations: 3.579 MB / 0.7163 GB, free: 189.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.012e-06/1.092, allocations: 1.156 kB / 0.7163 GB, free: 189.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00834/1.101, allocations: 1.153 MB / 0.7174 GB, free: 189.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (126): * Single equations (assignments): 121 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007972/1.102, allocations: 159.4 kB / 0.7175 GB, free: 189.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01096/1.113, allocations: 5.591 MB / 0.723 GB, free: 188.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/1.113, allocations: 0.9375 kB / 0.723 GB, free: 188.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002338/1.115, allocations: 1.622 MB / 0.7246 GB, free: 187.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003843/1.119, allocations: 0.5987 MB / 0.7252 GB, free: 187.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01799/1.137, allocations: 10.74 MB / 0.7357 GB, free: 183.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003809/1.141, allocations: 3.764 MB / 0.7393 GB, free: 181.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004201/1.145, allocations: 2.127 MB / 0.7414 GB, free: 181.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008105/1.146, allocations: 300.3 kB / 0.7417 GB, free: 181.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.643e-06/1.146, allocations: 0 / 0.7417 GB, free: 181.6 MB / 0.545 GB Notification: Performance of Templates: time 0.07041/1.216, allocations: 39.1 MB / 0.7799 GB, free: 148.1 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches