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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001887/0.001887, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002315/0.002315, allocations: 165.7 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 177.1 MB / 204.7 MB, free: 8.914 MB / 190.1 MB " [Timeout remaining time 178] 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=5002,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=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 62.42 kB / 325.5 MB, free: 240 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09496/0.09692, allocations: 53.39 MB / 378.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008292/0.1052, allocations: 6.329 MB / 385.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006242/0.1115, allocations: 2.995 MB / 388.2 MB, free: 6.184 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008624/0.1123, allocations: 39.81 kB / 388.3 MB, free: 6.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.1142, allocations: 0.7859 MB / 389.1 MB, free: 5.355 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0034/0.1176, allocations: 1.323 MB / 390.4 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.1187, allocations: 0.4951 MB / 390.9 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003344/0.122, allocations: 2.544 MB / 393.4 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/0.1234, allocations: 1.082 MB / 394.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009222/0.1243, allocations: 0.7628 MB / 395.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001497/0.1258, allocations: 1.176 MB / 396.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002487/0.1261, allocations: 136 kB / 396.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/0.1274, allocations: 0.7644 MB / 397.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009047/0.1283, allocations: 1.012 MB / 398.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008737/0.1292, allocations: 0.8457 MB / 399.2 MB, free: 11.17 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004031/0.1332, allocations: 3.94 MB / 403.1 MB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1332, allocations: 3.984 kB / 403.1 MB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1332, allocations: 0 / 403.1 MB, free: 7.211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.377e-05/0.1333, allocations: 3.938 kB / 403.1 MB, free: 7.207 MB / 366.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.004705/0.138, allocations: 2.861 MB / 406 MB, free: 4.301 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.138, allocations: 8.031 kB / 406 MB, free: 4.293 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006294/0.1443, allocations: 1.727 MB / 407.7 MB, free: 2.562 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002391/0.1467, allocations: 1.263 MB / 409 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.1468, allocations: 118.8 kB / 409.1 MB, free: 1.156 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003031/0.1471, allocations: 159.8 kB / 409.3 MB, free: 1 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009089/0.1562, allocations: 6.363 MB / 415.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.788e-05/0.1563, allocations: 31.75 kB / 415.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002484/0.1565, allocations: 79.89 kB / 415.7 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002542/0.159, allocations: 1.444 MB / 417.2 MB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/0.1703, allocations: 5.673 MB / 422.9 MB, free: 2.871 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03451/0.2048, allocations: 24.84 MB / 447.7 MB, free: 9.215 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004513/0.2093, allocations: 1.774 MB / 449.5 MB, free: 7.406 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/0.2108, allocations: 0.9468 MB / 450.4 MB, free: 6.449 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.281e-05/0.2108, allocations: 11.94 kB / 450.4 MB, free: 6.438 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/0.2109, allocations: 46.56 kB / 450.5 MB, free: 6.383 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 3.727e-06/0.2109, allocations: 0 / 450.5 MB, free: 6.383 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02299/0.2339, allocations: 8.683 MB / 459.2 MB, free: 13.63 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.234, allocations: 144.5 kB / 459.3 MB, free: 13.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003957/0.238, allocations: 2.638 MB / 461.9 MB, free: 10.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001427/0.2381, allocations: 37.7 kB / 462 MB, free: 10.74 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001787/0.2399, allocations: 2.178 MB / 464.2 MB, free: 8.539 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005785/0.2405, allocations: 456.6 kB / 464.6 MB, free: 8.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001384/0.2419, allocations: 0.8933 MB / 465.5 MB, free: 7.184 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.242, allocations: 349.9 kB / 465.8 MB, free: 6.836 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002533/0.2446, allocations: 1.43 MB / 467.3 MB, free: 5.398 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1975/0.4421, allocations: 4.254 MB / 471.5 MB, free: 79.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006222/0.4483, allocations: 6.145 MB / 477.7 MB, free: 75.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.132e-05/0.4484, allocations: 29.03 kB / 477.7 MB, free: 75.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01143/0.4598, allocations: 6.1 MB / 483.8 MB, free: 73.22 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.908e-05/0.4599, allocations: 48.44 kB / 483.8 MB, free: 73.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/0.46, allocations: 101.8 kB / 483.9 MB, free: 73.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002286/0.4623, allocations: 0.8026 MB / 484.7 MB, free: 73.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002855/0.4651, allocations: 0.9991 MB / 485.7 MB, free: 73.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004611/0.4697, allocations: 4.319 MB / 490.1 MB, free: 70.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002904/0.4726, allocations: 275.9 kB / 490.3 MB, free: 70.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000385/0.473, allocations: 273.8 kB / 490.6 MB, free: 70.66 MB / 430.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.001692/0.4747, allocations: 1.362 MB / 492 MB, free: 70.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000313/0.475, allocations: 216.5 kB / 492.2 MB, free: 70.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003144/0.4782, allocations: 1.826 MB / 494 MB, free: 69.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.4782, allocations: 14.38 kB / 494 MB, free: 69.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.4782, allocations: 3.75 kB / 494 MB, free: 69.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.4782, allocations: 3.891 kB / 494 MB, free: 69.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006418/0.4846, allocations: 4.148 MB / 498.2 MB, free: 67.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.4846, allocations: 7.109 kB / 498.2 MB, free: 67.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000569/0.4852, allocations: 131.8 kB / 498.3 MB, free: 67.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001827/0.487, allocations: 0.6483 MB / 499 MB, free: 66.51 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.924e-05/0.4871, allocations: 22.66 kB / 499 MB, free: 66.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003864/0.491, allocations: 3.788 MB / 0.491 GB, free: 62.63 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.491, allocations: 7.969 kB / 0.491 GB, free: 62.63 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004642/0.4956, allocations: 3.668 MB / 0.4946 GB, free: 59.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004059/0.496, allocations: 196.5 kB / 0.4948 GB, free: 58.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002842/0.4963, allocations: 17.64 kB / 0.4948 GB, free: 58.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009395/0.4973, allocations: 71.89 kB / 0.4948 GB, free: 58.81 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.4974, allocations: 55.89 kB / 0.4949 GB, free: 58.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.85e-05/0.4975, allocations: 28 kB / 0.4949 GB, free: 58.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001946/0.4994, allocations: 1.499 MB / 0.4964 GB, free: 57.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4994, allocations: 4 kB / 0.4964 GB, free: 57.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003158/0.5026, allocations: 0.6275 MB / 0.497 GB, free: 56.59 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.0002827/0.5028, allocations: 148.8 kB / 0.4971 GB, free: 56.45 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00425/0.5071, allocations: 3.312 MB / 0.5004 GB, free: 53.15 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5071, allocations: 0.5469 kB / 0.5004 GB, free: 53.15 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009392/0.508, allocations: 0.8771 MB / 0.5012 GB, free: 52.26 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.5094, allocations: 218.9 kB / 0.5014 GB, free: 52.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007079/0.5165, allocations: 5.504 MB / 0.5068 GB, free: 46.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00182/0.5183, allocations: 1.614 MB / 0.5084 GB, free: 44.89 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002488/0.5208, allocations: 1.367 MB / 0.5097 GB, free: 43.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003953/0.5212, allocations: 156.5 kB / 0.5099 GB, free: 43.36 MB / 430.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5212, allocations: 3.938 kB / 0.5099 GB, free: 43.36 MB / 430.1 MB Notification: Performance of Templates: time 0.03206/0.5532, allocations: 18.25 MB / 0.5277 GB, free: 25.45 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.6707899670582265]