Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001469, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 223.3 MB / 241.4 MB, free: 9.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007911/0.0007913, allocations: 89.48 kB / 292.6 MB, free: 10.56 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003539, allocations: 11.94 kB / 352.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2568, allocations: 50.4 MB / 402.7 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.123/0.3799, allocations: 101.4 MB / 0.4924 GB, free: 10.89 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.3802, allocations: 97.27 kB / 0.4924 GB, free: 10.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3997/0.7799, allocations: 75.67 MB / 0.5663 GB, free: 47.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.78, allocations: 0 / 0.5663 GB, free: 47.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001641/0.7802, allocations: 68 kB / 0.5664 GB, free: 47.77 MB / 378.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.009066/0.7892, allocations: 3.549 MB / 0.5699 GB, free: 44.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.7893, allocations: 12.03 kB / 0.5699 GB, free: 44.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00869/0.798, allocations: 2.188 MB / 0.572 GB, free: 41.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006169/0.8042, allocations: 2.719 MB / 0.5747 GB, free: 39.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002625/0.8045, allocations: 283.7 kB / 0.5749 GB, free: 38.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001611/0.8061, allocations: 372.3 kB / 0.5753 GB, free: 38.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02114/0.8273, allocations: 10.4 MB / 0.5855 GB, free: 27.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003008/0.8276, allocations: 51.66 kB / 0.5855 GB, free: 27.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001904/0.8295, allocations: 191.8 kB / 0.5857 GB, free: 26.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001441/0.831, allocations: 0.9976 MB / 0.5867 GB, free: 25.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01651/0.8475, allocations: 8.652 MB / 0.5951 GB, free: 17.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05057/0.8981, allocations: 44.66 MB / 0.6387 GB, free: 3.203 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009185/0.9073, allocations: 3.858 MB / 0.6425 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002449/0.9098, allocations: 1.794 MB / 0.6442 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01074/0.9206, allocations: 7.559 MB / 0.6516 GB, free: 5.508 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.27e-05/0.9207, allocations: 59.5 kB / 0.6517 GB, free: 5.441 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 4.077e-06/0.9207, allocations: 0 / 0.6517 GB, free: 5.441 MB / 426.7 MB Notification: Performance of matching and sorting (n=166): time 0.2506/1.171, allocations: 17.1 MB / 0.6684 GB, free: 100.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/1.171, allocations: 145.9 kB / 0.6685 GB, free: 100.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004184/1.176, allocations: 3.475 MB / 0.6719 GB, free: 100 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002016/1.176, allocations: 51.33 kB / 0.672 GB, free: 100 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00134/1.177, allocations: 2.739 MB / 0.6746 GB, free: 98.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005717/1.178, allocations: 0.6421 MB / 0.6753 GB, free: 98.26 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/1.178, allocations: 111.4 kB / 0.6754 GB, free: 98.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000247/1.178, allocations: 0.5342 MB / 0.6759 GB, free: 97.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002791/1.181, allocations: 1.943 MB / 0.6778 GB, free: 97.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004064/1.185, allocations: 5.344 MB / 0.683 GB, free: 93.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008203/1.193, allocations: 7.892 MB / 0.6907 GB, free: 88.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001587/1.194, allocations: 33.66 kB / 0.6907 GB, free: 88.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.01823/1.212, allocations: 8.143 MB / 0.6987 GB, free: 85.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001722/1.212, allocations: 56.44 kB / 0.6987 GB, free: 85.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002262/1.212, allocations: 121.4 kB / 0.6989 GB, free: 85.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003749/1.216, allocations: 1.293 MB / 0.7001 GB, free: 85.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004002/1.22, allocations: 1.262 MB / 0.7014 GB, free: 85.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008054/1.228, allocations: 6.134 MB / 0.7073 GB, free: 82.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004585/1.233, allocations: 341.5 kB / 0.7077 GB, free: 82.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001039/1.234, allocations: 342.8 kB / 0.708 GB, free: 82.6 MB / 426.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 () * Number of clocked 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.003971/1.238, allocations: 1.809 MB / 0.7098 GB, free: 81.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008123/1.239, allocations: 307.4 kB / 0.7101 GB, free: 81.56 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007244/1.246, allocations: 3.348 MB / 0.7133 GB, free: 80.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.675e-05/1.246, allocations: 20 kB / 0.7134 GB, free: 80.03 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/1.246, allocations: 7.391 kB / 0.7134 GB, free: 80.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-05/1.246, allocations: 11.64 kB / 0.7134 GB, free: 80.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01719/1.263, allocations: 7.574 MB / 0.7208 GB, free: 74.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.186e-05/1.263, allocations: 4 kB / 0.7208 GB, free: 74.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/1.264, allocations: 237.7 kB / 0.721 GB, free: 73.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003314/1.268, allocations: 1.121 MB / 0.7221 GB, free: 73.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000243/1.268, allocations: 31.23 kB / 0.7221 GB, free: 73.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00713/1.275, allocations: 5.77 MB / 0.7278 GB, free: 68.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.275, allocations: 4.031 kB / 0.7278 GB, free: 68.08 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008646/1.284, allocations: 5.673 MB / 0.7333 GB, free: 63.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009283/1.285, allocations: 360.8 kB / 0.7336 GB, free: 62.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008444/1.286, allocations: 30.23 kB / 0.7337 GB, free: 62.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001891/1.288, allocations: 109.6 kB / 0.7338 GB, free: 62.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002851/1.288, allocations: 86.61 kB / 0.7339 GB, free: 62.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/1.288, allocations: 40 kB / 0.7339 GB, free: 62.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004338/1.292, allocations: 2.168 MB / 0.736 GB, free: 61.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.292, allocations: 0 / 0.736 GB, free: 61.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005435/1.298, allocations: 0.9234 MB / 0.7369 GB, free: 60.1 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 () * Number of clocked 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.0005318/1.298, allocations: 169.3 kB / 0.7371 GB, free: 59.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006935/1.305, allocations: 4.745 MB / 0.7417 GB, free: 55.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/1.305, allocations: 0 / 0.7417 GB, free: 55.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002127/1.308, allocations: 1.532 MB / 0.7432 GB, free: 54.44 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003112/1.311, allocations: 344.3 kB / 0.7435 GB, free: 54.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01568/1.326, allocations: 9.482 MB / 0.7528 GB, free: 45.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004226/1.331, allocations: 2.848 MB / 0.7556 GB, free: 43.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004765/1.335, allocations: 1.714 MB / 0.7573 GB, free: 42.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008188/1.336, allocations: 211.4 kB / 0.7575 GB, free: 41.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/1.336, allocations: 3.938 kB / 0.7575 GB, free: 41.8 MB / 426.7 MB Notification: Performance of Templates: time 0.05313/1.389, allocations: 31.84 MB / 0.7886 GB, free: 10.59 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches