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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001317/0.001317, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008865/0.0008865, allocations: 99.23 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.594e-05/1.595e-05, allocations: 4 kB / 343.7 MB, free: 8.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1138, allocations: 51.48 MB / 395.2 MB, free: 4.746 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4162/0.5301, allocations: 91.75 MB / 486.9 MB, free: 1.602 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/0.5304, allocations: 87.17 kB / 487 MB, free: 1.559 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1676/0.698, allocations: 58.31 MB / 0.5325 GB, free: 11.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6981, allocations: 0 / 0.5325 GB, free: 11.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.359e-05/0.6982, allocations: 44 kB / 0.5326 GB, free: 11.93 MB / 410.7 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.006589/0.7048, allocations: 2.548 MB / 0.5351 GB, free: 9.332 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.7048, allocations: 12.03 kB / 0.5351 GB, free: 9.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008792/0.7136, allocations: 1.97 MB / 0.537 GB, free: 7.344 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007043/0.7207, allocations: 2.628 MB / 0.5396 GB, free: 4.668 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.7209, allocations: 79.61 kB / 0.5396 GB, free: 4.594 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006526/0.7216, allocations: 135.9 kB / 0.5398 GB, free: 4.461 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006094/0.7277, allocations: 3.913 MB / 0.5436 GB, free: 0.543 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008447/0.7361, allocations: 6.195 MB / 0.5496 GB, free: 9.551 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.302e-05/0.7363, allocations: 47.53 kB / 0.5497 GB, free: 9.504 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002843/0.7365, allocations: 24 kB / 0.5497 GB, free: 9.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00102/0.7376, allocations: 0.7149 MB / 0.5504 GB, free: 8.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3494/1.087, allocations: 32.03 MB / 0.5817 GB, free: 75.71 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002356/1.089, allocations: 2.016 MB / 0.5837 GB, free: 75.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/1.091, allocations: 0.9883 MB / 0.5846 GB, free: 75.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.477e-05/1.091, allocations: 14.11 kB / 0.5846 GB, free: 75.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/1.091, allocations: 47.03 kB / 0.5847 GB, free: 74.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=98): time 4.058e-06/1.091, allocations: 0 / 0.5847 GB, free: 74.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=106): time 0.01419/1.105, allocations: 8.143 MB / 0.5926 GB, free: 73.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/1.105, allocations: 146.1 kB / 0.5928 GB, free: 73.04 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003175/1.108, allocations: 2.158 MB / 0.5949 GB, free: 72.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002044/1.108, allocations: 31.98 kB / 0.5949 GB, free: 72.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001235/1.11, allocations: 2.126 MB / 0.597 GB, free: 71.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004122/1.11, allocations: 432.8 kB / 0.5974 GB, free: 71.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/1.11, allocations: 0 / 0.5974 GB, free: 71.38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002583/1.111, allocations: 0.5452 MB / 0.5979 GB, free: 71.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00157/1.112, allocations: 1.31 MB / 0.5992 GB, free: 71.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002571/1.115, allocations: 4.229 MB / 0.6033 GB, free: 67.21 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002592/1.117, allocations: 2.342 MB / 0.6056 GB, free: 67.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.596e-05/1.117, allocations: 32.25 kB / 0.6057 GB, free: 67.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=591) (initialization): time 0.008356/1.126, allocations: 5.486 MB / 0.611 GB, free: 66.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.929e-05/1.126, allocations: 52.66 kB / 0.6111 GB, free: 66.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.963e-05/1.126, allocations: 108.5 kB / 0.6112 GB, free: 66.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002072/1.128, allocations: 0.809 MB / 0.612 GB, free: 66.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00288/1.131, allocations: 1.041 MB / 0.613 GB, free: 66.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004709/1.136, allocations: 3.969 MB / 0.6169 GB, free: 65.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003808/1.139, allocations: 206 kB / 0.6171 GB, free: 65.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008073/1.14, allocations: 283.6 kB / 0.6173 GB, free: 65.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (555): * Single equations (assignments): 551 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007322/1.141, allocations: 356.2 kB / 0.6177 GB, free: 65.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005475/1.142, allocations: 216.5 kB / 0.6179 GB, free: 64.92 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003737/1.145, allocations: 1.78 MB / 0.6196 GB, free: 64.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-05/1.145, allocations: 13.08 kB / 0.6196 GB, free: 64.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/1.145, allocations: 3.156 kB / 0.6196 GB, free: 64.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/1.145, allocations: 4.609 kB / 0.6196 GB, free: 64.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007816/1.153, allocations: 4.318 MB / 0.6238 GB, free: 62.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/1.153, allocations: 0 / 0.6238 GB, free: 62.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006027/1.154, allocations: 144.3 kB / 0.624 GB, free: 62.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001901/1.156, allocations: 0.6394 MB / 0.6246 GB, free: 62.78 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-05/1.156, allocations: 14.19 kB / 0.6246 GB, free: 62.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003833/1.16, allocations: 3.498 MB / 0.628 GB, free: 60.86 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/1.16, allocations: 0 / 0.628 GB, free: 60.86 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006082/1.166, allocations: 3.673 MB / 0.6316 GB, free: 59.35 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000649/1.167, allocations: 270.2 kB / 0.6319 GB, free: 59.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002141/1.167, allocations: 6.688 kB / 0.6319 GB, free: 59.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009569/1.168, allocations: 60.5 kB / 0.6319 GB, free: 59.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/1.168, allocations: 50.27 kB / 0.632 GB, free: 59.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.514e-05/1.168, allocations: 31.73 kB / 0.632 GB, free: 59.11 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00277/1.171, allocations: 1.421 MB / 0.6334 GB, free: 58.56 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.92e-07/1.171, allocations: 1.469 kB / 0.6334 GB, free: 58.56 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004386/1.175, allocations: 0.5606 MB / 0.634 GB, free: 58.55 MB / 442.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004029/1.176, allocations: 143.4 kB / 0.6341 GB, free: 58.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005362/1.181, allocations: 3.173 MB / 0.6372 GB, free: 57.36 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.181, allocations: 7.562 kB / 0.6372 GB, free: 57.35 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/1.182, allocations: 0.9016 MB / 0.6381 GB, free: 56.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/1.183, allocations: 192 kB / 0.6383 GB, free: 56.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007069/1.19, allocations: 4.374 MB / 0.6425 GB, free: 55.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001727/1.192, allocations: 2.233 MB / 0.6447 GB, free: 54.24 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003077/1.195, allocations: 1.449 MB / 0.6461 GB, free: 54.13 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003485/1.196, allocations: 156.2 kB / 0.6463 GB, free: 54.12 MB / 442.7 MB Notification: Performance of SimCode: time 1.422e-06/1.196, allocations: 0 / 0.6463 GB, free: 54.12 MB / 442.7 MB Notification: Performance of Templates: time 0.03785/1.233, allocations: 19.1 MB / 0.6649 GB, free: 53.17 MB / 442.7 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.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches