Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001203/0.001203, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.0012/0.0012, allocations: 165 kB / 23.79 MB, free: 0.7773 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 0.9682/0.9682, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1538/0.1538, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.FrameTorques,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.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_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 347.7 MB, free: 9.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.683e-05/2.826e-05, allocations: 4.281 kB / 347.7 MB, free: 9.398 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01454/0.01456, allocations: 13.75 MB / 361.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007543/0.02211, allocations: 4.595 MB / 366.1 MB, free: 6.977 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001813/0.02392, allocations: 107.5 kB / 366.2 MB, free: 6.871 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00414/0.02806, allocations: 4.053 MB / 370.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004865/0.03292, allocations: 2.589 MB / 372.8 MB, free: 204 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.03453, allocations: 1.127 MB / 373.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006482/0.04101, allocations: 6.723 MB / 380.7 MB, free: 8.336 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004068/0.04508, allocations: 4.366 MB / 385 MB, free: 3.902 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006948/0.05203, allocations: 3.883 MB / 388.9 MB, free: 12 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005102/0.05713, allocations: 3.215 MB / 392.1 MB, free: 12.79 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001661/0.05879, allocations: 468 kB / 392.6 MB, free: 12.33 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003345/0.06214, allocations: 1.459 MB / 394 MB, free: 10.87 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002761/0.0649, allocations: 2.907 MB / 396.9 MB, free: 7.957 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003166/0.06806, allocations: 1.772 MB / 398.7 MB, free: 6.18 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00817/0.07623, allocations: 6.325 MB / 405 MB, free: 15.83 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.07624, allocations: 0 / 405 MB, free: 15.83 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.07624, allocations: 0 / 405 MB, free: 15.83 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002977/0.07654, allocations: 0 / 405 MB, free: 15.83 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: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.01544/0.09198, allocations: 7.194 MB / 412.2 MB, free: 8.559 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/0.09204, allocations: 8.031 kB / 412.2 MB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007662/0.0997, allocations: 3.219 MB / 415.5 MB, free: 5.324 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006923/0.1066, allocations: 3.378 MB / 418.8 MB, free: 1.895 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002546/0.1069, allocations: 312.1 kB / 419.1 MB, free: 1.586 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009797/0.1079, allocations: 416.1 kB / 419.6 MB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01547/0.1233, allocations: 7.926 MB / 427.5 MB, free: 8.023 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001544/0.1235, allocations: 51.58 kB / 427.5 MB, free: 7.973 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004131/0.1239, allocations: 199.8 kB / 427.7 MB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002249/0.1261, allocations: 2.394 MB / 430.1 MB, free: 5.383 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01169/0.1378, allocations: 4.113 MB / 434.2 MB, free: 1.254 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2563/0.3941, allocations: 55.62 MB / 489.9 MB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005702/0.3998, allocations: 2.13 MB / 492 MB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009189/0.4007, allocations: 0.5656 MB / 492.5 MB, free: 34.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007292/0.408, allocations: 4.847 MB / 497.4 MB, free: 32.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.408, allocations: 58.98 kB / 497.5 MB, free: 32.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=149): time 4.137e-06/0.408, allocations: 0 / 497.5 MB, free: 32.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=151): time 0.01843/0.4265, allocations: 10.34 MB / 0.4959 GB, free: 28.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.762e-05/0.4266, allocations: 229.6 kB / 0.4961 GB, free: 27.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005638/0.4322, allocations: 4.794 MB / 0.5008 GB, free: 27.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003098/0.4325, allocations: 48.64 kB / 0.5008 GB, free: 27.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002397/0.4349, allocations: 4.546 MB / 0.5053 GB, free: 23.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007877/0.4357, allocations: 0.677 MB / 0.5059 GB, free: 23.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001386/0.4371, allocations: 1.65 MB / 0.5076 GB, free: 22.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.008e-05/0.4371, allocations: 476.8 kB / 0.508 GB, free: 21.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/0.4383, allocations: 0.7233 MB / 0.5087 GB, free: 21.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0031/0.4414, allocations: 7.853 MB / 0.5164 GB, free: 10.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006903/0.4483, allocations: 9.382 MB / 0.5255 GB, free: 14.96 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000206/0.4485, allocations: 48 kB / 0.5256 GB, free: 14.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=976) (initialization): time 0.01308/0.4616, allocations: 6.345 MB / 0.5318 GB, free: 9.246 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.4617, allocations: 84.3 kB / 0.5319 GB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001897/0.4619, allocations: 168 kB / 0.532 GB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006396/0.4626, allocations: 299.8 kB / 0.5323 GB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003987/0.4665, allocations: 1.743 MB / 0.534 GB, free: 6.957 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/0.4689, allocations: 3.822 MB / 0.5377 GB, free: 2.895 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004638/0.4735, allocations: 499.5 kB / 0.5382 GB, free: 2.406 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009214/0.4744, allocations: 471 kB / 0.5387 GB, free: 1.949 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 774 * Number of states: 0 () * Number of discrete variables: 45 (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 (940): * Single equations (assignments): 933 * 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.001945/0.4764, allocations: 0.7694 MB / 0.5394 GB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009368/0.4773, allocations: 477.1 kB / 0.5399 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/0.4787, allocations: 0.9892 MB / 0.5408 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.393e-05/0.4787, allocations: 16 kB / 0.5409 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.4788, allocations: 4 kB / 0.5409 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.4788, allocations: 3.984 kB / 0.5409 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009681/0.4884, allocations: 5.516 MB / 0.5463 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/0.4885, allocations: 8 kB / 0.5463 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007473/0.4892, allocations: 247.5 kB / 0.5465 GB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003169/0.4895, allocations: 81.36 kB / 0.5466 GB, free: 9.676 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.041e-05/0.4896, allocations: 35.98 kB / 0.5466 GB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/0.4917, allocations: 3.514 MB / 0.55 GB, free: 5.887 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.4917, allocations: 8 kB / 0.5501 GB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003393/0.4951, allocations: 2.392 MB / 0.5524 GB, free: 3.336 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001915/0.497, allocations: 0.5789 MB / 0.553 GB, free: 2.754 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006781/0.4977, allocations: 32 kB / 0.553 GB, free: 2.723 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009795/0.4986, allocations: 123.8 kB / 0.5531 GB, free: 2.602 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/0.4988, allocations: 107.6 kB / 0.5532 GB, free: 2.496 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.628e-05/0.4989, allocations: 44 kB / 0.5532 GB, free: 2.453 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003608/0.5025, allocations: 2.078 MB / 0.5553 GB, free: 392 kB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5025, allocations: 4 kB / 0.5553 GB, free: 388 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.005351/0.5079, allocations: 1.244 MB / 0.5565 GB, free: 15.14 MB / 426.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 (129): * Single equations (assignments): 124 * 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.0004367/0.5083, allocations: 192.4 kB / 0.5567 GB, free: 14.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005691/0.514, allocations: 3.479 MB / 0.5601 GB, free: 11.47 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/0.514, allocations: 4 kB / 0.5601 GB, free: 11.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009065/0.5149, allocations: 0.7813 MB / 0.5608 GB, free: 10.65 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/0.5179, allocations: 0.5353 MB / 0.5614 GB, free: 10.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01591/0.5338, allocations: 9.708 MB / 0.5708 GB, free: 240 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001921/0.5358, allocations: 1.622 MB / 0.5724 GB, free: 14.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003383/0.5391, allocations: 1.905 MB / 0.5743 GB, free: 12.69 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006665/0.5398, allocations: 290.5 kB / 0.5746 GB, free: 12.41 MB / 442.7 MB Notification: Performance of SimCode: time 2.555e-06/0.5398, allocations: 0 / 0.5746 GB, free: 12.41 MB / 442.7 MB Notification: Performance of Templates: time 0.0554/0.5952, allocations: 31.98 MB / 0.6058 GB, free: 12.61 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.763138760346919]