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.001299/0.001299, 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.001391/0.001391, 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.376/1.376, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2288/0.2288, allocations: 46.11 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 78.72 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.116, allocations: 62.44 MB / 481.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01584/0.1319, allocations: 12.64 MB / 494.1 MB, free: 7.855 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009799/0.1417, allocations: 4.504 MB / 498.6 MB, free: 3.336 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/0.1439, allocations: 87.75 kB / 498.7 MB, free: 3.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006584/0.1505, allocations: 3.707 MB / 0.4906 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005681/0.1563, allocations: 2.175 MB / 0.4927 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.1587, allocations: 0.9942 MB / 0.4937 GB, free: 12.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008551/0.1673, allocations: 6.035 MB / 0.4996 GB, free: 6.305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007288/0.1746, allocations: 4.542 MB / 0.504 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.248/0.4226, allocations: 1.95 MB / 0.5059 GB, free: 16.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0055/0.4282, allocations: 2.605 MB / 0.5085 GB, free: 16.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002274/0.4305, allocations: 406.9 kB / 0.5089 GB, free: 16.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004433/0.4349, allocations: 1.438 MB / 0.5103 GB, free: 16.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00436/0.4393, allocations: 2.422 MB / 0.5126 GB, free: 16.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006666/0.446, allocations: 2.697 MB / 0.5153 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01266/0.4587, allocations: 8.613 MB / 0.5237 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.4587, allocations: 2 kB / 0.5237 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.4587, allocations: 0 / 0.5237 GB, free: 14.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003206/0.4591, allocations: 0.9375 kB / 0.5237 GB, free: 14.12 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.01601/0.4751, allocations: 6.001 MB / 0.5296 GB, free: 10.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.4751, allocations: 10.41 kB / 0.5296 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01057/0.4857, allocations: 2.541 MB / 0.532 GB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009143/0.4949, allocations: 3.731 MB / 0.5357 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/0.4951, allocations: 278.3 kB / 0.536 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001044/0.4961, allocations: 372.9 kB / 0.5363 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01608/0.5122, allocations: 11.61 MB / 0.5476 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001241/0.5124, allocations: 55.62 kB / 0.5477 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004403/0.5128, allocations: 178.5 kB / 0.5479 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003298/0.5161, allocations: 2.147 MB / 0.55 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01863/0.5348, allocations: 9.616 MB / 0.5594 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05601/0.5908, allocations: 45.64 MB / 0.6039 GB, free: 5.379 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009638/0.6005, allocations: 3.924 MB / 0.6078 GB, free: 1.312 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002629/0.6031, allocations: 2.162 MB / 0.6099 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01103/0.6142, allocations: 6.51 MB / 0.6162 GB, free: 8.574 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.141e-05/0.6143, allocations: 47.22 kB / 0.6163 GB, free: 8.523 MB / 462.1 MB Notification: Performance of pre-optimization done (n=154): time 5.2e-06/0.6143, allocations: 0 / 0.6163 GB, free: 8.523 MB / 462.1 MB Notification: Performance of matching and sorting (n=166): time 0.04259/0.6569, allocations: 16.46 MB / 0.6323 GB, free: 7.973 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.657, allocations: 210.7 kB / 0.6326 GB, free: 7.727 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008265/0.6653, allocations: 5.595 MB / 0.638 GB, free: 2.148 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000387/0.6657, allocations: 52.19 kB / 0.6381 GB, free: 2.094 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002506/0.6682, allocations: 3.704 MB / 0.6417 GB, free: 14.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007827/0.669, allocations: 0.669 MB / 0.6423 GB, free: 13.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001802/0.6708, allocations: 1.414 MB / 0.6437 GB, free: 12.31 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.089e-05/0.6709, allocations: 301.1 kB / 0.644 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003194/0.6741, allocations: 2.309 MB / 0.6463 GB, free: 9.699 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005823/0.68, allocations: 6.578 MB / 0.6527 GB, free: 1.078 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0102/0.6902, allocations: 9.564 MB / 0.662 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.961e-05/0.6903, allocations: 43.66 kB / 0.6621 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.01646/0.7068, allocations: 9.624 MB / 0.6715 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.7069, allocations: 72 kB / 0.6715 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000158/0.7071, allocations: 148 kB / 0.6717 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00301/0.7101, allocations: 1.216 MB / 0.6729 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004601/0.7147, allocations: 1.571 MB / 0.6744 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009859/0.7246, allocations: 8.33 MB / 0.6825 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005261/0.7298, allocations: 359.4 kB / 0.6829 GB, free: 288 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/0.7309, allocations: 425.3 kB / 0.6833 GB, free: 15.86 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.004836/0.7357, allocations: 2.469 MB / 0.6857 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009522/0.7367, allocations: 454.1 kB / 0.6861 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00689/0.7436, allocations: 3.425 MB / 0.6895 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.242e-05/0.7436, allocations: 20 kB / 0.6895 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.648e-05/0.7437, allocations: 7.938 kB / 0.6895 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-05/0.7437, allocations: 8.625 kB / 0.6895 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01912/0.7628, allocations: 8.169 MB / 0.6975 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.697e-05/0.7629, allocations: 8.062 kB / 0.6975 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001469/0.7643, allocations: 295.5 kB / 0.6978 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002779/0.7671, allocations: 0.9847 MB / 0.6987 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001924/0.7673, allocations: 32 kB / 0.6988 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009159/0.7765, allocations: 7.685 MB / 0.7063 GB, free: 7.953 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/0.7765, allocations: 8.953 kB / 0.7063 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0107/0.7872, allocations: 5.874 MB / 0.712 GB, free: 2.016 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001757/0.789, allocations: 0.5224 MB / 0.7125 GB, free: 1.469 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001277/0.7903, allocations: 28 kB / 0.7125 GB, free: 1.441 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002346/0.7927, allocations: 91.88 kB / 0.7126 GB, free: 1.352 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000328/0.793, allocations: 104.8 kB / 0.7127 GB, free: 1.246 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/0.7932, allocations: 40 kB / 0.7128 GB, free: 1.207 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.2274/1.021, allocations: 3.58 MB / 0.7163 GB, free: 189.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.41e-07/1.021, allocations: 1.094 kB / 0.7163 GB, free: 189.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00739/1.028, allocations: 1.156 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.0005112/1.029, allocations: 159.8 kB / 0.7175 GB, free: 189.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0105/1.039, allocations: 5.589 MB / 0.723 GB, free: 188.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.039, allocations: 3.969 kB / 0.723 GB, free: 188.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002279/1.041, allocations: 1.621 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.003889/1.045, allocations: 0.6006 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.01895/1.064, 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.003943/1.068, allocations: 3.758 MB / 0.7393 GB, free: 181.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004202/1.072, allocations: 2.131 MB / 0.7414 GB, free: 181.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007189/1.073, allocations: 293.6 kB / 0.7417 GB, free: 181.6 MB / 0.545 GB Notification: Performance of SimCode: time 8.32e-07/1.073, allocations: 0 / 0.7417 GB, free: 181.6 MB / 0.545 GB Notification: Performance of Templates: time 0.06484/1.138, allocations: 39.1 MB / 0.7799 GB, free: 148 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 gbode -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