Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.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.0008955/0.0008955, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.00141/0.00141, allocations: 168.7 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.9276/0.9276, allocations: 177.1 MB / 206 MB, free: 4.477 MB / 186.7 MB " [Timeout remaining time 179] 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.1453/0.1453, allocations: 32.79 MB / 295.4 MB, free: 15.38 MB / 282.7 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.FrameTorques,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.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,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.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.866e-05, allocations: 2.312 kB / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.007846/0.007864, allocations: 11.97 MB / 389.2 MB, free: 13.56 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007558/0.01542, allocations: 4.396 MB / 393.6 MB, free: 9.152 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001986/0.01741, allocations: 99.5 kB / 393.7 MB, free: 9.055 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003573/0.02098, allocations: 3.933 MB / 397.7 MB, free: 5.109 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004687/0.02567, allocations: 2.325 MB / 400 MB, free: 2.773 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.02728, allocations: 1.123 MB / 401.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007345/0.03463, allocations: 6.819 MB / 407.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004881/0.03951, allocations: 4.154 MB / 412.1 MB, free: 6.594 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006155/0.04566, allocations: 3.992 MB / 416.1 MB, free: 2.594 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003905/0.04957, allocations: 2.927 MB / 419 MB, free: 15.66 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001311/0.05088, allocations: 420 kB / 419.4 MB, free: 15.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00255/0.05343, allocations: 1.392 MB / 420.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002282/0.05571, allocations: 2.626 MB / 423.4 MB, free: 11.22 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0027/0.05841, allocations: 1.597 MB / 425 MB, free: 9.621 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006344/0.06475, allocations: 5.691 MB / 430.7 MB, free: 3.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.06476, allocations: 4 kB / 430.7 MB, free: 3.906 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.06476, allocations: 0 / 430.7 MB, free: 3.906 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001251/0.06488, allocations: 0 / 430.7 MB, free: 3.906 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.007764/0.07265, allocations: 6.311 MB / 437 MB, free: 13.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.07268, allocations: 11.98 kB / 437 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005589/0.07827, allocations: 2.112 MB / 439.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003744/0.08202, allocations: 2.772 MB / 441.9 MB, free: 8.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004128/0.08243, allocations: 287.5 kB / 442.2 MB, free: 8.289 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004899/0.08292, allocations: 372.1 kB / 442.6 MB, free: 7.926 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009201/0.09212, allocations: 6.505 MB / 449.1 MB, free: 264 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001237/0.09224, allocations: 59.55 kB / 449.1 MB, free: 204 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003157/0.09256, allocations: 175.8 kB / 449.3 MB, free: 28 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001612/0.09417, allocations: 1.885 MB / 451.2 MB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007901/0.1021, allocations: 2.82 MB / 454 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2125/0.3146, allocations: 51.3 MB / 0.4935 GB, free: 58.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004128/0.3187, allocations: 1.753 MB / 0.4952 GB, free: 58.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005277/0.3192, allocations: 423.4 kB / 0.4956 GB, free: 58.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004971/0.3242, allocations: 4.179 MB / 0.4997 GB, free: 57.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.3242, allocations: 56.36 kB / 0.4997 GB, free: 57.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=118): time 2.885e-06/0.3242, allocations: 0 / 0.4997 GB, free: 57.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.01168/0.3359, allocations: 4.609 MB / 0.5042 GB, free: 56.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.336, allocations: 218.4 kB / 0.5044 GB, free: 56.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00365/0.3396, allocations: 4.512 MB / 0.5088 GB, free: 55.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.809e-05/0.3397, allocations: 40.11 kB / 0.5089 GB, free: 55.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001496/0.3412, allocations: 4.234 MB / 0.513 GB, free: 53.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003285/0.3415, allocations: 0.5631 MB / 0.5136 GB, free: 52.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/0.3425, allocations: 1.556 MB / 0.5151 GB, free: 52.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.184e-05/0.3426, allocations: 480.7 kB / 0.5155 GB, free: 52.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008329/0.3434, allocations: 0.5573 MB / 0.5161 GB, free: 52.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002798/0.3462, allocations: 7.374 MB / 0.5233 GB, free: 43.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004676/0.3509, allocations: 8.643 MB / 0.5317 GB, free: 34.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001031/0.351, allocations: 48 kB / 0.5318 GB, free: 34.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.006101/0.3571, allocations: 5.48 MB / 0.5371 GB, free: 30.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.983e-05/0.3571, allocations: 78.03 kB / 0.5372 GB, free: 30.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001157/0.3572, allocations: 160 kB / 0.5374 GB, free: 30.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003754/0.3576, allocations: 275 kB / 0.5376 GB, free: 30.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/0.3599, allocations: 1.548 MB / 0.5391 GB, free: 28.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.3611, allocations: 3.765 MB / 0.5428 GB, free: 24.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003185/0.3643, allocations: 322.3 kB / 0.5431 GB, free: 24.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002764/0.3646, allocations: 372 kB / 0.5435 GB, free: 24.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 736 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (860): * Single equations (assignments): 853 * 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.00121/0.3658, allocations: 0.7375 MB / 0.5442 GB, free: 23.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000472/0.3662, allocations: 437.3 kB / 0.5446 GB, free: 23.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006647/0.3669, allocations: 0.7101 MB / 0.5453 GB, free: 22.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.3669, allocations: 16 kB / 0.5453 GB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3669, allocations: 0 / 0.5453 GB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.3669, allocations: 10.89 kB / 0.5453 GB, free: 22.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004939/0.3719, allocations: 4.679 MB / 0.5499 GB, free: 18.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.3719, allocations: 7.938 kB / 0.5499 GB, free: 18.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003949/0.3723, allocations: 163.7 kB / 0.5501 GB, free: 18.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002007/0.3725, allocations: 83.97 kB / 0.5501 GB, free: 17.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.187e-05/0.3725, allocations: 27.98 kB / 0.5502 GB, free: 17.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009095/0.3734, allocations: 3.474 MB / 0.5536 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.3734, allocations: 8 kB / 0.5536 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.3748, allocations: 1.96 MB / 0.5555 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004916/0.3753, allocations: 391.5 kB / 0.5558 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002538/0.3756, allocations: 24 kB / 0.5559 GB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006529/0.3762, allocations: 27.91 kB / 0.5559 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-05/0.3763, allocations: 83.75 kB / 0.556 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4e-05/0.3764, allocations: 38.95 kB / 0.556 GB, free: 11.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001416/0.3778, allocations: 1.817 MB / 0.5578 GB, free: 9.957 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3778, allocations: 0 / 0.5578 GB, free: 9.957 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004027/0.3818, allocations: 1.098 MB / 0.5589 GB, free: 8.859 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (97): * Single equations (assignments): 92 * 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.0003284/0.3821, allocations: 176.4 kB / 0.559 GB, free: 8.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003665/0.3858, allocations: 3.01 MB / 0.562 GB, free: 5.738 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.3858, allocations: 0 / 0.562 GB, free: 5.738 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005449/0.3863, allocations: 0.6507 MB / 0.5626 GB, free: 5.059 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/0.3889, allocations: 0.515 MB / 0.5631 GB, free: 4.582 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/0.4013, allocations: 8.612 MB / 0.5715 GB, free: 11.81 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001649/0.403, allocations: 1.452 MB / 0.5729 GB, free: 10.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001603/0.4046, allocations: 0.5631 MB / 0.5735 GB, free: 9.777 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008774/0.4054, allocations: 0.6621 MB / 0.5741 GB, free: 9.113 MB / 426.7 MB Notification: Performance of SimCode: time 2.345e-06/0.4054, allocations: 4 kB / 0.5741 GB, free: 9.109 MB / 426.7 MB Notification: Performance of Templates: time 0.05212/0.4576, allocations: 31.18 MB / 0.6046 GB, free: 10.61 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.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.3817621120251715]