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.00127/0.00127, allocations: 102.1 kB / 18.4 MB, free: 4.66 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.001248/0.001248, allocations: 190.4 kB / 19.33 MB, free: 3.738 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.312/1.312, 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.001258/0.001259, allocations: 55.92 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08845/0.08971, allocations: 46.61 MB / 375.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.2065/0.2962, allocations: 7.125 MB / 382.9 MB, free: 9.629 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006062/0.3024, allocations: 3.161 MB / 386.1 MB, free: 8.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.3036, allocations: 35.59 kB / 386.1 MB, free: 8.262 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002209/0.3059, allocations: 0.7833 MB / 386.9 MB, free: 7.926 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003391/0.3093, allocations: 1.311 MB / 388.2 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.3106, allocations: 0.4984 MB / 388.7 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004058/0.3147, allocations: 2.537 MB / 391.3 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001713/0.3164, allocations: 1.16 MB / 392.4 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001453/0.3179, allocations: 0.7686 MB / 393.2 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001627/0.3195, allocations: 1.103 MB / 394.3 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004192/0.32, allocations: 134.9 kB / 394.4 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001982/0.322, allocations: 0.8773 MB / 395.3 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.3231, allocations: 1.002 MB / 396.3 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00125/0.3244, allocations: 1.195 MB / 397.5 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005231/0.3296, allocations: 3.959 MB / 401.5 MB, free: 1.414 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3297, allocations: 1.125 kB / 401.5 MB, free: 1.414 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3297, allocations: 3.938 kB / 401.5 MB, free: 1.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001099/0.3298, allocations: 0 / 401.5 MB, free: 1.41 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.007767/0.3376, allocations: 2.899 MB / 404.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.3377, allocations: 8.906 kB / 404.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006171/0.3438, allocations: 1.639 MB / 406 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003589/0.3474, allocations: 1.373 MB / 407.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/0.3476, allocations: 124.4 kB / 407.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005828/0.3482, allocations: 160.3 kB / 407.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01333/0.3616, allocations: 6.363 MB / 414 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000131/0.3617, allocations: 35.66 kB / 414.1 MB, free: 8.676 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000672/0.3624, allocations: 79.89 kB / 414.1 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003434/0.3659, allocations: 1.437 MB / 415.6 MB, free: 7.164 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01068/0.3766, allocations: 5.67 MB / 421.2 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03524/0.4119, allocations: 26.2 MB / 447.4 MB, free: 6.457 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004649/0.4166, allocations: 2.267 MB / 449.7 MB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001446/0.4181, allocations: 1.026 MB / 450.7 MB, free: 3.004 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.935e-05/0.4181, allocations: 19.98 kB / 450.8 MB, free: 2.984 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.4182, allocations: 44.19 kB / 450.8 MB, free: 2.934 MB / 366.1 MB Notification: Performance of pre-optimization done (n=98): time 5.07e-06/0.4182, allocations: 0 / 450.8 MB, free: 2.934 MB / 366.1 MB Notification: Performance of matching and sorting (n=106): time 0.02233/0.4405, allocations: 8.605 MB / 459.4 MB, free: 10.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.87e-05/0.4406, allocations: 152.4 kB / 459.6 MB, free: 10.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004436/0.4451, allocations: 2.824 MB / 462.4 MB, free: 7.168 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002023/0.4453, allocations: 41.7 kB / 462.4 MB, free: 7.121 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001506/0.4468, allocations: 2.067 MB / 464.5 MB, free: 5.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005563/0.4474, allocations: 434.7 kB / 464.9 MB, free: 4.594 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00133/0.4487, allocations: 0.8886 MB / 465.8 MB, free: 3.691 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.4488, allocations: 305.3 kB / 466.1 MB, free: 3.391 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002234/0.4511, allocations: 1.414 MB / 467.5 MB, free: 1.969 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004011/0.4551, allocations: 4.253 MB / 471.8 MB, free: 12.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007201/0.4623, allocations: 6.135 MB / 477.9 MB, free: 4.738 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001141/0.4625, allocations: 28 kB / 477.9 MB, free: 4.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01345/0.4759, allocations: 6.112 MB / 484 MB, free: 14.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.297e-05/0.4761, allocations: 48 kB / 484.1 MB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000178/0.4763, allocations: 100.9 kB / 484.2 MB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002654/0.4789, allocations: 0.793 MB / 485 MB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003135/0.4821, allocations: 0.9942 MB / 486 MB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005937/0.488, allocations: 4.481 MB / 490.5 MB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003367/0.4914, allocations: 239.6 kB / 490.7 MB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007381/0.4922, allocations: 276 kB / 491 MB, free: 7.523 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.002608/0.4948, allocations: 1.372 MB / 492.3 MB, free: 6.141 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004853/0.4953, allocations: 229 kB / 492.6 MB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003896/0.4992, allocations: 1.858 MB / 494.4 MB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.531e-05/0.4992, allocations: 12 kB / 494.4 MB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.4993, allocations: 7.938 kB / 494.4 MB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.4993, allocations: 3.984 kB / 494.4 MB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009271/0.5086, allocations: 4.801 MB / 499.2 MB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.5086, allocations: 12.05 kB / 499.2 MB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006381/0.5092, allocations: 131.8 kB / 499.4 MB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002014/0.5113, allocations: 0.6482 MB / 0.4883 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.667e-05/0.5114, allocations: 12 kB / 0.4883 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004882/0.5163, allocations: 3.957 MB / 0.4922 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5163, allocations: 4.062 kB / 0.4922 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005753/0.5221, allocations: 3.689 MB / 0.4958 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009601/0.523, allocations: 437.9 kB / 0.4962 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004368/0.5235, allocations: 15.98 kB / 0.4962 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.5246, allocations: 67.84 kB / 0.4963 GB, free: 5.969 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.5247, allocations: 51.88 kB / 0.4963 GB, free: 5.918 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.614e-05/0.5248, allocations: 31.98 kB / 0.4964 GB, free: 5.887 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003044/0.5279, allocations: 1.766 MB / 0.4981 GB, free: 4.113 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5279, allocations: 0 / 0.4981 GB, free: 4.113 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003498/0.5314, allocations: 0.6406 MB / 0.4987 GB, free: 3.473 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.0003534/0.5318, allocations: 151 kB / 0.4989 GB, free: 3.316 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005329/0.5371, allocations: 3.418 MB / 0.5022 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.5371, allocations: 0 / 0.5022 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.5384, allocations: 0.9402 MB / 0.5031 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.5401, allocations: 257.3 kB / 0.5034 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.5505, allocations: 5.714 MB / 0.5089 GB, free: 8.938 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002767/0.5533, allocations: 2.196 MB / 0.5111 GB, free: 6.711 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006301/0.5539, allocations: 195.4 kB / 0.5113 GB, free: 6.52 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.554, allocations: 0 / 0.5113 GB, free: 6.52 MB / 446.1 MB Notification: Performance of Templates: time 0.2507/0.8046, allocations: 47.93 MB / 0.5581 GB, free: 152.7 MB / 478.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/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