Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001382/0.001382, allocations: 103.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001498/0.001498, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 75.73 kB / 307 MB, free: 0.5703 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09287/0.0948, allocations: 50.54 MB / 357.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008863/0.1037, allocations: 7.076 MB / 364.6 MB, free: 6.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006109/0.1098, allocations: 3.181 MB / 367.8 MB, free: 3.719 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006332/0.1105, allocations: 31.94 kB / 367.8 MB, free: 3.688 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.1122, allocations: 0.7859 MB / 368.6 MB, free: 2.898 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002692/0.1149, allocations: 1.288 MB / 369.9 MB, free: 1.605 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009891/0.1159, allocations: 0.495 MB / 370.4 MB, free: 1.109 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.161/0.277, allocations: 2.541 MB / 372.9 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002381/0.2794, allocations: 1.156 MB / 374.1 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001687/0.2811, allocations: 0.7484 MB / 374.8 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002122/0.2833, allocations: 1.103 MB / 375.9 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00054/0.2838, allocations: 133.9 kB / 376.1 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002464/0.2863, allocations: 0.8643 MB / 376.9 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001499/0.2878, allocations: 0.9861 MB / 377.9 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001517/0.2893, allocations: 1.175 MB / 379.1 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007206/0.2966, allocations: 3.743 MB / 382.8 MB, free: 7.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.2966, allocations: 0 / 382.8 MB, free: 7.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.2966, allocations: 3.094 kB / 382.8 MB, free: 7.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001142/0.2967, allocations: 1.125 kB / 382.8 MB, free: 7.75 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.009543/0.3063, allocations: 2.871 MB / 385.7 MB, free: 6.137 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.3064, allocations: 9.25 kB / 385.7 MB, free: 6.137 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009691/0.3161, allocations: 1.631 MB / 387.4 MB, free: 5.848 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00346/0.3196, allocations: 1.296 MB / 388.7 MB, free: 5.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.3197, allocations: 118 kB / 388.8 MB, free: 5.043 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003737/0.3201, allocations: 159.7 kB / 388.9 MB, free: 5.008 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01299/0.3331, allocations: 6.361 MB / 395.3 MB, free: 1.133 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.289e-05/0.3332, allocations: 40.48 kB / 395.3 MB, free: 1.121 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000321/0.3336, allocations: 80.2 kB / 395.4 MB, free: 1.098 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003533/0.3371, allocations: 1.434 MB / 396.8 MB, free: 0.543 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01353/0.3507, allocations: 5.669 MB / 402.5 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03622/0.3869, allocations: 26.27 MB / 428.8 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005059/0.392, allocations: 2.277 MB / 431.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/0.3936, allocations: 1.022 MB / 432.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.002e-05/0.3937, allocations: 10.34 kB / 432.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.3937, allocations: 46.06 kB / 432.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=98): time 1.325e-05/0.3937, allocations: 4 kB / 432.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.02287/0.4166, allocations: 8.573 MB / 440.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.462e-05/0.4167, allocations: 143.7 kB / 440.8 MB, free: 4.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004348/0.4211, allocations: 2.817 MB / 443.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002396/0.4214, allocations: 45.7 kB / 443.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001788/0.4232, allocations: 2.063 MB / 445.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006035/0.4238, allocations: 439.5 kB / 446.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001324/0.4251, allocations: 0.8793 MB / 447.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.4252, allocations: 301.1 kB / 447.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002388/0.4276, allocations: 1.418 MB / 448.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005015/0.4327, allocations: 4.245 MB / 453 MB, free: 7.188 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008263/0.441, allocations: 6.14 MB / 459.2 MB, free: 15.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.614e-05/0.441, allocations: 28 kB / 459.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01317/0.4542, allocations: 6.101 MB / 465.3 MB, free: 9.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.922e-05/0.4543, allocations: 55.97 kB / 465.4 MB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001053/0.4544, allocations: 100 kB / 465.5 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002371/0.4568, allocations: 0.8045 MB / 466.3 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003129/0.46, allocations: 0.9902 MB / 467.3 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006425/0.4664, allocations: 4.46 MB / 471.7 MB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00299/0.4694, allocations: 251.6 kB / 472 MB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004502/0.4699, allocations: 276 kB / 472.2 MB, free: 2.449 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.002281/0.4722, allocations: 1.37 MB / 473.6 MB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004148/0.4726, allocations: 229 kB / 473.8 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004132/0.4767, allocations: 1.857 MB / 475.7 MB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.842e-05/0.4768, allocations: 16 kB / 475.7 MB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.4768, allocations: 0 / 475.7 MB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.4768, allocations: 11.92 kB / 475.7 MB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009317/0.4861, allocations: 4.804 MB / 480.5 MB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/0.4862, allocations: 0 / 480.5 MB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006421/0.4868, allocations: 135.8 kB / 480.6 MB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002171/0.489, allocations: 0.656 MB / 481.3 MB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.795e-05/0.4891, allocations: 12 kB / 481.3 MB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005667/0.4948, allocations: 3.958 MB / 485.3 MB, free: 5.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4948, allocations: 4.062 kB / 485.3 MB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006453/0.5012, allocations: 3.688 MB / 489 MB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000734/0.502, allocations: 294 kB / 489.2 MB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002517/0.5023, allocations: 16 kB / 489.3 MB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000872/0.5032, allocations: 59.91 kB / 489.3 MB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.5033, allocations: 59.86 kB / 489.4 MB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.778e-05/0.5034, allocations: 24 kB / 489.4 MB, free: 0.9961 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003157/0.5066, allocations: 1.757 MB / 491.2 MB, free: 15.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5066, allocations: 0 / 491.2 MB, free: 15.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003659/0.5103, allocations: 0.6357 MB / 491.8 MB, free: 14.6 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.0003414/0.5106, allocations: 144.8 kB / 491.9 MB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006133/0.5168, allocations: 3.639 MB / 495.6 MB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.5168, allocations: 0 / 495.6 MB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.5181, allocations: 0.9349 MB / 496.5 MB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001735/0.5199, allocations: 257.6 kB / 496.8 MB, free: 9.625 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009413/0.5293, allocations: 5.485 MB / 0.4905 GB, free: 4.098 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002375/0.5317, allocations: 2.18 MB / 0.4926 GB, free: 1.879 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003277/0.535, allocations: 1.396 MB / 0.494 GB, free: 488 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003802/0.5354, allocations: 167.4 kB / 0.4941 GB, free: 324 kB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5354, allocations: 0 / 0.4941 GB, free: 324 kB / 414.1 MB Notification: Performance of Templates: time 0.04826/0.5837, allocations: 22.86 MB / 0.5165 GB, free: 9.566 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches