Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 82.5 kB / 20.68 MB, free: 1.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 162.4 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 177.2 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2039/0.2039, allocations: 32.81 MB / 293.5 MB, free: 52 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 440.1 MB, free: 8.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.962e-05/3.082e-05, allocations: 2.281 kB / 440.1 MB, free: 8.164 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.2265/0.2265, allocations: 11.08 MB / 451.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.2369, allocations: 4.288 MB / 455.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003418/0.2404, allocations: 101.5 kB / 455.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008642/0.249, allocations: 3.803 MB / 459.4 MB, free: 12.06 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00888/0.2579, allocations: 2.317 MB / 461.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003806/0.2617, allocations: 1.1 MB / 462.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01079/0.2725, allocations: 6.787 MB / 469.6 MB, free: 7.707 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00763/0.2801, allocations: 4.016 MB / 473.6 MB, free: 5.004 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006611/0.2867, allocations: 2.988 MB / 476.6 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004906/0.2916, allocations: 2.877 MB / 479.5 MB, free: 1.531 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001553/0.2932, allocations: 417.6 kB / 479.9 MB, free: 1.531 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003875/0.297, allocations: 1.394 MB / 481.3 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003603/0.3006, allocations: 2.61 MB / 483.9 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00424/0.3049, allocations: 1.581 MB / 485.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01505/0.3199, allocations: 8.731 MB / 494.2 MB, free: 3.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.3199, allocations: 8 kB / 494.2 MB, free: 3.918 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3199, allocations: 0 / 494.2 MB, free: 3.918 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003015/0.3203, allocations: 0 / 494.2 MB, free: 3.918 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.01746/0.3377, allocations: 6.135 MB / 0.4886 GB, free: 13.72 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.3378, allocations: 8.031 kB / 0.4886 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01298/0.3507, allocations: 2.661 MB / 0.4912 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01068/0.3614, allocations: 3.657 MB / 0.4948 GB, free: 7.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003072/0.3617, allocations: 283.4 kB / 0.4951 GB, free: 7.062 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001631/0.3634, allocations: 380.1 kB / 0.4954 GB, free: 6.691 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02417/0.3875, allocations: 11.66 MB / 0.5068 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002576/0.3878, allocations: 55.56 kB / 0.5069 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001341/0.3891, allocations: 179.8 kB / 0.507 GB, free: 9.934 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004171/0.3933, allocations: 2.147 MB / 0.5091 GB, free: 7.777 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02198/0.4153, allocations: 9.601 MB / 0.5185 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06271/0.478, allocations: 43.13 MB / 0.5606 GB, free: 1.793 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01082/0.4888, allocations: 3.501 MB / 0.564 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003262/0.4921, allocations: 2.014 MB / 0.566 GB, free: 12.22 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01236/0.5044, allocations: 5.955 MB / 0.5718 GB, free: 6.23 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.029e-05/0.5045, allocations: 55.5 kB / 0.5719 GB, free: 6.168 MB / 478.1 MB Notification: Performance of pre-optimization done (n=154): time 5.501e-06/0.5045, allocations: 0 / 0.5719 GB, free: 6.168 MB / 478.1 MB Notification: Performance of matching and sorting (n=166): time 0.0523/0.5568, allocations: 17.22 MB / 0.5887 GB, free: 4.898 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.5569, allocations: 200.9 kB / 0.5889 GB, free: 4.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00919/0.5661, allocations: 4.97 MB / 0.5937 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004932/0.5666, allocations: 49.7 kB / 0.5938 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003237/0.5699, allocations: 3.832 MB / 0.5975 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001159/0.571, allocations: 0.6941 MB / 0.5982 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003089/0.5741, allocations: 1.405 MB / 0.5996 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.5742, allocations: 305.1 kB / 0.5999 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003969/0.5782, allocations: 2.313 MB / 0.6021 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007775/0.586, allocations: 6.629 MB / 0.6086 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01342/0.5994, allocations: 9.558 MB / 0.6179 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001914/0.5996, allocations: 44 kB / 0.618 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.01928/0.6189, allocations: 9.568 MB / 0.6273 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001636/0.619, allocations: 75.94 kB / 0.6274 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002489/0.6193, allocations: 148 kB / 0.6275 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003312/0.6226, allocations: 1.214 MB / 0.6287 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005094/0.6277, allocations: 1.571 MB / 0.6303 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.235/0.8626, allocations: 8.061 MB / 0.6381 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005382/0.868, allocations: 431 kB / 0.6385 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001175/0.8692, allocations: 421.8 kB / 0.6389 GB, free: 162.2 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.004357/0.8736, allocations: 2.459 MB / 0.6413 GB, free: 161.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009294/0.8745, allocations: 400.7 kB / 0.6417 GB, free: 161.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006278/0.8808, allocations: 3.351 MB / 0.645 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.949e-05/0.8808, allocations: 18.38 kB / 0.645 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-05/0.8808, allocations: 5.5 kB / 0.645 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-05/0.8808, allocations: 8.25 kB / 0.645 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01516/0.896, allocations: 7.135 MB / 0.652 GB, free: 158.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.191e-05/0.896, allocations: 3.578 kB / 0.652 GB, free: 158.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/0.8975, allocations: 295.5 kB / 0.6523 GB, free: 158.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002864/0.9004, allocations: 0.9885 MB / 0.6532 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002378/0.9006, allocations: 31.22 kB / 0.6533 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008346/0.909, allocations: 7.442 MB / 0.6605 GB, free: 153.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.956e-06/0.909, allocations: 10.94 kB / 0.6605 GB, free: 153.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009302/0.9183, allocations: 5.789 MB / 0.6662 GB, free: 151.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001855/0.9202, allocations: 422.6 kB / 0.6666 GB, free: 151.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001253/0.9214, allocations: 24.28 kB / 0.6666 GB, free: 151.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002691/0.9241, allocations: 155.5 kB / 0.6668 GB, free: 151.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003796/0.9245, allocations: 109.1 kB / 0.6669 GB, free: 151.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/0.9246, allocations: 44.59 kB / 0.6669 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00566/0.9303, allocations: 2.942 MB / 0.6698 GB, free: 150.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.9303, allocations: 0 / 0.6698 GB, free: 150.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007223/0.9375, allocations: 1.29 MB / 0.6711 GB, free: 150.4 MB / 0.5294 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.0008484/0.9384, allocations: 177.4 kB / 0.6712 GB, free: 150.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009782/0.9481, allocations: 5.362 MB / 0.6765 GB, free: 148.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/0.9482, allocations: 3.812 kB / 0.6765 GB, free: 148.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002315/0.9505, allocations: 1.532 MB / 0.678 GB, free: 147.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005117/0.9556, allocations: 0.5143 MB / 0.6785 GB, free: 147.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01973/0.9753, allocations: 10.81 MB / 0.689 GB, free: 138.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006/0.9813, allocations: 3.26 MB / 0.6922 GB, free: 134.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004667/0.986, allocations: 2.027 MB / 0.6942 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/0.9872, allocations: 272.4 kB / 0.6944 GB, free: 132.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.393e-06/0.9872, allocations: 0 / 0.6944 GB, free: 132.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.06695/1.054, allocations: 37.6 MB / 0.7312 GB, free: 95.46 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.842248190194368]