Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001529/0.001529, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001554/0.001554, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.383/1.383, allocations: 227.7 MB / 247.7 MB, free: 10.29 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002807/0.002807, allocations: 72.91 kB / 307.9 MB, free: 480 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1261, allocations: 50.53 MB / 358.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008729/0.1349, allocations: 7.088 MB / 365.5 MB, free: 6.797 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005902/0.1408, allocations: 3.177 MB / 368.7 MB, free: 3.609 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006765/0.1415, allocations: 31.94 kB / 368.7 MB, free: 3.578 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001879/0.1434, allocations: 0.7899 MB / 369.5 MB, free: 2.785 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002708/0.1461, allocations: 1.284 MB / 370.8 MB, free: 1.496 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009981/0.1472, allocations: 0.4912 MB / 371.3 MB, free: 1.004 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1365/0.2837, allocations: 2.547 MB / 373.8 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.285, allocations: 1.152 MB / 375 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008241/0.2859, allocations: 0.7505 MB / 375.7 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.2869, allocations: 1.102 MB / 376.8 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002523/0.2872, allocations: 133.9 kB / 377 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.2885, allocations: 0.8592 MB / 377.8 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007367/0.2892, allocations: 0.99 MB / 378.8 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007274/0.2899, allocations: 1.172 MB / 380 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00327/0.2932, allocations: 3.744 MB / 383.7 MB, free: 7.711 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2932, allocations: 0 / 383.7 MB, free: 7.711 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2933, allocations: 1.094 kB / 383.7 MB, free: 7.711 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.855e-05/0.2933, allocations: 0 / 383.7 MB, free: 7.711 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.00431/0.2976, allocations: 2.868 MB / 386.6 MB, free: 6.098 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.2977, allocations: 9.531 kB / 386.6 MB, free: 6.098 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005304/0.303, allocations: 1.644 MB / 388.3 MB, free: 5.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/0.3048, allocations: 1.286 MB / 389.5 MB, free: 5.008 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.301e-05/0.3049, allocations: 115.6 kB / 389.7 MB, free: 4.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002771/0.3052, allocations: 161 kB / 389.8 MB, free: 4.945 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006603/0.3118, allocations: 6.361 MB / 396.2 MB, free: 1.066 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.013e-05/0.3119, allocations: 42.92 kB / 396.2 MB, free: 1.055 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002078/0.3121, allocations: 77.89 kB / 396.3 MB, free: 1.031 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001874/0.314, allocations: 1.431 MB / 397.7 MB, free: 488 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008703/0.3227, allocations: 5.675 MB / 403.4 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0273/0.35, allocations: 26.27 MB / 429.7 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004215/0.3542, allocations: 2.273 MB / 431.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/0.3555, allocations: 1.017 MB / 433 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.093e-05/0.3556, allocations: 15.91 kB / 433 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.3556, allocations: 45.41 kB / 433 MB, free: 13.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=98): time 2.915e-06/0.3556, allocations: 3.938 kB / 433 MB, free: 13.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.02009/0.3757, allocations: 8.58 MB / 441.6 MB, free: 4.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.593e-05/0.3758, allocations: 140.5 kB / 441.7 MB, free: 4.703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003673/0.3795, allocations: 2.822 MB / 444.6 MB, free: 1.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.3796, allocations: 37.7 kB / 444.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001442/0.3811, allocations: 2.066 MB / 446.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004132/0.3815, allocations: 441.7 kB / 447.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001081/0.3826, allocations: 0.88 MB / 448 MB, free: 14.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.3827, allocations: 301.1 kB / 448.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002035/0.3847, allocations: 1.418 MB / 449.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004116/0.3889, allocations: 4.249 MB / 453.9 MB, free: 7.043 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006852/0.3957, allocations: 6.141 MB / 460.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-05/0.3958, allocations: 28 kB / 460.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01019/0.406, allocations: 6.108 MB / 466.2 MB, free: 9.363 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.244e-05/0.4061, allocations: 48 kB / 466.3 MB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.29e-05/0.4062, allocations: 100 kB / 466.4 MB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002166/0.4084, allocations: 0.8008 MB / 467.2 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002541/0.4109, allocations: 0.9902 MB / 468.2 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005686/0.4166, allocations: 4.465 MB / 472.6 MB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002499/0.4191, allocations: 251.5 kB / 472.9 MB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003433/0.4195, allocations: 272 kB / 473.1 MB, free: 2.312 MB / 382.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.001924/0.4214, allocations: 1.369 MB / 474.5 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003435/0.4218, allocations: 229 kB / 474.7 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003749/0.4255, allocations: 1.857 MB / 476.6 MB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/0.4255, allocations: 12 kB / 476.6 MB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.4256, allocations: 4 kB / 476.6 MB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.4256, allocations: 7.922 kB / 476.6 MB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008033/0.4336, allocations: 4.818 MB / 481.4 MB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.4336, allocations: 0 / 481.4 MB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005726/0.4342, allocations: 139.8 kB / 481.6 MB, free: 9.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001965/0.4362, allocations: 0.6444 MB / 482.2 MB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.444e-05/0.4363, allocations: 20 kB / 482.2 MB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004982/0.4413, allocations: 3.952 MB / 486.2 MB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4413, allocations: 4.031 kB / 486.2 MB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005652/0.4469, allocations: 3.688 MB / 489.9 MB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004752/0.4474, allocations: 290 kB / 490.1 MB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002312/0.4477, allocations: 20 kB / 490.2 MB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000803/0.4485, allocations: 59.91 kB / 490.2 MB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.4486, allocations: 55.86 kB / 490.3 MB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.793e-05/0.4487, allocations: 28 kB / 490.3 MB, free: 0.8555 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00248/0.4512, allocations: 1.757 MB / 492.1 MB, free: 15.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4512, allocations: 288 / 492.1 MB, free: 15.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0029/0.4541, allocations: 0.6355 MB / 492.7 MB, free: 14.46 MB / 414.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.0002943/0.4544, allocations: 139.1 kB / 492.8 MB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005209/0.4596, allocations: 3.638 MB / 496.5 MB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4596, allocations: 1 kB / 496.5 MB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.4609, allocations: 0.9355 MB / 497.4 MB, free: 9.734 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.4622, allocations: 253 kB / 497.7 MB, free: 9.492 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008182/0.4704, allocations: 5.769 MB / 0.4916 GB, free: 3.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002086/0.4725, allocations: 2.184 MB / 0.4938 GB, free: 1.457 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004757/0.473, allocations: 199.4 kB / 0.494 GB, free: 1.266 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.473, allocations: 0 / 0.494 GB, free: 1.266 MB / 414.1 MB Notification: Performance of Templates: time 0.4255/0.8985, allocations: 46.95 MB / 0.5398 GB, free: 143.5 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches