Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.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.001026/0.001026, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001168/0.001168, allocations: 169 kB / 24.24 MB, free: 312 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.9799/0.9799, allocations: 158.6 MB / 186 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.1359/0.1359, allocations: 32.38 MB / 270.7 MB, free: 14.77 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.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 347.7 MB, free: 9.727 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.123e-05, allocations: 6.312 kB / 347.7 MB, free: 9.719 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.0166/0.01663, allocations: 16 MB / 363.7 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01338/0.03001, allocations: 4.972 MB / 368.7 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003148/0.03316, allocations: 123.4 kB / 368.8 MB, free: 4.547 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006647/0.03981, allocations: 5.424 MB / 374.2 MB, free: 15.1 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006772/0.04658, allocations: 2.842 MB / 377.1 MB, free: 12.25 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.04888, allocations: 1.24 MB / 378.3 MB, free: 11 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009014/0.05789, allocations: 7.471 MB / 385.8 MB, free: 3.516 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006505/0.0644, allocations: 5.322 MB / 391.1 MB, free: 14.12 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006657/0.07106, allocations: 3.878 MB / 395 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005805/0.07686, allocations: 3.764 MB / 398.8 MB, free: 6.457 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001592/0.07845, allocations: 0.5508 MB / 399.3 MB, free: 5.906 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002724/0.08118, allocations: 1.408 MB / 400.7 MB, free: 4.496 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003403/0.08458, allocations: 3.432 MB / 404.1 MB, free: 1.055 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003776/0.08836, allocations: 2.123 MB / 406.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009102/0.09746, allocations: 7.2 MB / 413.5 MB, free: 7.699 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.09746, allocations: 0 / 413.5 MB, free: 7.699 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.09746, allocations: 0 / 413.5 MB, free: 7.699 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002913/0.09776, allocations: 4 kB / 413.5 MB, free: 7.695 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: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.01289/0.1106, allocations: 8.44 MB / 421.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.1107, allocations: 8.031 kB / 421.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008674/0.1194, allocations: 3.542 MB / 425.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006601/0.126, allocations: 3.952 MB / 429.4 MB, free: 7.582 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002537/0.1262, allocations: 378 kB / 429.8 MB, free: 7.211 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001117/0.1273, allocations: 0.5 MB / 430.3 MB, free: 6.711 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.176/0.3033, allocations: 9.601 MB / 439.9 MB, free: 57.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002574/0.3036, allocations: 64.08 kB / 439.9 MB, free: 57.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005886/0.3042, allocations: 239.7 kB / 440.2 MB, free: 57.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003503/0.3077, allocations: 2.998 MB / 443.2 MB, free: 57.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01495/0.3226, allocations: 5.503 MB / 448.7 MB, free: 57.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04513/0.3678, allocations: 64.28 MB / 0.5009 GB, free: 3.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009464/0.3772, allocations: 4.123 MB / 0.505 GB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002573/0.3798, allocations: 1.263 MB / 0.5062 GB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01018/0.39, allocations: 6.346 MB / 0.5124 GB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.101e-05/0.39, allocations: 67.39 kB / 0.5125 GB, free: 7.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=273): time 5.45e-06/0.39, allocations: 0 / 0.5125 GB, free: 7.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=315): time 0.05024/0.4403, allocations: 25.04 MB / 0.5369 GB, free: 15.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.912e-05/0.4404, allocations: 243.1 kB / 0.5371 GB, free: 14.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006773/0.4472, allocations: 5.226 MB / 0.5422 GB, free: 9.902 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008969/0.4481, allocations: 73.7 kB / 0.5423 GB, free: 9.824 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003207/0.4513, allocations: 5.032 MB / 0.5472 GB, free: 4.832 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001918/0.4532, allocations: 1.285 MB / 0.5485 GB, free: 3.562 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002227/0.4554, allocations: 2.002 MB / 0.5504 GB, free: 1.547 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.4555, allocations: 480.8 kB / 0.5509 GB, free: 1.074 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002113/0.4576, allocations: 1.24 MB / 0.5521 GB, free: 15.83 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008412/0.466, allocations: 8.938 MB / 0.5608 GB, free: 3.484 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01436/0.4804, allocations: 11.15 MB / 0.5717 GB, free: 5.383 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002617/0.4807, allocations: 52 kB / 0.5718 GB, free: 5.332 MB / 442.7 MB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.02742/0.5081, allocations: 9.279 MB / 0.5808 GB, free: 12.04 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.5082, allocations: 80 kB / 0.5809 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002471/0.5085, allocations: 184.1 kB / 0.5811 GB, free: 11.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007499/0.516, allocations: 1.481 MB / 0.5825 GB, free: 10.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0124/0.5284, allocations: 2.168 MB / 0.5847 GB, free: 8.113 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02226/0.5506, allocations: 7.62 MB / 0.5921 GB, free: 276 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1661/0.7168, allocations: 0.6007 MB / 0.5927 GB, free: 128.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00148/0.7182, allocations: 0.5397 MB / 0.5932 GB, free: 128.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 822 * Number of states: 0 () * Number of discrete variables: 63 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1120): * Single equations (assignments): 1113 * 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 {(2,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002824/0.7211, allocations: 0.8921 MB / 0.5941 GB, free: 128.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00123/0.7223, allocations: 0.5996 MB / 0.5947 GB, free: 128.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007104/0.7294, allocations: 3.875 MB / 0.5985 GB, free: 128.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.503e-05/0.7294, allocations: 33.16 kB / 0.5985 GB, free: 128.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.407e-05/0.7295, allocations: 10.12 kB / 0.5985 GB, free: 128.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.289e-05/0.7295, allocations: 14.28 kB / 0.5985 GB, free: 128.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01581/0.7453, allocations: 9.969 MB / 0.6082 GB, free: 127.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.51e-05/0.7453, allocations: 2.875 kB / 0.6082 GB, free: 127.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/0.7468, allocations: 0.5634 MB / 0.6088 GB, free: 127.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002823/0.7496, allocations: 1.242 MB / 0.61 GB, free: 127.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002891/0.7499, allocations: 54.81 kB / 0.6101 GB, free: 127.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007027/0.7569, allocations: 7.151 MB / 0.617 GB, free: 123.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.7569, allocations: 6.875 kB / 0.6171 GB, free: 123.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007629/0.7646, allocations: 5.44 MB / 0.6224 GB, free: 122.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001761/0.7663, allocations: 0.989 MB / 0.6233 GB, free: 122.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005996/0.7669, allocations: 53.34 kB / 0.6234 GB, free: 122.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/0.7684, allocations: 292.7 kB / 0.6237 GB, free: 122.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004427/0.7689, allocations: 209 kB / 0.6239 GB, free: 122.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/0.769, allocations: 83.17 kB / 0.6239 GB, free: 122.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002719/0.7718, allocations: 2.279 MB / 0.6262 GB, free: 122.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7718, allocations: 0 / 0.6262 GB, free: 122.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005692/0.7774, allocations: 1.874 MB / 0.628 GB, free: 122.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (260): * Single equations (assignments): 255 * 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 {(4,17,75.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000562/0.778, allocations: 221.5 kB / 0.6282 GB, free: 122.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007113/0.7851, allocations: 5.321 MB / 0.6334 GB, free: 119.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/0.7851, allocations: 4 kB / 0.6334 GB, free: 119.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002802/0.7879, allocations: 2.078 MB / 0.6354 GB, free: 117.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002973/0.7909, allocations: 0.6375 MB / 0.6361 GB, free: 117.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01714/0.808, allocations: 12.63 MB / 0.6484 GB, free: 105.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001617/0.8097, allocations: 1.992 MB / 0.6503 GB, free: 103.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003775/0.8134, allocations: 2.337 MB / 0.6526 GB, free: 101.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001181/0.8146, allocations: 372.4 kB / 0.653 GB, free: 100.8 MB / 458.7 MB Notification: Performance of SimCode: time 3.697e-06/0.8146, allocations: 0 / 0.653 GB, free: 100.8 MB / 458.7 MB Notification: Performance of Templates: time 0.07072/0.8853, allocations: 60.61 MB / 0.7122 GB, free: 40.34 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Force/Force.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: 5.332376990932971]