Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00106/0.00106, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001136/0.001136, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2156, allocations: 50.54 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01008/0.2257, allocations: 10.25 MB / 420.2 MB, free: 7.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00652/0.2323, allocations: 3.881 MB / 424.1 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008017/0.2331, allocations: 59.88 kB / 424.1 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003423/0.2366, allocations: 2.075 MB / 426.2 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00314/0.2397, allocations: 1.634 MB / 427.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.241, allocations: 0.694 MB / 428.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003493/0.2445, allocations: 3.396 MB / 431.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002464/0.247, allocations: 2.677 MB / 434.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001273/0.2483, allocations: 1.25 MB / 435.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001744/0.25, allocations: 1.76 MB / 437.6 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004006/0.2504, allocations: 264 kB / 437.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001698/0.2521, allocations: 1.1 MB / 439 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001171/0.2533, allocations: 1.566 MB / 440.5 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001423/0.2547, allocations: 1.852 MB / 442.4 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004893/0.2597, allocations: 5.879 MB / 448.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2597, allocations: 0 / 448.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2597, allocations: 4 kB / 448.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.482e-05/0.2597, allocations: 0 / 448.3 MB, free: 11.05 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: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.006419/0.2662, allocations: 4.102 MB / 452.4 MB, free: 6.887 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.2662, allocations: 16.02 kB / 452.4 MB, free: 6.871 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006583/0.2728, allocations: 1.852 MB / 454.2 MB, free: 5.012 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003228/0.276, allocations: 1.886 MB / 456.1 MB, free: 3.074 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/0.2762, allocations: 209.2 kB / 456.3 MB, free: 2.867 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004472/0.2767, allocations: 271.8 kB / 456.6 MB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01692/0.2936, allocations: 10 MB / 466.6 MB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001085/0.2937, allocations: 35.69 kB / 466.6 MB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005541/0.2943, allocations: 139.8 kB / 466.8 MB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003089/0.2974, allocations: 1.848 MB / 468.6 MB, free: 5.895 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01702/0.3144, allocations: 8.567 MB / 477.2 MB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04162/0.3561, allocations: 36.69 MB / 0.5018 GB, free: 7.586 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01006/0.3662, allocations: 3.901 MB / 0.5056 GB, free: 3.488 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002446/0.3686, allocations: 1.814 MB / 0.5074 GB, free: 1.668 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01131/0.38, allocations: 7.615 MB / 0.5149 GB, free: 9.754 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.38, allocations: 47.55 kB / 0.5149 GB, free: 9.699 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 4.178e-06/0.38, allocations: 0 / 0.5149 GB, free: 9.699 MB / 446.1 MB Notification: Performance of matching and sorting (n=166): time 0.05288/0.4329, allocations: 17.55 MB / 0.532 GB, free: 8.02 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.433, allocations: 149.5 kB / 0.5322 GB, free: 7.844 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004489/0.4375, allocations: 3.461 MB / 0.5356 GB, free: 4.379 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001328/0.4376, allocations: 49.7 kB / 0.5356 GB, free: 4.324 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001729/0.4394, allocations: 2.728 MB / 0.5383 GB, free: 1.562 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005392/0.4399, allocations: 0.6557 MB / 0.5389 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2012/0.6412, allocations: 1.114 MB / 0.54 GB, free: 125.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.155e-05/0.6413, allocations: 305.9 kB / 0.5403 GB, free: 125.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004063/0.6453, allocations: 1.963 MB / 0.5422 GB, free: 125.4 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004433/0.6498, allocations: 5.39 MB / 0.5475 GB, free: 120.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006917/0.6567, allocations: 7.956 MB / 0.5552 GB, free: 113.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.457e-05/0.6568, allocations: 33.75 kB / 0.5553 GB, free: 113.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.01313/0.6699, allocations: 8.193 MB / 0.5633 GB, free: 109.7 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.335e-05/0.67, allocations: 60.06 kB / 0.5633 GB, free: 109.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001204/0.6702, allocations: 123.8 kB / 0.5634 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00378/0.674, allocations: 1.297 MB / 0.5647 GB, free: 108.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003468/0.6774, allocations: 1.27 MB / 0.566 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00738/0.6848, allocations: 6.541 MB / 0.5723 GB, free: 101.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003647/0.6885, allocations: 300.5 kB / 0.5726 GB, free: 101.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003315/0.6888, allocations: 347.7 kB / 0.573 GB, free: 100.8 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 36 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (685): * Single equations (assignments): 681 * 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 {(3,17,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001902/0.6907, allocations: 1.81 MB / 0.5747 GB, free: 99.04 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000378/0.6911, allocations: 304.3 kB / 0.575 GB, free: 98.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006412/0.6975, allocations: 3.381 MB / 0.5783 GB, free: 95.51 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.6976, allocations: 11.97 kB / 0.5783 GB, free: 95.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.6976, allocations: 0 / 0.5783 GB, free: 95.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004549/0.698, allocations: 343 kB / 0.5787 GB, free: 95.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003487/0.6984, allocations: 31.94 kB / 0.5787 GB, free: 95.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.6997, allocations: 95.86 kB / 0.5788 GB, free: 95.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002265/0.6999, allocations: 104.8 kB / 0.5789 GB, free: 95.07 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006106/0.7061, allocations: 3.653 MB / 0.5825 GB, free: 91.45 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004637/0.7107, allocations: 4.672 MB / 0.587 GB, free: 86.75 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001232/0.712, allocations: 1.2 MB / 0.5882 GB, free: 85.55 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002328/0.7143, allocations: 2.146 MB / 0.5903 GB, free: 83.42 MB / 462.1 MB Notification: Performance of Backend: time 3.8e-07/0.7143, allocations: 4 kB / 0.5903 GB, free: 83.41 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006311/0.7206, allocations: 3.99 MB / 0.5942 GB, free: 79.48 MB / 462.1 MB Notification: Performance of SimCode: time 0.008782/0.7294, allocations: 7.916 MB / 0.6019 GB, free: 71.53 MB / 462.1 MB Notification: Performance of Templates: time 0.05547/0.7849, allocations: 41.11 MB / 0.6421 GB, free: 30.59 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches