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.001216/0.001216, allocations: 108.4 kB / 18.34 MB, free: 4.699 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.001157/0.001157, allocations: 190.9 kB / 19.28 MB, free: 3.766 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.362/1.362, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001185/0.001185, allocations: 47.94 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08101/0.0822, allocations: 46.63 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.007964/0.0902, allocations: 7.132 MB / 335.9 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005937/0.09617, allocations: 3.151 MB / 339 MB, free: 9.41 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008098/0.09702, allocations: 31.94 kB / 339 MB, free: 9.379 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.09864, allocations: 0.7976 MB / 339.8 MB, free: 8.578 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002704/0.1014, allocations: 1.315 MB / 341.1 MB, free: 7.258 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009461/0.1023, allocations: 495 kB / 341.6 MB, free: 6.773 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002839/0.1052, allocations: 2.547 MB / 344.2 MB, free: 4.219 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/0.1064, allocations: 1.165 MB / 345.3 MB, free: 3.039 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008126/0.1072, allocations: 0.7627 MB / 346.1 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/0.1084, allocations: 1.106 MB / 347.2 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002295/0.1087, allocations: 136 kB / 347.3 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.11, allocations: 0.8697 MB / 348.2 MB, free: 164 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008048/0.1108, allocations: 1.005 MB / 349.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001026/0.1118, allocations: 1.199 MB / 350.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00354/0.1154, allocations: 3.962 MB / 354.4 MB, free: 9.969 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1154, allocations: 4 kB / 354.4 MB, free: 9.965 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1154, allocations: 0 / 354.4 MB, free: 9.965 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.039e-05/0.1155, allocations: 0 / 354.4 MB, free: 9.965 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.004167/0.1196, allocations: 2.882 MB / 357.3 MB, free: 7.023 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1197, allocations: 12.03 kB / 357.3 MB, free: 7.012 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005413/0.1251, allocations: 1.643 MB / 358.9 MB, free: 5.363 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002245/0.1273, allocations: 1.383 MB / 360.3 MB, free: 3.938 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.04e-05/0.1274, allocations: 118.8 kB / 360.4 MB, free: 3.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002922/0.1277, allocations: 151.9 kB / 360.6 MB, free: 3.672 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007935/0.1357, allocations: 6.367 MB / 366.9 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.75e-05/0.1358, allocations: 27.8 kB / 367 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002115/0.136, allocations: 79.89 kB / 367 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002219/0.1382, allocations: 1.445 MB / 368.5 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008664/0.1469, allocations: 5.674 MB / 374.2 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1761/0.323, allocations: 26.19 MB / 400.3 MB, free: 31.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00407/0.3271, allocations: 2.266 MB / 402.6 MB, free: 30.58 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00125/0.3284, allocations: 1.021 MB / 403.6 MB, free: 30.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.923e-05/0.3285, allocations: 13.09 kB / 403.6 MB, free: 30.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.3285, allocations: 47.28 kB / 403.7 MB, free: 30.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=98): time 3.075e-06/0.3285, allocations: 4 kB / 403.7 MB, free: 30.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=106): time 0.01802/0.3466, allocations: 8.596 MB / 412.3 MB, free: 26.31 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.3466, allocations: 140.4 kB / 412.4 MB, free: 26.15 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0027/0.3493, allocations: 2.834 MB / 415.3 MB, free: 24.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.613e-05/0.3494, allocations: 37.14 kB / 415.3 MB, free: 24.62 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007239/0.3502, allocations: 2.071 MB / 417.4 MB, free: 22.81 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/0.3504, allocations: 440.8 kB / 417.8 MB, free: 22.46 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007634/0.3512, allocations: 0.8867 MB / 418.7 MB, free: 21.95 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.308e-05/0.3512, allocations: 301.1 kB / 419 MB, free: 21.65 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/0.3527, allocations: 1.419 MB / 420.4 MB, free: 20.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002296/0.355, allocations: 4.246 MB / 424.6 MB, free: 15.05 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00403/0.3591, allocations: 6.128 MB / 430.8 MB, free: 7.512 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-05/0.3591, allocations: 28 kB / 430.8 MB, free: 7.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.007617/0.3667, allocations: 6.11 MB / 436.9 MB, free: 1.363 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.3668, allocations: 52.88 kB / 437 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.158e-05/0.3669, allocations: 100 kB / 437.1 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001888/0.3688, allocations: 0.7986 MB / 437.9 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00245/0.3712, allocations: 0.9903 MB / 438.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005464/0.3767, allocations: 4.472 MB / 443.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002852/0.3796, allocations: 247.6 kB / 443.6 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003453/0.3799, allocations: 280.6 kB / 443.8 MB, free: 10.31 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.001778/0.3817, allocations: 1.365 MB / 445.2 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003452/0.3821, allocations: 236.9 kB / 445.4 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003541/0.3856, allocations: 1.853 MB / 447.3 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/0.3856, allocations: 12 kB / 447.3 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.3857, allocations: 4 kB / 447.3 MB, free: 6.816 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.3857, allocations: 8.5 kB / 447.3 MB, free: 6.809 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008147/0.3938, allocations: 4.798 MB / 452.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.3939, allocations: 3.188 kB / 452.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00059/0.3945, allocations: 131.8 kB / 452.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001922/0.3964, allocations: 0.6522 MB / 452.9 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.985e-05/0.3965, allocations: 20 kB / 452.9 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004617/0.4011, allocations: 3.94 MB / 456.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.4011, allocations: 5.125 kB / 456.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005398/0.4065, allocations: 3.682 MB / 460.5 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/0.4076, allocations: 445.8 kB / 461 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/0.4079, allocations: 23.67 kB / 461 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008417/0.4087, allocations: 62.97 kB / 461.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.4089, allocations: 59.86 kB / 461.1 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.427e-05/0.409, allocations: 28 kB / 461.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002381/0.4114, allocations: 1.762 MB / 462.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4114, allocations: 7.875 kB / 462.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003168/0.4145, allocations: 0.6432 MB / 463.6 MB, free: 6.32 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.0003644/0.4149, allocations: 153.8 kB / 463.7 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005159/0.4201, allocations: 3.425 MB / 467.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.4201, allocations: 0 / 467.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.4213, allocations: 0.9289 MB / 468.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.4228, allocations: 254.1 kB / 468.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007603/0.4304, allocations: 5.433 MB / 473.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001974/0.4324, allocations: 2.193 MB / 475.9 MB, free: 9.867 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.002706/0.4352, allocations: 1.403 MB / 477.3 MB, free: 8.457 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003665/0.4355, allocations: 163.4 kB / 477.5 MB, free: 8.301 MB / 366.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4355, allocations: 0 / 477.5 MB, free: 8.301 MB / 366.1 MB Notification: Performance of Templates: time 0.03744/0.473, allocations: 19.25 MB / 496.8 MB, free: 5.082 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 cvode -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