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.001192/0.001192, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001188/0.001188, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.4 MB / 247.6 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.2139/0.2139, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 79.88 kB / 482 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3594, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01389/0.3733, allocations: 12.65 MB / 0.544 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00989/0.3833, allocations: 4.496 MB / 0.5484 GB, free: 172 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002419/0.3857, allocations: 84.62 kB / 0.5485 GB, free: 156 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006751/0.3925, allocations: 3.704 MB / 0.5521 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006239/0.3988, allocations: 2.19 MB / 0.5542 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002775/0.4016, allocations: 0.9942 MB / 0.5552 GB, free: 9.543 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008879/0.4105, allocations: 6.031 MB / 0.5611 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00642/0.417, allocations: 4.555 MB / 0.5655 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003722/0.4208, allocations: 1.947 MB / 0.5675 GB, free: 12.92 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004399/0.4252, allocations: 2.613 MB / 0.57 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00139/0.4266, allocations: 412 kB / 0.5704 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003447/0.4301, allocations: 1.439 MB / 0.5718 GB, free: 8.457 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003111/0.4332, allocations: 2.435 MB / 0.5742 GB, free: 6.016 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004603/0.4378, allocations: 2.707 MB / 0.5768 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.4487, allocations: 8.6 MB / 0.5852 GB, free: 10.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4488, allocations: 0 / 0.5852 GB, free: 10.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4488, allocations: 0 / 0.5852 GB, free: 10.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003063/0.4491, allocations: 0 / 0.5852 GB, free: 10.66 MB / 446.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.01484/0.464, allocations: 6.004 MB / 0.5911 GB, free: 4.586 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.464, allocations: 8.031 kB / 0.5911 GB, free: 4.578 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01208/0.4761, allocations: 2.536 MB / 0.5936 GB, free: 2.031 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008313/0.4845, allocations: 3.75 MB / 0.5972 GB, free: 14.22 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002886/0.4848, allocations: 279.5 kB / 0.5975 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001459/0.4863, allocations: 379.7 kB / 0.5979 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02228/0.5085, allocations: 11.59 MB / 0.6092 GB, free: 1.129 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002724/0.5089, allocations: 59.42 kB / 0.6092 GB, free: 1.07 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001202/0.5101, allocations: 179.8 kB / 0.6094 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003805/0.5139, allocations: 2.143 MB / 0.6115 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0202/0.5341, allocations: 9.613 MB / 0.6209 GB, free: 5.121 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05804/0.5922, allocations: 45.63 MB / 0.6654 GB, free: 6.215 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01095/0.6033, allocations: 3.929 MB / 0.6693 GB, free: 2.141 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003144/0.6065, allocations: 2.158 MB / 0.6714 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01186/0.6184, allocations: 6.515 MB / 0.6778 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.656e-05/0.6185, allocations: 59.5 kB / 0.6778 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 4.889e-06/0.6185, allocations: 0 / 0.6778 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.05099/0.6695, allocations: 16.47 MB / 0.6939 GB, free: 8.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.6697, allocations: 196.9 kB / 0.6941 GB, free: 8.445 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01117/0.6809, allocations: 5.603 MB / 0.6996 GB, free: 2.859 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000392/0.6813, allocations: 45.7 kB / 0.6996 GB, free: 2.809 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003355/0.6847, allocations: 3.705 MB / 0.7032 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001007/0.6857, allocations: 0.6598 MB / 0.7039 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003515/0.6892, allocations: 1.419 MB / 0.7052 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.6894, allocations: 309.1 kB / 0.7055 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004025/0.6934, allocations: 2.309 MB / 0.7078 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007324/0.7008, allocations: 6.571 MB / 0.7142 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2932/0.994, allocations: 9.56 MB / 0.7236 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001318/0.9942, allocations: 46.28 kB / 0.7236 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.01729/1.012, allocations: 9.613 MB / 0.733 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.169e-05/1.012, allocations: 73.41 kB / 0.7331 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001617/1.012, allocations: 151.8 kB / 0.7332 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002776/1.015, allocations: 1.215 MB / 0.7344 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004631/1.019, allocations: 1.574 MB / 0.7359 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008511/1.028, allocations: 8.324 MB / 0.7441 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005027/1.033, allocations: 363.3 kB / 0.7444 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00082/1.034, allocations: 427.9 kB / 0.7448 GB, free: 142.1 MB / 0.5606 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.003308/1.037, allocations: 2.464 MB / 0.7472 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007593/1.038, allocations: 456.4 kB / 0.7476 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00546/1.043, allocations: 3.428 MB / 0.751 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.091e-05/1.043, allocations: 16 kB / 0.751 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/1.043, allocations: 8 kB / 0.751 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/1.043, allocations: 7.969 kB / 0.751 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/1.056, allocations: 8.171 MB / 0.759 GB, free: 129 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.64e-05/1.057, allocations: 4.281 kB / 0.759 GB, free: 129 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/1.058, allocations: 299.9 kB / 0.7593 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002655/1.061, allocations: 0.9831 MB / 0.7603 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002739/1.061, allocations: 32 kB / 0.7603 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007338/1.068, allocations: 7.688 MB / 0.7678 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.068, allocations: 4 kB / 0.7678 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00733/1.076, allocations: 5.875 MB / 0.7735 GB, free: 114 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/1.077, allocations: 0.5186 MB / 0.774 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006597/1.078, allocations: 24 kB / 0.7741 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/1.079, allocations: 99.81 kB / 0.7742 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002772/1.08, allocations: 98.78 kB / 0.7743 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/1.08, allocations: 47.98 kB / 0.7743 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004744/1.084, allocations: 3.58 MB / 0.7778 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.91e-07/1.084, allocations: 0 / 0.7778 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005737/1.09, allocations: 1.151 MB / 0.7789 GB, free: 108.5 MB / 0.5606 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.0004304/1.091, allocations: 167.2 kB / 0.7791 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007035/1.098, allocations: 5.586 MB / 0.7845 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.098, allocations: 0.5625 kB / 0.7845 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001703/1.099, allocations: 1.612 MB / 0.7861 GB, free: 101.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003383/1.103, allocations: 0.6126 MB / 0.7867 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01614/1.119, allocations: 11.22 MB / 0.7977 GB, free: 89.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003344/1.122, allocations: 3.741 MB / 0.8013 GB, free: 85.46 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/1.124, allocations: 343.4 kB / 0.8016 GB, free: 85.12 MB / 0.5606 GB Notification: Performance of SimCode: time 1.002e-06/1.124, allocations: 0 / 0.8016 GB, free: 85.12 MB / 0.5606 GB Notification: Performance of Templates: time 0.1413/1.265, allocations: 112.5 MB / 0.9115 GB, free: 4.629 MB / 0.5919 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 -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