Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 171.5 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008012/0.0008013, allocations: 86.64 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.387e-05/3.39e-05, allocations: 0 / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.116, allocations: 47.58 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4142/0.5302, allocations: 99.6 MB / 469.6 MB, free: 9.945 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.5305, allocations: 87.23 kB / 469.7 MB, free: 9.902 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4398/0.9704, allocations: 75.68 MB / 0.5326 GB, free: 93.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.9704, allocations: 0 / 0.5326 GB, free: 93.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002333/0.9707, allocations: 70.91 kB / 0.5327 GB, free: 93.79 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: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.01292/0.9836, allocations: 3.486 MB / 0.5361 GB, free: 93.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/0.9837, allocations: 10.75 kB / 0.5361 GB, free: 93.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/0.9953, allocations: 2.274 MB / 0.5383 GB, free: 92.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01256/1.008, allocations: 3.932 MB / 0.5421 GB, free: 92.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003559/1.008, allocations: 280.7 kB / 0.5424 GB, free: 92.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001688/1.01, allocations: 372.7 kB / 0.5428 GB, free: 92.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02122/1.031, allocations: 10.38 MB / 0.5529 GB, free: 89.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001378/1.031, allocations: 61.34 kB / 0.553 GB, free: 89.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005967/1.032, allocations: 181.8 kB / 0.5531 GB, free: 89.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001265/1.033, allocations: 0.9985 MB / 0.5541 GB, free: 89.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.017/1.05, allocations: 8.578 MB / 0.5625 GB, free: 89.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0416/1.092, allocations: 44.74 MB / 0.6062 GB, free: 57.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008568/1.1, allocations: 3.84 MB / 0.6099 GB, free: 55.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001968/1.102, allocations: 1.761 MB / 0.6117 GB, free: 54.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01011/1.113, allocations: 7.653 MB / 0.6191 GB, free: 50.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/1.113, allocations: 54.17 kB / 0.6192 GB, free: 50.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 5.26e-06/1.113, allocations: 0 / 0.6192 GB, free: 50.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=166): time 0.04016/1.153, allocations: 14.72 MB / 0.6336 GB, free: 39.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/1.153, allocations: 145.5 kB / 0.6337 GB, free: 38.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004124/1.157, allocations: 3.06 MB / 0.6367 GB, free: 36.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003418/1.157, allocations: 45.7 kB / 0.6367 GB, free: 36.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001381/1.159, allocations: 2.735 MB / 0.6394 GB, free: 33.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007316/1.16, allocations: 0.6524 MB / 0.64 GB, free: 33.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/1.16, allocations: 108 kB / 0.6401 GB, free: 32.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002947/1.16, allocations: 0.5381 MB / 0.6407 GB, free: 32.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002436/1.163, allocations: 1.867 MB / 0.6425 GB, free: 30.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003592/1.166, allocations: 5.257 MB / 0.6476 GB, free: 24.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003524/1.17, allocations: 3.089 MB / 0.6506 GB, free: 21.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.463e-05/1.17, allocations: 36 kB / 0.6507 GB, free: 21.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.0141/1.184, allocations: 7.987 MB / 0.6585 GB, free: 14.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/1.184, allocations: 57.25 kB / 0.6585 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001303/1.184, allocations: 128.1 kB / 0.6586 GB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003769/1.188, allocations: 1.308 MB / 0.6599 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004142/1.192, allocations: 1.271 MB / 0.6612 GB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007621/1.2, allocations: 6.109 MB / 0.6671 GB, free: 5.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004896/1.205, allocations: 335.5 kB / 0.6674 GB, free: 5.191 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001219/1.206, allocations: 336 kB / 0.6678 GB, free: 4.863 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (679): * Single equations (assignments): 675 * 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,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008297/1.207, allocations: 0.5438 MB / 0.6683 GB, free: 4.316 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006213/1.207, allocations: 308 kB / 0.6686 GB, free: 4.012 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006369/1.214, allocations: 3.32 MB / 0.6718 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.59e-05/1.214, allocations: 20 kB / 0.6719 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/1.214, allocations: 11.94 kB / 0.6719 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/1.214, allocations: 7.969 kB / 0.6719 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01413/1.228, allocations: 7.565 MB / 0.6793 GB, free: 9.027 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/1.228, allocations: 4 kB / 0.6793 GB, free: 9.023 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/1.229, allocations: 239.7 kB / 0.6795 GB, free: 8.789 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003737/1.233, allocations: 1.113 MB / 0.6806 GB, free: 7.672 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002283/1.233, allocations: 28 kB / 0.6806 GB, free: 7.645 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008716/1.242, allocations: 5.753 MB / 0.6862 GB, free: 1.766 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.242, allocations: 7.969 kB / 0.6862 GB, free: 1.758 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2619/1.504, allocations: 5.686 MB / 0.6918 GB, free: 98.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002258/1.506, allocations: 0.5765 MB / 0.6923 GB, free: 98.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006502/1.507, allocations: 23.06 kB / 0.6924 GB, free: 98.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/1.508, allocations: 110.7 kB / 0.6925 GB, free: 98.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003063/1.509, allocations: 89.12 kB / 0.6926 GB, free: 98.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/1.509, allocations: 43.73 kB / 0.6926 GB, free: 98.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004172/1.513, allocations: 2.103 MB / 0.6947 GB, free: 97.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.513, allocations: 3.656 kB / 0.6947 GB, free: 97.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005581/1.519, allocations: 0.9216 MB / 0.6956 GB, free: 97.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 125 * 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%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005364/1.519, allocations: 181.4 kB / 0.6957 GB, free: 97.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008334/1.528, allocations: 4.654 MB / 0.7003 GB, free: 97.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.842e-06/1.528, allocations: 1.25 kB / 0.7003 GB, free: 97.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002435/1.53, allocations: 1.508 MB / 0.7018 GB, free: 97.63 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002089/1.532, allocations: 319.9 kB / 0.7021 GB, free: 97.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/1.544, allocations: 6.595 MB / 0.7085 GB, free: 96.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002478/1.546, allocations: 2.935 MB / 0.7114 GB, free: 95.58 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004083/1.55, allocations: 1.705 MB / 0.713 GB, free: 95.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005834/1.551, allocations: 219.2 kB / 0.7132 GB, free: 95.54 MB / 426.7 MB Notification: Performance of SimCode: time 1.643e-06/1.551, allocations: 0 / 0.7132 GB, free: 95.54 MB / 426.7 MB Notification: Performance of Templates: time 0.05371/1.605, allocations: 31.8 MB / 0.7443 GB, free: 94.09 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches