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.001567/0.001567, allocations: 109.4 kB / 18.34 MB, free: 4.828 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.001778/0.001778, allocations: 192.1 kB / 19.28 MB, free: 3.898 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.353/1.353, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001246/0.001247, allocations: 55.92 kB / 282.1 MB, free: 2.438 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08069/0.08195, allocations: 46.63 MB / 328.7 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008314/0.09029, allocations: 7.132 MB / 335.9 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006132/0.09645, allocations: 3.151 MB / 339 MB, free: 9.406 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.09758, allocations: 31.94 kB / 339 MB, free: 9.375 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00188/0.09947, allocations: 0.782 MB / 339.8 MB, free: 8.59 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003116/0.1026, allocations: 1.323 MB / 341.1 MB, free: 7.262 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.1038, allocations: 499 kB / 341.6 MB, free: 6.773 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003112/0.1069, allocations: 2.543 MB / 344.2 MB, free: 4.223 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001561/0.1085, allocations: 1.173 MB / 345.3 MB, free: 3.035 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.1096, allocations: 0.7588 MB / 346.1 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/0.1112, allocations: 1.109 MB / 347.2 MB, free: 1.16 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003078/0.1115, allocations: 136 kB / 347.3 MB, free: 1.027 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.1128, allocations: 0.8697 MB / 348.2 MB, free: 160 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008134/0.1136, allocations: 1.001 MB / 349.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000994/0.1146, allocations: 1.195 MB / 350.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003335/0.118, allocations: 3.97 MB / 354.4 MB, free: 9.965 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.118, allocations: 0 / 354.4 MB, free: 9.965 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.118, allocations: 4 kB / 354.4 MB, free: 9.961 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.481e-05/0.1181, allocations: 0 / 354.4 MB, free: 9.961 MB / 302.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.004338/0.1224, allocations: 2.882 MB / 357.3 MB, free: 7.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.1225, allocations: 8.031 kB / 357.3 MB, free: 7.012 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005646/0.1281, allocations: 1.639 MB / 358.9 MB, free: 5.367 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002809/0.131, allocations: 1.387 MB / 360.3 MB, free: 3.938 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.498e-05/0.1311, allocations: 118.8 kB / 360.4 MB, free: 3.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003005/0.1314, allocations: 151.9 kB / 360.6 MB, free: 3.672 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008254/0.1396, allocations: 6.367 MB / 366.9 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.773e-05/0.1397, allocations: 31.75 kB / 367 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002182/0.1399, allocations: 79.89 kB / 367 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002288/0.1422, allocations: 1.437 MB / 368.5 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009025/0.1513, allocations: 5.674 MB / 374.2 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1683/0.3196, allocations: 26.19 MB / 400.3 MB, free: 31.24 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003879/0.3235, allocations: 2.257 MB / 402.6 MB, free: 30.11 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.3247, allocations: 1.019 MB / 403.6 MB, free: 29.69 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.391e-05/0.3248, allocations: 14.2 kB / 403.6 MB, free: 29.69 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.3248, allocations: 50.81 kB / 403.7 MB, free: 29.64 MB / 318.1 MB Notification: Performance of pre-optimization done (n=98): time 3.457e-06/0.3248, allocations: 0 / 403.7 MB, free: 29.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=106): time 0.018/0.3428, allocations: 8.604 MB / 412.3 MB, free: 25.86 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.3429, allocations: 140.1 kB / 412.4 MB, free: 25.7 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002868/0.3458, allocations: 2.831 MB / 415.3 MB, free: 24.21 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.072e-05/0.3459, allocations: 41.61 kB / 415.3 MB, free: 24.17 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007572/0.3466, allocations: 2.07 MB / 417.4 MB, free: 22.36 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002346/0.3469, allocations: 445.6 kB / 417.8 MB, free: 22 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007661/0.3476, allocations: 0.8849 MB / 418.7 MB, free: 21.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.027e-05/0.3477, allocations: 301.1 kB / 419 MB, free: 21.2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/0.3493, allocations: 1.419 MB / 420.4 MB, free: 20.11 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002302/0.3516, allocations: 4.246 MB / 424.6 MB, free: 14.44 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004282/0.3559, allocations: 6.136 MB / 430.8 MB, free: 6.891 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-05/0.3559, allocations: 28 kB / 430.8 MB, free: 6.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.008315/0.3642, allocations: 6.103 MB / 436.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.071e-05/0.3643, allocations: 55.94 kB / 437 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.835e-05/0.3644, allocations: 100 kB / 437.1 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002044/0.3665, allocations: 0.7928 MB / 437.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002707/0.3692, allocations: 0.9902 MB / 438.8 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005591/0.3748, allocations: 4.479 MB / 443.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003277/0.3781, allocations: 247.5 kB / 443.6 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000452/0.3786, allocations: 276.2 kB / 443.8 MB, free: 9.695 MB / 334.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.001829/0.3804, allocations: 1.364 MB / 445.2 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004086/0.3808, allocations: 236.8 kB / 445.4 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003736/0.3846, allocations: 1.858 MB / 447.3 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.472e-05/0.3846, allocations: 15.83 kB / 447.3 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.818e-05/0.3846, allocations: 4 kB / 447.3 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.3846, allocations: 3.984 kB / 447.3 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008964/0.3936, allocations: 4.794 MB / 452.1 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.3936, allocations: 7.891 kB / 452.1 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006044/0.3943, allocations: 135.9 kB / 452.3 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001965/0.3962, allocations: 0.6443 MB / 452.9 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.934e-05/0.3963, allocations: 23.3 kB / 452.9 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004973/0.4013, allocations: 3.941 MB / 456.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.4013, allocations: 3.938 kB / 456.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005977/0.4073, allocations: 3.693 MB / 460.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/0.4086, allocations: 441.8 kB / 461 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002619/0.4089, allocations: 15.67 kB / 461 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008803/0.4098, allocations: 63.91 kB / 461.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/0.41, allocations: 55.92 kB / 461.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.023e-05/0.4101, allocations: 24 kB / 461.1 MB, free: 8.121 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002759/0.4128, allocations: 1.766 MB / 462.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4128, allocations: 4.062 kB / 462.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003562/0.4164, allocations: 0.6431 MB / 463.6 MB, free: 5.703 MB / 350.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.0003308/0.4168, allocations: 148.1 kB / 463.7 MB, free: 5.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004979/0.4217, allocations: 3.433 MB / 467.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4218, allocations: 0 / 467.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.423, allocations: 0.9245 MB / 468.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.4246, allocations: 264.4 kB / 468.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008341/0.433, allocations: 5.434 MB / 473.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001989/0.435, allocations: 2.191 MB / 475.9 MB, free: 9.254 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.002827/0.4378, allocations: 1.396 MB / 477.3 MB, free: 7.852 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004167/0.4383, allocations: 167.4 kB / 477.5 MB, free: 7.691 MB / 366.1 MB Notification: Performance of SimCode: time 1.543e-06/0.4383, allocations: 0 / 477.5 MB, free: 7.691 MB / 366.1 MB Notification: Performance of Templates: time 0.03912/0.4774, allocations: 19.24 MB / 496.7 MB, free: 4.477 MB / 382.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins1/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