Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001373/0.001373, allocations: 92.22 kB / 20.21 MB, free: 4.203 MB / 18.57 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.001543/0.001543, allocations: 157.7 kB / 23.52 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2305/0.2305, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 347 MB, free: 9.758 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.075e-05, allocations: 2.312 kB / 347 MB, free: 9.754 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01087/0.01089, allocations: 11.99 MB / 359 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01067/0.02156, allocations: 4.404 MB / 363.4 MB, free: 9.289 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001881/0.02344, allocations: 107.5 kB / 363.5 MB, free: 9.184 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008386/0.03183, allocations: 3.921 MB / 367.4 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007058/0.03889, allocations: 2.523 MB / 369.9 MB, free: 2.711 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002818/0.0417, allocations: 1.127 MB / 371 MB, free: 1.582 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01034/0.05204, allocations: 6.594 MB / 377.6 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006454/0.0585, allocations: 4.295 MB / 381.9 MB, free: 6.613 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006712/0.06521, allocations: 3.185 MB / 385.1 MB, free: 3.422 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005811/0.07102, allocations: 3.106 MB / 388.2 MB, free: 316 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001109/0.07213, allocations: 464 kB / 388.7 MB, free: 15.85 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00319/0.07532, allocations: 1.447 MB / 390.1 MB, free: 14.41 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003811/0.07913, allocations: 2.832 MB / 393 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002811/0.08194, allocations: 1.725 MB / 394.7 MB, free: 9.836 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01445/0.09639, allocations: 9.559 MB / 404.2 MB, free: 252 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.0964, allocations: 4 kB / 404.2 MB, free: 248 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.0964, allocations: 0 / 404.2 MB, free: 248 kB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002391/0.09664, allocations: 0 / 404.2 MB, free: 248 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01775/0.1144, allocations: 6.566 MB / 410.8 MB, free: 9.605 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1144, allocations: 8.031 kB / 410.8 MB, free: 9.598 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01444/0.1289, allocations: 3.332 MB / 414.2 MB, free: 6.258 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01043/0.1393, allocations: 3.925 MB / 418.1 MB, free: 2.285 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003615/0.1397, allocations: 296 kB / 418.4 MB, free: 1.996 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00166/0.1413, allocations: 408.1 kB / 418.8 MB, free: 1.598 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02552/0.1668, allocations: 12.76 MB / 431.5 MB, free: 3.961 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001732/0.167, allocations: 67.52 kB / 431.6 MB, free: 3.895 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006039/0.1676, allocations: 187.8 kB / 431.8 MB, free: 3.711 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00456/0.1722, allocations: 2.413 MB / 434.2 MB, free: 1.297 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02367/0.1958, allocations: 10.59 MB / 444.8 MB, free: 6.688 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.211/0.4068, allocations: 46.11 MB / 490.9 MB, free: 66.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01043/0.4172, allocations: 3.975 MB / 494.9 MB, free: 64.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002752/0.42, allocations: 2.328 MB / 497.2 MB, free: 61.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01129/0.4313, allocations: 6.743 MB / 0.4921 GB, free: 55.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.4313, allocations: 51.88 kB / 0.4922 GB, free: 55.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=186): time 5.26e-06/0.4313, allocations: 0 / 0.4922 GB, free: 55.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=198): time 0.04767/0.479, allocations: 19.43 MB / 0.5112 GB, free: 36.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/0.479, allocations: 209.2 kB / 0.5113 GB, free: 35.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006533/0.4856, allocations: 5.276 MB / 0.5165 GB, free: 30.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006071/0.4862, allocations: 53.7 kB / 0.5166 GB, free: 30.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00206/0.4882, allocations: 4.072 MB / 0.5205 GB, free: 26.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000996/0.4892, allocations: 0.8035 MB / 0.5213 GB, free: 26.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001745/0.491, allocations: 1.505 MB / 0.5228 GB, free: 24.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.491, allocations: 301.1 kB / 0.5231 GB, free: 24.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003317/0.4943, allocations: 2.685 MB / 0.5257 GB, free: 21.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005335/0.4997, allocations: 7.154 MB / 0.5327 GB, free: 12.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01183/0.5115, allocations: 10.47 MB / 0.5429 GB, free: 15.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002101/0.5117, allocations: 47.94 kB / 0.543 GB, free: 15.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=966) (initialization): time 0.02612/0.5378, allocations: 10.91 MB / 0.5536 GB, free: 4.613 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001481/0.538, allocations: 72 kB / 0.5537 GB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002692/0.5383, allocations: 156 kB / 0.5538 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004355/0.5426, allocations: 1.31 MB / 0.5551 GB, free: 3.074 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007145/0.5498, allocations: 1.716 MB / 0.5568 GB, free: 1.355 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/0.5632, allocations: 8.309 MB / 0.5649 GB, free: 8.859 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008212/0.5714, allocations: 495.5 kB / 0.5654 GB, free: 8.375 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0015/0.5729, allocations: 448 kB / 0.5658 GB, free: 7.938 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 706 * Number of states: 0 () * Number of discrete variables: 45 (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 (904): * Single equations (assignments): 897 * 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 {(2,13,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005925/0.5789, allocations: 2.626 MB / 0.5684 GB, free: 5.301 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001493/0.5804, allocations: 481.1 kB / 0.5688 GB, free: 4.828 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008931/0.5893, allocations: 4.087 MB / 0.5728 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.265e-05/0.5893, allocations: 24 kB / 0.5728 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/0.5894, allocations: 4 kB / 0.5728 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-05/0.5894, allocations: 7.969 kB / 0.5728 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02121/0.6106, allocations: 8.461 MB / 0.5811 GB, free: 8.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-05/0.6106, allocations: 4 kB / 0.5811 GB, free: 8.176 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002043/0.6126, allocations: 379.4 kB / 0.5815 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003577/0.6162, allocations: 1.06 MB / 0.5825 GB, free: 6.738 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002305/0.6165, allocations: 54.34 kB / 0.5826 GB, free: 6.688 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01174/0.6282, allocations: 7.643 MB / 0.59 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.141e-05/0.6282, allocations: 7.922 kB / 0.59 GB, free: 14.85 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01414/0.6423, allocations: 7.047 MB / 0.5969 GB, free: 7.746 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002972/0.6453, allocations: 0.743 MB / 0.5976 GB, free: 7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001136/0.6465, allocations: 35.98 kB / 0.5977 GB, free: 6.965 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002673/0.6491, allocations: 195.7 kB / 0.5979 GB, free: 6.773 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004393/0.6496, allocations: 133 kB / 0.598 GB, free: 6.641 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001745/0.6497, allocations: 52 kB / 0.598 GB, free: 6.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006973/0.6567, allocations: 3.138 MB / 0.6011 GB, free: 3.453 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.6567, allocations: 0 / 0.6011 GB, free: 3.453 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008899/0.6656, allocations: 1.418 MB / 0.6025 GB, free: 2.035 MB / 442.7 MB 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 (157): * Single equations (assignments): 152 * 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,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008103/0.6664, allocations: 202.4 kB / 0.6027 GB, free: 1.832 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.1766/0.843, allocations: 6.175 MB / 0.6087 GB, free: 149.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/0.843, allocations: 0 / 0.6087 GB, free: 149.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003107/0.8461, allocations: 1.877 MB / 0.6105 GB, free: 149 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003485/0.8496, allocations: 0.5375 MB / 0.6111 GB, free: 148.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01753/0.8671, allocations: 12.1 MB / 0.6229 GB, free: 143.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003956/0.8711, allocations: 3.512 MB / 0.6263 GB, free: 142.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00501/0.8761, allocations: 2.206 MB / 0.6285 GB, free: 141.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/0.8772, allocations: 295.2 kB / 0.6287 GB, free: 141.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.824e-06/0.8772, allocations: 0 / 0.6287 GB, free: 141.2 MB / 442.7 MB Notification: Performance of Templates: time 0.07165/0.9489, allocations: 41.51 MB / 0.6693 GB, free: 100.3 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 7.3633452779613435]