Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002079/0.002079, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001214/0.001214, allocations: 168.8 kB / 24.82 MB, free: 9.27 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 1.046/1.046, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3076/0.3076, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.85e-05, allocations: 6.312 kB / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.009846/0.009865, allocations: 11.96 MB / 390.5 MB, free: 6.359 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006477/0.01634, allocations: 4.388 MB / 394.9 MB, free: 1.957 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008046/0.01715, allocations: 99.5 kB / 395 MB, free: 1.859 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003892/0.02104, allocations: 3.933 MB / 398.9 MB, free: 13.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002897/0.02394, allocations: 2.337 MB / 401.2 MB, free: 11.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.02518, allocations: 1.119 MB / 402.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005143/0.03032, allocations: 6.819 MB / 409.2 MB, free: 3.617 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003517/0.03384, allocations: 4.15 MB / 413.3 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004133/0.03797, allocations: 3.988 MB / 417.3 MB, free: 11.4 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00269/0.04066, allocations: 2.923 MB / 420.2 MB, free: 8.469 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004588/0.04112, allocations: 420 kB / 420.6 MB, free: 8.059 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.04272, allocations: 1.396 MB / 422 MB, free: 6.66 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00189/0.04461, allocations: 2.622 MB / 424.7 MB, free: 4.031 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001314/0.04593, allocations: 1.601 MB / 426.3 MB, free: 2.426 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004578/0.0505, allocations: 5.695 MB / 432 MB, free: 12.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.05051, allocations: 4 kB / 432 MB, free: 12.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.05051, allocations: 0 / 432 MB, free: 12.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.589e-05/0.05056, allocations: 0 / 432 MB, free: 12.71 MB / 410.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.00615/0.05671, allocations: 6.307 MB / 438.3 MB, free: 6.328 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.05675, allocations: 8.031 kB / 438.3 MB, free: 6.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005277/0.06203, allocations: 2.116 MB / 440.4 MB, free: 4.199 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003027/0.06505, allocations: 2.784 MB / 443.2 MB, free: 1.367 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/0.06521, allocations: 279.5 kB / 443.4 MB, free: 1.094 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004028/0.06561, allocations: 380.1 kB / 443.8 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2371/0.3027, allocations: 6.495 MB / 450.3 MB, free: 88.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001327/0.3028, allocations: 55.5 kB / 450.4 MB, free: 88.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003227/0.3032, allocations: 177.4 kB / 450.5 MB, free: 88.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001591/0.3047, allocations: 1.896 MB / 452.4 MB, free: 88.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00502/0.3098, allocations: 2.81 MB / 455.2 MB, free: 88.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02826/0.338, allocations: 51.3 MB / 0.4947 GB, free: 47.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003938/0.342, allocations: 1.762 MB / 0.4964 GB, free: 47.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000467/0.3424, allocations: 421.2 kB / 0.4968 GB, free: 47.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005613/0.348, allocations: 4.186 MB / 0.5009 GB, free: 44.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.3481, allocations: 55.45 kB / 0.5009 GB, free: 44.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=118): time 3.847e-06/0.3481, allocations: 2.469 kB / 0.5009 GB, free: 44.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.01148/0.3596, allocations: 4.611 MB / 0.5054 GB, free: 43.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/0.3596, allocations: 222 kB / 0.5057 GB, free: 43.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005057/0.3647, allocations: 4.516 MB / 0.5101 GB, free: 41.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/0.3647, allocations: 40.8 kB / 0.5101 GB, free: 41.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002116/0.3669, allocations: 4.225 MB / 0.5142 GB, free: 38.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004097/0.3673, allocations: 0.5655 MB / 0.5148 GB, free: 37.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001252/0.3685, allocations: 1.549 MB / 0.5163 GB, free: 36.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.014e-05/0.3686, allocations: 481.3 kB / 0.5168 GB, free: 36.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009532/0.3695, allocations: 0.5541 MB / 0.5173 GB, free: 36.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00328/0.3728, allocations: 7.376 MB / 0.5245 GB, free: 27.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005293/0.3781, allocations: 8.636 MB / 0.5329 GB, free: 16.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.367e-05/0.3781, allocations: 47.83 kB / 0.533 GB, free: 16.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.005502/0.3836, allocations: 5.481 MB / 0.5383 GB, free: 11.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.132e-05/0.3837, allocations: 76.94 kB / 0.5384 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001274/0.3838, allocations: 160 kB / 0.5386 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003869/0.3842, allocations: 282.4 kB / 0.5388 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002139/0.3864, allocations: 1.546 MB / 0.5403 GB, free: 9.668 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/0.3878, allocations: 3.75 MB / 0.544 GB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002644/0.3905, allocations: 322 kB / 0.5443 GB, free: 5.461 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003008/0.3908, allocations: 374.4 kB / 0.5447 GB, free: 5.098 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.001303/0.3921, allocations: 0.7536 MB / 0.5454 GB, free: 4.332 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003555/0.3924, allocations: 429.3 kB / 0.5458 GB, free: 3.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007249/0.3931, allocations: 0.7034 MB / 0.5465 GB, free: 3.309 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.3931, allocations: 16 kB / 0.5465 GB, free: 3.293 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.3932, allocations: 7.938 kB / 0.5465 GB, free: 3.285 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/0.3932, allocations: 3.703 kB / 0.5465 GB, free: 3.285 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005754/0.3989, allocations: 4.692 MB / 0.5511 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/0.3989, allocations: 4 kB / 0.5511 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003943/0.3993, allocations: 172.4 kB / 0.5513 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002233/0.3995, allocations: 79.11 kB / 0.5513 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.725e-05/0.3996, allocations: 27.47 kB / 0.5514 GB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/0.4014, allocations: 3.463 MB / 0.5548 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-06/0.4014, allocations: 11.94 kB / 0.5548 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.4032, allocations: 1.958 MB / 0.5567 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004806/0.4036, allocations: 394.6 kB / 0.5571 GB, free: 8.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002442/0.4039, allocations: 24 kB / 0.5571 GB, free: 8.797 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006104/0.4045, allocations: 31.94 kB / 0.5571 GB, free: 8.766 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.4046, allocations: 80.64 kB / 0.5572 GB, free: 8.719 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.596e-05/0.4047, allocations: 37.25 kB / 0.5572 GB, free: 8.688 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001866/0.4065, allocations: 1.824 MB / 0.559 GB, free: 7.129 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4065, allocations: 0 / 0.559 GB, free: 7.129 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004655/0.4112, allocations: 1.105 MB / 0.5601 GB, free: 6.023 MB / 426.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.0003597/0.4116, allocations: 162.9 kB / 0.5602 GB, free: 5.855 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004096/0.4157, allocations: 3.012 MB / 0.5632 GB, free: 2.836 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.4157, allocations: 384 / 0.5632 GB, free: 2.836 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005384/0.4162, allocations: 0.647 MB / 0.5638 GB, free: 2.156 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/0.4179, allocations: 0.5197 MB / 0.5643 GB, free: 1.652 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01293/0.4308, allocations: 8.629 MB / 0.5727 GB, free: 8.828 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001495/0.4323, allocations: 1.456 MB / 0.5742 GB, free: 7.348 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001354/0.4337, allocations: 0.5628 MB / 0.5747 GB, free: 6.781 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/0.4347, allocations: 0.6582 MB / 0.5754 GB, free: 6.121 MB / 442.7 MB Notification: Performance of SimCode: time 2.144e-06/0.4347, allocations: 0 / 0.5754 GB, free: 6.121 MB / 442.7 MB Notification: Performance of Templates: time 0.05004/0.4848, allocations: 30.51 MB / 0.6052 GB, free: 7.98 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.778224763926119]