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.0009817/0.0009817, allocations: 187 kB / 17.91 MB, free: 3.855 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.161/1.161, allocations: 205.1 MB / 223.7 MB, free: 8.48 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.0009213/0.0009212, allocations: 98.92 kB / 271.2 MB, free: 8.445 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007395/0.0007395, allocations: 43.94 kB / 327.2 MB, free: 328 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1951, allocations: 46.62 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.02269/0.2178, allocations: 34.78 MB / 408.6 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01321/0.2311, allocations: 7.923 MB / 416.5 MB, free: 6.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005927/0.237, allocations: 147.6 kB / 416.7 MB, free: 6.535 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003162/0.2403, allocations: 2.057 MB / 418.7 MB, free: 4.473 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003434/0.2437, allocations: 1.526 MB / 420.3 MB, free: 2.941 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.2449, allocations: 0.6396 MB / 420.9 MB, free: 2.301 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004155/0.249, allocations: 4.815 MB / 425.7 MB, free: 13.47 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003095/0.2522, allocations: 2.68 MB / 428.4 MB, free: 10.74 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.2535, allocations: 1.137 MB / 429.5 MB, free: 9.602 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001713/0.2552, allocations: 1.885 MB / 431.4 MB, free: 7.711 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003208/0.2556, allocations: 192 kB / 431.6 MB, free: 7.523 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.2572, allocations: 1.115 MB / 432.7 MB, free: 6.406 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001162/0.2584, allocations: 1.539 MB / 434.2 MB, free: 4.863 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001383/0.2598, allocations: 1.813 MB / 436.1 MB, free: 3.039 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004334/0.2641, allocations: 5.685 MB / 441.7 MB, free: 13.33 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2641, allocations: 0 / 441.7 MB, free: 13.33 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.2641, allocations: 4 kB / 441.8 MB, free: 13.33 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.56e-05/0.2642, allocations: 0 / 441.8 MB, free: 13.33 MB / 330.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.005818/0.27, allocations: 4.129 MB / 445.9 MB, free: 9.133 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.2701, allocations: 8.031 kB / 445.9 MB, free: 9.125 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005731/0.2758, allocations: 1.852 MB / 447.7 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003354/0.2792, allocations: 1.933 MB / 449.7 MB, free: 5.285 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.2793, allocations: 205.2 kB / 449.9 MB, free: 5.082 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004244/0.2797, allocations: 275.8 kB / 450.1 MB, free: 4.812 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01639/0.2961, allocations: 9.973 MB / 460.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001206/0.2963, allocations: 43.67 kB / 460.2 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006995/0.297, allocations: 139.9 kB / 460.3 MB, free: 9.984 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002863/0.2999, allocations: 1.848 MB / 462.1 MB, free: 8.137 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01605/0.316, allocations: 8.544 MB / 470.7 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1965/0.5125, allocations: 36.85 MB / 0.4956 GB, free: 86.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008641/0.5212, allocations: 3.877 MB / 0.4994 GB, free: 85.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002193/0.5234, allocations: 1.816 MB / 0.5012 GB, free: 85.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0102/0.5336, allocations: 7.523 MB / 0.5085 GB, free: 81.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.5337, allocations: 51.19 kB / 0.5086 GB, free: 81.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=150): time 4.508e-06/0.5337, allocations: 0 / 0.5086 GB, free: 81.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=166): time 0.04358/0.5773, allocations: 17.45 MB / 0.5256 GB, free: 69.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.5774, allocations: 145.5 kB / 0.5258 GB, free: 69.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004285/0.5817, allocations: 3.478 MB / 0.5292 GB, free: 65.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001986/0.5819, allocations: 56.17 kB / 0.5292 GB, free: 65.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001219/0.5831, allocations: 2.74 MB / 0.5319 GB, free: 62.85 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005504/0.5837, allocations: 0.639 MB / 0.5325 GB, free: 62.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001482/0.5852, allocations: 1.115 MB / 0.5336 GB, free: 61.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.358e-05/0.5852, allocations: 301.1 kB / 0.5339 GB, free: 60.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002244/0.5875, allocations: 1.957 MB / 0.5358 GB, free: 58.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00327/0.5907, allocations: 5.371 MB / 0.5411 GB, free: 51.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005917/0.5967, allocations: 7.927 MB / 0.5488 GB, free: 42.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-05/0.5968, allocations: 38.81 kB / 0.5488 GB, free: 42.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.01168/0.6085, allocations: 8.181 MB / 0.5568 GB, free: 34.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.882e-05/0.6086, allocations: 60 kB / 0.5569 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001185/0.6087, allocations: 124.1 kB / 0.557 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003475/0.6122, allocations: 1.298 MB / 0.5583 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003108/0.6153, allocations: 1.267 MB / 0.5595 GB, free: 31.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006606/0.6219, allocations: 6.089 MB / 0.5654 GB, free: 25.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003431/0.6254, allocations: 307.5 kB / 0.5657 GB, free: 24.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005922/0.626, allocations: 344 kB / 0.5661 GB, free: 24.55 MB / 378.7 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.002982/0.629, allocations: 1.806 MB / 0.5678 GB, free: 22.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005453/0.6295, allocations: 304 kB / 0.5681 GB, free: 22.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006125/0.6357, allocations: 3.372 MB / 0.5714 GB, free: 19.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-05/0.6357, allocations: 19.83 kB / 0.5714 GB, free: 19.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.6357, allocations: 8 kB / 0.5714 GB, free: 19.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.6357, allocations: 11.97 kB / 0.5715 GB, free: 19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01174/0.6475, allocations: 7.596 MB / 0.5789 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.6475, allocations: 7.938 kB / 0.5789 GB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009464/0.6485, allocations: 239.7 kB / 0.5791 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003263/0.6517, allocations: 1.124 MB / 0.5802 GB, free: 9.988 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/0.6519, allocations: 28 kB / 0.5802 GB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006206/0.6581, allocations: 5.715 MB / 0.5858 GB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6581, allocations: 4.031 kB / 0.5858 GB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07463/0.7327, allocations: 40.09 MB / 0.625 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001484/0.7343, allocations: 0.5712 MB / 0.6255 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005538/0.7348, allocations: 31.67 kB / 0.6256 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/0.7363, allocations: 83.88 kB / 0.6256 GB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003184/0.7366, allocations: 92.81 kB / 0.6257 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/0.7367, allocations: 47.88 kB / 0.6258 GB, free: 10.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003249/0.74, allocations: 2.162 MB / 0.6279 GB, free: 8.719 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.74, allocations: 0 / 0.6279 GB, free: 8.719 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004573/0.7446, allocations: 1.244 MB / 0.6291 GB, free: 7.48 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 (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 {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000394/0.745, allocations: 176.9 kB / 0.6293 GB, free: 7.309 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006699/0.7517, allocations: 4.786 MB / 0.6339 GB, free: 2.535 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.706e-06/0.7517, allocations: 0 / 0.6339 GB, free: 2.535 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002231/0.754, allocations: 1.534 MB / 0.6354 GB, free: 0.9922 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/0.756, allocations: 344.4 kB / 0.6358 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/0.7718, allocations: 11.11 MB / 0.6466 GB, free: 5.477 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004119/0.7759, allocations: 2.914 MB / 0.6495 GB, free: 2.531 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004584/0.7805, allocations: 1.758 MB / 0.6512 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008269/0.7814, allocations: 219.4 kB / 0.6514 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of SimCode: time 8.52e-07/0.7814, allocations: 4 kB / 0.6514 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of Templates: time 0.207/0.9884, allocations: 44.6 MB / 0.6949 GB, free: 129 MB / 442.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@2/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