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.0009225/0.0009225, allocations: 80.98 kB / 20.66 MB, free: 3.836 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.0009735/0.0009735, allocations: 173 kB / 24.06 MB, free: 448 kB / 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 0.9043/0.9043, allocations: 158.6 MB / 185.9 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] 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.1864/0.1864, allocations: 32.37 MB / 270.7 MB, free: 14.53 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.874e-06/1.874e-06, allocations: 0 / 348.2 MB, free: 9.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.93e-05, allocations: 2.312 kB / 348.2 MB, free: 9.125 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01335/0.01338, allocations: 12.96 MB / 361.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008317/0.02169, allocations: 4.49 MB / 365.6 MB, free: 7.609 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001421/0.02311, allocations: 103.5 kB / 365.7 MB, free: 7.508 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003666/0.02678, allocations: 3.983 MB / 369.7 MB, free: 3.512 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003602/0.03038, allocations: 2.535 MB / 372.2 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.03183, allocations: 1.115 MB / 373.4 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005399/0.03723, allocations: 6.61 MB / 380 MB, free: 9.219 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0036/0.04083, allocations: 4.311 MB / 384.3 MB, free: 4.84 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003904/0.04473, allocations: 3.836 MB / 388.1 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002834/0.04757, allocations: 3.145 MB / 391.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004574/0.04803, allocations: 452 kB / 391.7 MB, free: 13.4 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001749/0.04978, allocations: 1.439 MB / 393.1 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002119/0.05189, allocations: 2.832 MB / 396 MB, free: 9.121 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001358/0.05325, allocations: 1.733 MB / 397.7 MB, free: 7.383 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00492/0.05817, allocations: 6.161 MB / 403.9 MB, free: 1.199 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.05818, allocations: 0 / 403.9 MB, free: 1.199 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.05818, allocations: 0 / 403.9 MB, free: 1.199 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.716e-05/0.05824, allocations: 0 / 403.9 MB, free: 1.199 MB / 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.006479/0.06472, allocations: 6.696 MB / 410.6 MB, free: 10.42 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.06476, allocations: 11.97 kB / 410.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005043/0.06981, allocations: 2.241 MB / 412.8 MB, free: 8.164 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003168/0.07297, allocations: 2.948 MB / 415.8 MB, free: 5.168 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.07312, allocations: 296 kB / 416 MB, free: 4.879 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003964/0.07352, allocations: 400.1 kB / 416.4 MB, free: 4.488 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006564/0.08008, allocations: 6.909 MB / 423.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001033/0.08019, allocations: 51.52 kB / 423.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003136/0.0805, allocations: 203.8 kB / 423.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001711/0.08221, allocations: 2.128 MB / 425.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005145/0.08735, allocations: 3.039 MB / 428.8 MB, free: 6.957 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.199/0.2864, allocations: 53.73 MB / 482.5 MB, free: 54.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004089/0.2905, allocations: 1.808 MB / 484.3 MB, free: 54.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005569/0.291, allocations: 0.4921 MB / 484.8 MB, free: 54.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005623/0.2967, allocations: 4.402 MB / 489.2 MB, free: 53.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.2967, allocations: 54.11 kB / 489.2 MB, free: 53.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 3.878e-06/0.2967, allocations: 5.219 kB / 489.3 MB, free: 53.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=154): time 0.01047/0.3072, allocations: 5.048 MB / 494.3 MB, free: 52.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.3072, allocations: 198.7 kB / 494.5 MB, free: 52.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006107/0.3133, allocations: 4.7 MB / 499.2 MB, free: 51.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003582/0.3137, allocations: 48.02 kB / 499.2 MB, free: 51.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002197/0.3159, allocations: 4.471 MB / 0.4919 GB, free: 47.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008067/0.3167, allocations: 0.6788 MB / 0.4926 GB, free: 46.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001253/0.318, allocations: 1.669 MB / 0.4942 GB, free: 44.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.284e-05/0.318, allocations: 476.8 kB / 0.4947 GB, free: 44.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000946/0.319, allocations: 0.6454 MB / 0.4953 GB, free: 43.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00295/0.3219, allocations: 7.694 MB / 0.5028 GB, free: 32.81 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005659/0.3276, allocations: 9.074 MB / 0.5117 GB, free: 21.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001347/0.3277, allocations: 48 kB / 0.5117 GB, free: 21.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=968) (initialization): time 0.009687/0.3374, allocations: 5.87 MB / 0.5174 GB, free: 15.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.783e-05/0.3375, allocations: 80.25 kB / 0.5175 GB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001599/0.3376, allocations: 172 kB / 0.5177 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005733/0.3382, allocations: 295.2 kB / 0.518 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003165/0.3414, allocations: 1.684 MB / 0.5196 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002636/0.344, allocations: 3.779 MB / 0.5233 GB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005471/0.3495, allocations: 339.6 kB / 0.5236 GB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006938/0.3502, allocations: 400.1 kB / 0.524 GB, free: 8.203 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 760 * 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 (932): * Single equations (assignments): 925 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001684/0.3519, allocations: 0.7701 MB / 0.5248 GB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007839/0.3526, allocations: 473.1 kB / 0.5252 GB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.3537, allocations: 0.92 MB / 0.5261 GB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.3537, allocations: 19.98 kB / 0.5261 GB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.3538, allocations: 4 kB / 0.5261 GB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.3538, allocations: 3.984 kB / 0.5261 GB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006875/0.3606, allocations: 5.171 MB / 0.5312 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.3606, allocations: 8 kB / 0.5312 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005641/0.3612, allocations: 236.4 kB / 0.5314 GB, free: 400 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002441/0.3615, allocations: 81.27 kB / 0.5315 GB, free: 312 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-05/0.3615, allocations: 39.98 kB / 0.5315 GB, free: 272 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/0.3633, allocations: 3.495 MB / 0.5349 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.3633, allocations: 8 kB / 0.5349 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002966/0.3663, allocations: 2.137 MB / 0.537 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/0.3674, allocations: 0.5243 MB / 0.5375 GB, free: 9.723 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003653/0.3678, allocations: 36.03 kB / 0.5376 GB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007225/0.3685, allocations: 35.98 kB / 0.5376 GB, free: 9.652 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.3686, allocations: 108.2 kB / 0.5377 GB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-05/0.3687, allocations: 43.97 kB / 0.5378 GB, free: 9.504 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002267/0.371, allocations: 1.908 MB / 0.5396 GB, free: 7.602 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.371, allocations: 0 / 0.5396 GB, free: 7.602 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004325/0.3753, allocations: 1.234 MB / 0.5408 GB, free: 6.367 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (130): * Single equations (assignments): 125 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000376/0.3757, allocations: 190.8 kB / 0.541 GB, free: 6.172 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004472/0.3801, allocations: 3.283 MB / 0.5442 GB, free: 2.887 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/0.3801, allocations: 4 kB / 0.5442 GB, free: 2.883 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007585/0.3809, allocations: 0.7372 MB / 0.5449 GB, free: 2.109 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/0.3834, allocations: 0.5427 MB / 0.5455 GB, free: 1.598 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01657/0.4, allocations: 9.403 MB / 0.5547 GB, free: 7.984 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001829/0.4018, allocations: 1.572 MB / 0.5562 GB, free: 6.395 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002374/0.4042, allocations: 0.6048 MB / 0.5568 GB, free: 5.785 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/0.4052, allocations: 0.7011 MB / 0.5575 GB, free: 5.082 MB / 410.7 MB Notification: Performance of SimCode: time 2.445e-06/0.4052, allocations: 0 / 0.5575 GB, free: 5.082 MB / 410.7 MB Notification: Performance of Templates: time 0.06846/0.4737, allocations: 33.53 MB / 0.5902 GB, free: 3.66 MB / 442.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.382239778060466]