Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 113.2 kB / 17.73 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 184.2 kB / 18.66 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 52.36 kB / 328.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09884/0.1002, allocations: 46.62 MB / 375.1 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.1927/0.293, allocations: 7.123 MB / 382.3 MB, free: 9.629 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00569/0.2987, allocations: 3.159 MB / 385.4 MB, free: 8.242 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009314/0.2997, allocations: 31.28 kB / 385.5 MB, free: 8.238 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001719/0.3014, allocations: 0.7914 MB / 386.2 MB, free: 7.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003168/0.3046, allocations: 1.316 MB / 387.6 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.3057, allocations: 0.4939 MB / 388.1 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00365/0.3094, allocations: 2.534 MB / 390.6 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001644/0.311, allocations: 1.169 MB / 391.8 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.3123, allocations: 0.7643 MB / 392.5 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001471/0.3137, allocations: 1.108 MB / 393.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003404/0.3141, allocations: 133.9 kB / 393.8 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.3158, allocations: 0.8776 MB / 394.6 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009778/0.3168, allocations: 1.001 MB / 395.6 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009003/0.3177, allocations: 1.191 MB / 396.8 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003836/0.3215, allocations: 3.968 MB / 400.8 MB, free: 1.371 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3216, allocations: 0 / 400.8 MB, free: 1.371 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3216, allocations: 1.094 kB / 400.8 MB, free: 1.371 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.274e-05/0.3217, allocations: 0 / 400.8 MB, free: 1.371 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.0055/0.3272, allocations: 2.891 MB / 403.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3272, allocations: 9.094 kB / 403.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006567/0.3338, allocations: 1.639 MB / 405.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00279/0.3366, allocations: 1.376 MB / 406.7 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.3368, allocations: 124.9 kB / 406.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003717/0.3371, allocations: 152.3 kB / 407 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009812/0.347, allocations: 6.37 MB / 413.4 MB, free: 8.656 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.927e-05/0.3471, allocations: 27.72 kB / 413.4 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002661/0.3473, allocations: 83.83 kB / 413.5 MB, free: 8.547 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002683/0.35, allocations: 1.429 MB / 414.9 MB, free: 7.121 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009672/0.3597, allocations: 5.69 MB / 420.6 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.028/0.3878, allocations: 26.19 MB / 446.8 MB, free: 6.406 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004331/0.3921, allocations: 2.266 MB / 449 MB, free: 3.992 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/0.3934, allocations: 1.03 MB / 450.1 MB, free: 2.949 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.751e-05/0.3935, allocations: 19.92 kB / 450.1 MB, free: 2.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.3935, allocations: 42.56 kB / 450.1 MB, free: 2.879 MB / 366.1 MB Notification: Performance of pre-optimization done (n=98): time 3.697e-06/0.3935, allocations: 0 / 450.1 MB, free: 2.879 MB / 366.1 MB Notification: Performance of matching and sorting (n=106): time 0.02081/0.4144, allocations: 8.602 MB / 458.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.472e-05/0.4145, allocations: 144.4 kB / 458.9 MB, free: 9.965 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003745/0.4182, allocations: 2.831 MB / 461.7 MB, free: 7.117 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001189/0.4184, allocations: 37.7 kB / 461.7 MB, free: 7.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001341/0.4197, allocations: 2.075 MB / 463.8 MB, free: 4.969 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004174/0.4201, allocations: 434.7 kB / 464.2 MB, free: 4.539 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001118/0.4213, allocations: 0.8847 MB / 465.1 MB, free: 3.641 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4214, allocations: 301.1 kB / 465.4 MB, free: 3.344 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002029/0.4234, allocations: 1.414 MB / 466.8 MB, free: 1.922 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00427/0.4277, allocations: 4.25 MB / 471.1 MB, free: 12.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00802/0.4357, allocations: 6.135 MB / 477.2 MB, free: 4.695 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.636e-05/0.4359, allocations: 32 kB / 477.3 MB, free: 4.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01129/0.4472, allocations: 6.105 MB / 483.4 MB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.536e-05/0.4473, allocations: 52 kB / 483.4 MB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001758/0.4475, allocations: 100 kB / 483.5 MB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002308/0.4498, allocations: 0.797 MB / 484.3 MB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00289/0.4527, allocations: 0.9911 MB / 485.3 MB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005878/0.4586, allocations: 4.489 MB / 489.8 MB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003264/0.4618, allocations: 243.6 kB / 490 MB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005596/0.4624, allocations: 272 kB / 490.3 MB, free: 7.473 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (537): * Single equations (assignments): 533 * Array equations: 3 * 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 {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002708/0.4651, allocations: 1.375 MB / 491.7 MB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005464/0.4657, allocations: 229.4 kB / 491.9 MB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004144/0.4698, allocations: 1.849 MB / 493.7 MB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-05/0.4699, allocations: 15.98 kB / 493.8 MB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/0.4699, allocations: 12.81 kB / 493.8 MB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.4699, allocations: 7.922 kB / 493.8 MB, free: 3.957 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009274/0.4792, allocations: 4.797 MB / 498.6 MB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.4792, allocations: 4 kB / 498.6 MB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006082/0.4799, allocations: 139.8 kB / 498.7 MB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001995/0.4819, allocations: 0.6405 MB / 499.3 MB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.918e-05/0.482, allocations: 20 kB / 499.4 MB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005328/0.4873, allocations: 3.952 MB / 0.4915 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4873, allocations: 4.031 kB / 0.4915 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005777/0.4931, allocations: 3.697 MB / 0.4951 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009966/0.4941, allocations: 433.9 kB / 0.4956 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005129/0.4946, allocations: 20 kB / 0.4956 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.4958, allocations: 63.84 kB / 0.4956 GB, free: 5.914 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/0.496, allocations: 47.94 kB / 0.4957 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-05/0.4961, allocations: 31.98 kB / 0.4957 GB, free: 5.836 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003515/0.4996, allocations: 1.77 MB / 0.4974 GB, free: 4.059 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4996, allocations: 0 / 0.4974 GB, free: 4.059 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004032/0.5036, allocations: 0.6367 MB / 0.4981 GB, free: 3.422 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (75): * Single equations (assignments): 71 * Array equations: 3 * 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 {(1,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.0004105/0.5041, allocations: 155 kB / 0.4982 GB, free: 3.262 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006315/0.5104, allocations: 3.417 MB / 0.5015 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.5104, allocations: 1.062 kB / 0.5015 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001291/0.5117, allocations: 0.9437 MB / 0.5025 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001911/0.5136, allocations: 248.5 kB / 0.5027 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.5248, allocations: 5.44 MB / 0.508 GB, free: 9.168 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003233/0.528, allocations: 2.195 MB / 0.5102 GB, free: 6.945 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003152/0.5312, allocations: 1.403 MB / 0.5115 GB, free: 5.535 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00063/0.5318, allocations: 163.4 kB / 0.5117 GB, free: 5.375 MB / 446.1 MB Notification: Performance of SimCode: time 3.717e-06/0.5318, allocations: 0 / 0.5117 GB, free: 5.375 MB / 446.1 MB Notification: Performance of Templates: time 0.04342/0.5753, allocations: 20.72 MB / 0.5319 GB, free: 0.6211 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches