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.002501/0.002501, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.003079/0.003079, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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.565/1.565, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3549/0.3549, allocations: 34.26 MB / 295.3 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 179] 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.823e-06/1.823e-06, allocations: 0 / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.033e-05/3.215e-05, allocations: 2.312 kB / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01776/0.01779, allocations: 12.19 MB / 389.5 MB, free: 6.715 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01142/0.0292, allocations: 4.403 MB / 393.9 MB, free: 2.301 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002609/0.03181, allocations: 99.5 kB / 394 MB, free: 2.203 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008846/0.04066, allocations: 3.984 MB / 398 MB, free: 14.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007121/0.04778, allocations: 2.329 MB / 400.3 MB, free: 11.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002938/0.05072, allocations: 1.123 MB / 401.4 MB, free: 10.74 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01171/0.06243, allocations: 6.798 MB / 408.2 MB, free: 3.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007096/0.06953, allocations: 4.143 MB / 412.4 MB, free: 15.71 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008208/0.07774, allocations: 3.009 MB / 415.4 MB, free: 12.7 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006541/0.08428, allocations: 2.962 MB / 418.3 MB, free: 9.73 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001281/0.08556, allocations: 420 kB / 418.7 MB, free: 9.32 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003359/0.08892, allocations: 1.392 MB / 420.1 MB, free: 7.926 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003283/0.0922, allocations: 2.63 MB / 422.8 MB, free: 5.289 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003404/0.09561, allocations: 1.593 MB / 424.4 MB, free: 3.691 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01358/0.1092, allocations: 8.781 MB / 433.1 MB, free: 10.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.1092, allocations: 0 / 433.1 MB, free: 10.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1092, allocations: 0 / 433.1 MB, free: 10.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000263/0.1095, allocations: 4 kB / 433.1 MB, free: 10.88 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.01888/0.1283, allocations: 7.096 MB / 440.2 MB, free: 3.711 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.1284, allocations: 12.03 kB / 440.3 MB, free: 3.699 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01365/0.142, allocations: 3.098 MB / 443.4 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.173/0.315, allocations: 3.342 MB / 446.7 MB, free: 95.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002066/0.3152, allocations: 278.3 kB / 447 MB, free: 95.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001357/0.3166, allocations: 381.4 kB / 447.3 MB, free: 95.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01516/0.3317, allocations: 7.781 MB / 455.1 MB, free: 91.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001482/0.3319, allocations: 49.94 kB / 455.2 MB, free: 91.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00045/0.3323, allocations: 179 kB / 455.3 MB, free: 91.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003227/0.3355, allocations: 2.145 MB / 457.5 MB, free: 90.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01284/0.3484, allocations: 4.177 MB / 461.7 MB, free: 90.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05363/0.402, allocations: 55.65 MB / 0.5052 GB, free: 45.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008455/0.4105, allocations: 2.209 MB / 0.5074 GB, free: 45.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001331/0.4118, allocations: 0.7045 MB / 0.508 GB, free: 45.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009464/0.4213, allocations: 4.339 MB / 0.5123 GB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.4213, allocations: 55.56 kB / 0.5123 GB, free: 42.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 4.569e-06/0.4213, allocations: 2.938 kB / 0.5123 GB, free: 42.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=162): time 0.03875/0.46, allocations: 13.73 MB / 0.5257 GB, free: 30.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.4601, allocations: 218.3 kB / 0.526 GB, free: 30.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005617/0.4657, allocations: 5.497 MB / 0.5313 GB, free: 24.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001738/0.4659, allocations: 53.7 kB / 0.5314 GB, free: 24.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001865/0.4678, allocations: 4.321 MB / 0.5356 GB, free: 20.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006605/0.4684, allocations: 0.745 MB / 0.5363 GB, free: 19.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001723/0.4701, allocations: 1.796 MB / 0.5381 GB, free: 17.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.424e-05/0.4702, allocations: 480.8 kB / 0.5385 GB, free: 17.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/0.4717, allocations: 0.8176 MB / 0.5393 GB, free: 16.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003454/0.4752, allocations: 7.405 MB / 0.5466 GB, free: 6.328 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008795/0.484, allocations: 8.985 MB / 0.5553 GB, free: 10.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00018/0.4841, allocations: 47.94 kB / 0.5554 GB, free: 10.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=898) (initialization): time 0.0165/0.5006, allocations: 6.67 MB / 0.5619 GB, free: 3.723 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001385/0.5008, allocations: 71.98 kB / 0.562 GB, free: 3.652 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002662/0.501, allocations: 152 kB / 0.5621 GB, free: 3.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003339/0.5044, allocations: 0.8253 MB / 0.5629 GB, free: 2.668 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005448/0.5098, allocations: 1.56 MB / 0.5644 GB, free: 1.105 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009643/0.5195, allocations: 6.154 MB / 0.5704 GB, free: 10.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005544/0.525, allocations: 423.6 kB / 0.5708 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/0.5261, allocations: 424 kB / 0.5713 GB, free: 9.895 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * 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 (836): * Single equations (assignments): 829 * 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,14,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002306/0.5284, allocations: 0.8223 MB / 0.5721 GB, free: 9.055 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001016/0.5294, allocations: 449.3 kB / 0.5725 GB, free: 8.613 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005625/0.535, allocations: 1.84 MB / 0.5743 GB, free: 6.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.098e-05/0.535, allocations: 16 kB / 0.5743 GB, free: 6.734 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.975e-05/0.5351, allocations: 12 kB / 0.5743 GB, free: 6.723 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.797e-05/0.5351, allocations: 7.969 kB / 0.5743 GB, free: 6.715 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01754/0.5526, allocations: 7.015 MB / 0.5812 GB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/0.5526, allocations: 8.031 kB / 0.5812 GB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/0.554, allocations: 255.6 kB / 0.5814 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003183/0.5572, allocations: 0.6038 MB / 0.582 GB, free: 14.72 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001772/0.5574, allocations: 31.98 kB / 0.582 GB, free: 14.69 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008474/0.5658, allocations: 5.632 MB / 0.5875 GB, free: 8.824 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/0.5659, allocations: 7.938 kB / 0.5875 GB, free: 8.816 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007624/0.5735, allocations: 3.132 MB / 0.5906 GB, free: 5.605 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001606/0.5751, allocations: 405.1 kB / 0.591 GB, free: 5.207 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004949/0.5756, allocations: 35.98 kB / 0.591 GB, free: 5.172 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001815/0.5774, allocations: 147.8 kB / 0.5912 GB, free: 5.027 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003323/0.5777, allocations: 104.7 kB / 0.5913 GB, free: 4.926 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/0.5779, allocations: 40 kB / 0.5913 GB, free: 4.887 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004571/0.5824, allocations: 2.276 MB / 0.5935 GB, free: 2.609 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5824, allocations: 0 / 0.5935 GB, free: 2.609 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006704/0.5891, allocations: 1.277 MB / 0.5948 GB, free: 1.332 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (120): * Single equations (assignments): 115 * 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.0005117/0.5897, allocations: 174.8 kB / 0.5949 GB, free: 1.152 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008555/0.5982, allocations: 3.913 MB / 0.5988 GB, free: 13.23 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.5982, allocations: 0 / 0.5988 GB, free: 13.23 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001992/0.6002, allocations: 1.05 MB / 0.5998 GB, free: 12.14 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003339/0.6036, allocations: 0.5316 MB / 0.6003 GB, free: 11.62 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01897/0.6225, allocations: 8.955 MB / 0.6091 GB, free: 2.527 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1692/0.7918, allocations: 2.956 MB / 0.6119 GB, free: 132.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004027/0.7958, allocations: 1.74 MB / 0.6136 GB, free: 132.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006926/0.7965, allocations: 269.7 kB / 0.6139 GB, free: 132.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.884e-06/0.7965, allocations: 0 / 0.6139 GB, free: 132.5 MB / 474.7 MB Notification: Performance of Templates: time 0.06628/0.8628, allocations: 36.89 MB / 0.6499 GB, free: 124.4 MB / 474.7 MB " [Timeout remaining time 659] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.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.317914930987172]