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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001243/0.001243, allocations: 196.1 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 225.5 MB / 234.4 MB, free: 3.355 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00111/0.001111, allocations: 93.38 kB / 286.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.268e-05/1.273e-05, allocations: 4 kB / 343.1 MB, free: 8.719 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1288, allocations: 51.47 MB / 394.6 MB, free: 5.199 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3842/0.513, allocations: 91.68 MB / 486.3 MB, free: 1.637 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000321/0.5134, allocations: 86.39 kB / 486.4 MB, free: 1.594 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1655/0.6789, allocations: 57.28 MB / 0.5309 GB, free: 13.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001754/0.6792, allocations: 43.98 kB / 0.531 GB, free: 13.4 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.01042/0.6896, allocations: 2.516 MB / 0.5334 GB, free: 10.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.6897, allocations: 12.03 kB / 0.5334 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008804/0.6985, allocations: 1.568 MB / 0.535 GB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008548/0.7071, allocations: 2.645 MB / 0.5375 GB, free: 6.551 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/0.7073, allocations: 79.91 kB / 0.5376 GB, free: 6.473 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001563/0.7089, allocations: 139.9 kB / 0.5378 GB, free: 6.336 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008684/0.7176, allocations: 4.038 MB / 0.5417 GB, free: 2.293 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01603/0.7337, allocations: 6.312 MB / 0.5479 GB, free: 11.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002887/0.7341, allocations: 51.53 kB / 0.5479 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001545/0.7357, allocations: 24 kB / 0.5479 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001337/0.737, allocations: 0.7576 MB / 0.5487 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3102/1.047, allocations: 32.6 MB / 0.5805 GB, free: 60.56 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002472/1.05, allocations: 2.146 MB / 0.5826 GB, free: 59.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/1.051, allocations: 1.128 MB / 0.5837 GB, free: 59.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005276/1.056, allocations: 3.622 MB / 0.5873 GB, free: 58.71 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/1.056, allocations: 47.11 kB / 0.5873 GB, free: 58.67 MB / 442.7 MB Notification: Performance of pre-optimization done (n=92): time 4.007e-06/1.056, allocations: 0 / 0.5873 GB, free: 58.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=101): time 0.01517/1.072, allocations: 8.089 MB / 0.5952 GB, free: 56.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/1.072, allocations: 143 kB / 0.5953 GB, free: 56.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003115/1.075, allocations: 2.186 MB / 0.5975 GB, free: 56.44 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.773e-05/1.075, allocations: 32.02 kB / 0.5975 GB, free: 56.41 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009436/1.076, allocations: 2.04 MB / 0.5995 GB, free: 55.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003289/1.076, allocations: 418 kB / 0.5999 GB, free: 54.97 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/1.076, allocations: 0 / 0.5999 GB, free: 54.97 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002521/1.077, allocations: 0.5449 MB / 0.6004 GB, free: 54.65 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/1.078, allocations: 1.339 MB / 0.6017 GB, free: 54.64 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0028/1.081, allocations: 4.251 MB / 0.6059 GB, free: 50.81 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002883/1.084, allocations: 2.397 MB / 0.6082 GB, free: 50.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.79e-05/1.084, allocations: 30.66 kB / 0.6082 GB, free: 50.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=586) (initialization): time 0.008687/1.093, allocations: 5.421 MB / 0.6135 GB, free: 50.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/1.093, allocations: 11.81 kB / 0.6136 GB, free: 50.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.372e-05/1.093, allocations: 102.8 kB / 0.6137 GB, free: 50.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002128/1.095, allocations: 0.7415 MB / 0.6144 GB, free: 50.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003114/1.098, allocations: 1.032 MB / 0.6154 GB, free: 50.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005498/1.104, allocations: 3.918 MB / 0.6192 GB, free: 48.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004062/1.108, allocations: 179.2 kB / 0.6194 GB, free: 48.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000768/1.108, allocations: 290.5 kB / 0.6197 GB, free: 48.93 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 (550): * Single equations (assignments): 546 * 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 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007024/1.109, allocations: 352.8 kB / 0.62 GB, free: 48.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004757/1.11, allocations: 215.6 kB / 0.6202 GB, free: 48.54 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00381/1.113, allocations: 1.734 MB / 0.6219 GB, free: 48.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.936e-05/1.114, allocations: 11.16 kB / 0.6219 GB, free: 48.46 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/1.114, allocations: 11.06 kB / 0.6219 GB, free: 48.46 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/1.114, allocations: 3.781 kB / 0.6219 GB, free: 48.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008925/1.123, allocations: 3.975 MB / 0.6258 GB, free: 48.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/1.123, allocations: 2.156 kB / 0.6258 GB, free: 48.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007386/1.123, allocations: 125.4 kB / 0.6259 GB, free: 48.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002116/1.125, allocations: 0.5774 MB / 0.6265 GB, free: 48.01 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.561e-05/1.126, allocations: 14.31 kB / 0.6265 GB, free: 48.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00425/1.13, allocations: 3.467 MB / 0.6299 GB, free: 46.78 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/1.13, allocations: 11.02 kB / 0.6299 GB, free: 46.78 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005862/1.136, allocations: 3.598 MB / 0.6334 GB, free: 45.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006985/1.136, allocations: 268.8 kB / 0.6337 GB, free: 45.58 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002697/1.137, allocations: 2.594 kB / 0.6337 GB, free: 45.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009046/1.138, allocations: 39.75 kB / 0.6337 GB, free: 45.58 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/1.138, allocations: 46.5 kB / 0.6337 GB, free: 45.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.823e-05/1.138, allocations: 32.73 kB / 0.6338 GB, free: 45.56 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.002501/1.14, allocations: 1.453 MB / 0.6352 GB, free: 45.01 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004045/1.144, allocations: 0.5538 MB / 0.6357 GB, free: 45 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 (70): * Single equations (assignments): 66 * 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.0003983/1.145, allocations: 147.4 kB / 0.6359 GB, free: 44.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005177/1.15, allocations: 3.191 MB / 0.639 GB, free: 43.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.15, allocations: 0 / 0.639 GB, free: 43.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001003/1.151, allocations: 0.8836 MB / 0.6399 GB, free: 43.49 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/1.152, allocations: 193.3 kB / 0.64 GB, free: 43.39 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008062/1.16, allocations: 4.415 MB / 0.6444 GB, free: 41.83 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002413/1.163, allocations: 2.419 MB / 0.6467 GB, free: 40.79 MB / 442.7 MB Notification: Performance of SimCode: time 1.022e-06/1.163, allocations: 0 / 0.6467 GB, free: 40.79 MB / 442.7 MB Notification: Performance of Templates: time 0.04373/1.206, allocations: 22.14 MB / 0.6683 GB, free: 38.34 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