Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.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.001898/0.001898, allocations: 76.06 kB / 19.93 MB, free: 1.77 MB / 14.72 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.002675/0.002675, allocations: 171.2 kB / 23.22 MB, free: 4.887 MB / 14.72 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 1.492/1.492, allocations: 158.6 MB / 185 MB, free: 6.414 MB / 174.1 MB " [Timeout remaining time 178] 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.23/0.23, allocations: 32.37 MB / 269.6 MB, free: 2.727 MB / 254.1 MB " [Timeout remaining time 179] 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.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 407.4 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.464e-05/3.661e-05, allocations: 2.281 kB / 407.4 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01824/0.01828, allocations: 13.69 MB / 421.1 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0119/0.03017, allocations: 4.307 MB / 425.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003654/0.03383, allocations: 99.62 kB / 425.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005788/0.03961, allocations: 2.316 MB / 427.8 MB, free: 12.31 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007839/0.04745, allocations: 2.22 MB / 430 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002784/0.05024, allocations: 0.6703 MB / 430.7 MB, free: 9.406 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008914/0.05915, allocations: 4.829 MB / 435.5 MB, free: 4.566 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005474/0.06463, allocations: 3.008 MB / 438.5 MB, free: 1.508 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006287/0.07091, allocations: 2.553 MB / 441.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005429/0.07634, allocations: 2.459 MB / 443.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001165/0.07751, allocations: 360 kB / 443.9 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002964/0.08047, allocations: 1.018 MB / 444.9 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002775/0.08325, allocations: 2.193 MB / 447.1 MB, free: 8.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002507/0.08575, allocations: 1.37 MB / 448.5 MB, free: 7.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.28/0.3658, allocations: 8.044 MB / 456.5 MB, free: 27.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.347e-06/0.3658, allocations: 1.5 kB / 456.5 MB, free: 27.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3658, allocations: 0 / 456.5 MB, free: 27.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003612/0.3661, allocations: 0 / 456.5 MB, free: 27.95 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.01534/0.3815, allocations: 5.323 MB / 461.8 MB, free: 25.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/0.3815, allocations: 10.08 kB / 461.8 MB, free: 25.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01874/0.4003, allocations: 3.324 MB / 465.2 MB, free: 25.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01014/0.4104, allocations: 2.418 MB / 467.6 MB, free: 24.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005221/0.4109, allocations: 261.1 kB / 467.8 MB, free: 24.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002621/0.4135, allocations: 342.7 kB / 468.2 MB, free: 24.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03393/0.4475, allocations: 12.65 MB / 480.8 MB, free: 21.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002342/0.4477, allocations: 36.72 kB / 480.9 MB, free: 21.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00115/0.4489, allocations: 161.1 kB / 481 MB, free: 21.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006667/0.4555, allocations: 2.998 MB / 484 MB, free: 20.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02895/0.4845, allocations: 11.3 MB / 495.3 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06797/0.5524, allocations: 38.83 MB / 0.5216 GB, free: 5.715 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01044/0.5629, allocations: 3.739 MB / 0.5253 GB, free: 1.977 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003926/0.5668, allocations: 2.255 MB / 0.5275 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009766/0.5678, allocations: 441.4 kB / 0.5279 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.026e-05/0.5678, allocations: 59.38 kB / 0.5279 GB, free: 15.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=250): time 5.791e-06/0.5678, allocations: 0 / 0.5279 GB, free: 15.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=268): time 0.0559/0.6237, allocations: 19.96 MB / 0.5474 GB, free: 11.24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.6239, allocations: 109.8 kB / 0.5475 GB, free: 11.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007273/0.6311, allocations: 3.268 MB / 0.5507 GB, free: 7.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007098/0.6318, allocations: 63.89 kB / 0.5508 GB, free: 7.773 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003771/0.6356, allocations: 3.399 MB / 0.5541 GB, free: 4.398 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002135/0.6377, allocations: 1.01 MB / 0.5551 GB, free: 3.402 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002505/0.6403, allocations: 1.205 MB / 0.5563 GB, free: 2.191 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002335/0.6405, allocations: 305.1 kB / 0.5566 GB, free: 1.891 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004653/0.6451, allocations: 2.499 MB / 0.559 GB, free: 15.39 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008254/0.6534, allocations: 5.892 MB / 0.5648 GB, free: 7.883 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01562/0.669, allocations: 9.195 MB / 0.5737 GB, free: 13.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002083/0.6692, allocations: 32 kB / 0.5738 GB, free: 13.47 MB / 478.1 MB Notification: Performance of matching and sorting (n=813) (initialization): time 0.02245/0.6917, allocations: 9.154 MB / 0.5827 GB, free: 4.305 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.6918, allocations: 60 kB / 0.5828 GB, free: 4.246 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002138/0.692, allocations: 120 kB / 0.5829 GB, free: 4.129 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003468/0.6955, allocations: 1.062 MB / 0.5839 GB, free: 3.062 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005807/0.7013, allocations: 1.388 MB / 0.5853 GB, free: 1.672 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008656/0.7099, allocations: 5.385 MB / 0.5905 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005974/0.7159, allocations: 362.7 kB / 0.5909 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00144/0.7174, allocations: 356 kB / 0.5912 GB, free: 11.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 539 * Number of states: 0 () * Number of discrete variables: 42 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (751): * Single equations (assignments): 744 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005978/0.7233, allocations: 2.48 MB / 0.5936 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009344/0.7243, allocations: 317.8 kB / 0.5939 GB, free: 8.699 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/0.7347, allocations: 5.345 MB / 0.5992 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-05/0.7348, allocations: 52.11 kB / 0.5992 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.711e-05/0.7348, allocations: 11.94 kB / 0.5992 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-05/0.7348, allocations: 7.969 kB / 0.5992 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0272/0.762, allocations: 11.66 MB / 0.6106 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-05/0.762, allocations: 12 kB / 0.6106 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002056/0.7641, allocations: 423.3 kB / 0.611 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003218/0.7673, allocations: 0.8878 MB / 0.6119 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002526/0.7676, allocations: 58.25 kB / 0.612 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007701/0.7753, allocations: 4.672 MB / 0.6165 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.672e-05/0.7753, allocations: 19.97 kB / 0.6165 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01498/0.7903, allocations: 7.996 MB / 0.6243 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002297/0.7926, allocations: 0.6657 MB / 0.625 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005378/0.7931, allocations: 55.98 kB / 0.625 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/0.7948, allocations: 187.7 kB / 0.6252 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005572/0.7954, allocations: 175.9 kB / 0.6254 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002227/0.7956, allocations: 83.98 kB / 0.6255 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003459/0.7991, allocations: 1.865 MB / 0.6273 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7991, allocations: 0 / 0.6273 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006176/0.8052, allocations: 1.194 MB / 0.6285 GB, free: 4.832 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.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 (209): * Single equations (assignments): 202 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008353/0.8061, allocations: 219.4 kB / 0.6287 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01172/0.8178, allocations: 5.866 MB / 0.6344 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-05/0.8178, allocations: 4.938 kB / 0.6344 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003994/0.8218, allocations: 2.103 MB / 0.6365 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003135/0.825, allocations: 346.8 kB / 0.6368 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02685/0.8518, allocations: 11.73 MB / 0.6482 GB, free: 400 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2948/1.147, allocations: 3.3 MB / 0.6515 GB, free: 194.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006581/1.153, allocations: 2.156 MB / 0.6536 GB, free: 194.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/1.155, allocations: 232.9 kB / 0.6538 GB, free: 194.5 MB / 0.5294 GB Notification: Performance of SimCode: time 2.786e-06/1.155, allocations: 2.906 kB / 0.6538 GB, free: 194.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.07068/1.225, allocations: 30.41 MB / 0.6835 GB, free: 178.2 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.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.6647913455963135]