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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001935/0.001936, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 226.8 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001096/0.001096, allocations: 118.2 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3796/0.3796, allocations: 44.84 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001134, allocations: 59.91 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3194, allocations: 62.02 MB / 0.5152 GB, free: 37.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.05898/0.3784, allocations: 72.36 MB / 0.5858 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03733/0.4158, allocations: 14.43 MB / 0.5999 GB, free: 2.543 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01759/0.4334, allocations: 319.2 kB / 0.6002 GB, free: 2.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007119/0.4406, allocations: 3.717 MB / 0.6038 GB, free: 14.5 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00678/0.4474, allocations: 2.102 MB / 0.6059 GB, free: 12.39 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002691/0.4501, allocations: 0.9283 MB / 0.6068 GB, free: 11.46 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0126/0.4628, allocations: 8.883 MB / 0.6155 GB, free: 2.566 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007853/0.4707, allocations: 4.535 MB / 0.6199 GB, free: 13.96 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004786/0.4755, allocations: 1.779 MB / 0.6216 GB, free: 12.18 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005433/0.481, allocations: 2.858 MB / 0.6244 GB, free: 9.309 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001592/0.4826, allocations: 292 kB / 0.6247 GB, free: 9.023 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00388/0.4865, allocations: 1.408 MB / 0.6261 GB, free: 7.613 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003607/0.4901, allocations: 2.412 MB / 0.6284 GB, free: 5.195 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004878/0.495, allocations: 2.675 MB / 0.631 GB, free: 2.504 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.5063, allocations: 8.512 MB / 0.6394 GB, free: 9.961 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.5063, allocations: 0 / 0.6394 GB, free: 9.961 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5063, allocations: 0 / 0.6394 GB, free: 9.961 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.00041/0.5067, allocations: 0 / 0.6394 GB, free: 9.961 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01974/0.5265, allocations: 6.149 MB / 0.6454 GB, free: 3.738 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.5266, allocations: 12.03 kB / 0.6454 GB, free: 3.727 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01303/0.5396, allocations: 2.591 MB / 0.6479 GB, free: 1.125 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01076/0.5504, allocations: 3.711 MB / 0.6515 GB, free: 13.36 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003179/0.5508, allocations: 287.6 kB / 0.6518 GB, free: 13.08 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002066/0.5529, allocations: 379.7 kB / 0.6522 GB, free: 12.71 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02166/0.5745, allocations: 11.98 MB / 0.6639 GB, free: 15.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001284/0.5747, allocations: 63.42 kB / 0.6639 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000414/0.5751, allocations: 175.8 kB / 0.6641 GB, free: 15.64 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003571/0.5787, allocations: 2.272 MB / 0.6663 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01917/0.5979, allocations: 9.927 MB / 0.676 GB, free: 3.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3207/0.9187, allocations: 46.68 MB / 0.7216 GB, free: 97.15 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01553/0.9343, allocations: 3.921 MB / 0.7254 GB, free: 95.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004659/0.939, allocations: 2.176 MB / 0.7275 GB, free: 94.74 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01771/0.9567, allocations: 6.525 MB / 0.7339 GB, free: 91.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.31e-05/0.9568, allocations: 53.2 kB / 0.734 GB, free: 91.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=154): time 5.36e-06/0.9569, allocations: 0 / 0.734 GB, free: 91.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=166): time 0.04678/1.004, allocations: 16.59 MB / 0.7502 GB, free: 83.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/1.004, allocations: 201.9 kB / 0.7504 GB, free: 83.22 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006943/1.011, allocations: 5.661 MB / 0.7559 GB, free: 77.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003844/1.011, allocations: 53.14 kB / 0.7559 GB, free: 77.79 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00189/1.013, allocations: 3.776 MB / 0.7596 GB, free: 74.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008124/1.014, allocations: 0.6812 MB / 0.7603 GB, free: 73.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001601/1.015, allocations: 1.43 MB / 0.7617 GB, free: 71.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.565e-05/1.016, allocations: 301.1 kB / 0.762 GB, free: 71.61 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002544/1.018, allocations: 2.317 MB / 0.7642 GB, free: 69.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00407/1.022, allocations: 6.635 MB / 0.7707 GB, free: 60.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007599/1.03, allocations: 9.623 MB / 0.7801 GB, free: 48.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.692e-05/1.03, allocations: 44 kB / 0.7802 GB, free: 48.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=908) (initialization): time 0.01396/1.044, allocations: 9.67 MB / 0.7896 GB, free: 39.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.913e-05/1.044, allocations: 73 kB / 0.7897 GB, free: 38.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001025/1.044, allocations: 152 kB / 0.7898 GB, free: 38.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002686/1.047, allocations: 1.213 MB / 0.791 GB, free: 37.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004272/1.051, allocations: 1.583 MB / 0.7925 GB, free: 36.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007546/1.059, allocations: 7.757 MB / 0.8001 GB, free: 28.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005335/1.064, allocations: 367.3 kB / 0.8005 GB, free: 27.65 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000814/1.065, allocations: 428 kB / 0.8009 GB, free: 27.23 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.arrowLine.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 (848): * Single equations (assignments): 841 * 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.003393/1.068, allocations: 2.511 MB / 0.8033 GB, free: 24.71 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007795/1.069, allocations: 469.9 kB / 0.8038 GB, free: 24.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005688/1.075, allocations: 3.433 MB / 0.8071 GB, free: 20.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.109e-05/1.075, allocations: 19.12 kB / 0.8072 GB, free: 20.79 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.046e-05/1.075, allocations: 8 kB / 0.8072 GB, free: 20.78 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/1.075, allocations: 7.969 kB / 0.8072 GB, free: 20.77 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01768/1.092, allocations: 8.301 MB / 0.8153 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/1.093, allocations: 0 / 0.8153 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001373/1.094, allocations: 303.8 kB / 0.8156 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002623/1.097, allocations: 0.9879 MB / 0.8165 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002147/1.097, allocations: 31.98 kB / 0.8166 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006974/1.104, allocations: 7.094 MB / 0.8235 GB, free: 3.695 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.104, allocations: 3.938 kB / 0.8235 GB, free: 3.691 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06699/1.171, allocations: 34.15 MB / 0.8568 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00194/1.173, allocations: 0.5262 MB / 0.8574 GB, free: 472 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001436/1.174, allocations: 28 kB / 0.8574 GB, free: 444 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002711/1.177, allocations: 91.88 kB / 0.8575 GB, free: 352 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006086/1.178, allocations: 100.8 kB / 0.8576 GB, free: 252 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002626/1.178, allocations: 40 kB / 0.8576 GB, free: 212 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009909/1.188, allocations: 3.628 MB / 0.8611 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.51e-07/1.188, allocations: 0 / 0.8611 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0108/1.199, allocations: 1.592 MB / 0.8627 GB, free: 11.01 MB / 0.5261 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.000838/1.2, allocations: 162.5 kB / 0.8629 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01031/1.21, allocations: 5.587 MB / 0.8683 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/1.21, allocations: 192 / 0.8683 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002559/1.213, allocations: 1.633 MB / 0.8699 GB, free: 3.625 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005731/1.218, allocations: 0.5839 MB / 0.8705 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02961/1.248, allocations: 14.83 MB / 0.885 GB, free: 4.094 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008737/1.257, allocations: 3.913 MB / 0.8888 GB, free: 148 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.2782/1.535, allocations: 2.146 MB / 0.8909 GB, free: 171.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/1.536, allocations: 300.7 kB / 0.8912 GB, free: 171.5 MB / 0.5417 GB Notification: Performance of SimCode: time 6.71e-07/1.536, allocations: 0 / 0.8912 GB, free: 171.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.1056/1.642, allocations: 52.11 MB / 0.9421 GB, free: 152.4 MB / 0.5417 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches