Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.DoublePendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001339/0.001339, allocations: 112.6 kB / 18.79 MB, free: 3.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00133/0.00133, allocations: 215.9 kB / 19.8 MB, free: 2.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.467/1.467, allocations: 230.4 MB / 251.1 MB, free: 8.461 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 71.83 kB / 369 MB, free: 6.066 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2463, allocations: 53.31 MB / 422.3 MB, free: 7.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.01427/0.2605, allocations: 10.44 MB / 432.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00952/0.2701, allocations: 3.98 MB / 436.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001732/0.2718, allocations: 71.75 kB / 436.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004767/0.2766, allocations: 2.231 MB / 439 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005333/0.2819, allocations: 1.868 MB / 440.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002076/0.284, allocations: 0.7525 MB / 441.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008665/0.2926, allocations: 5.254 MB / 446.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004179/0.2968, allocations: 2.456 MB / 449.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002899/0.2997, allocations: 1.491 MB / 450.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003784/0.3035, allocations: 2.2 MB / 453 MB, free: 8.969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001157/0.3047, allocations: 300 kB / 453.3 MB, free: 8.676 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003055/0.3077, allocations: 1.217 MB / 454.5 MB, free: 7.457 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003098/0.3108, allocations: 1.878 MB / 456.4 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004826/0.3156, allocations: 2.05 MB / 458.5 MB, free: 3.512 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01078/0.3264, allocations: 6.662 MB / 465.1 MB, free: 12.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.3264, allocations: 0 / 465.1 MB, free: 12.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3264, allocations: 0 / 465.1 MB, free: 12.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002824/0.3267, allocations: 0 / 465.1 MB, free: 12.82 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.01194/0.3386, allocations: 4.788 MB / 469.9 MB, free: 7.957 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3387, allocations: 12.03 kB / 469.9 MB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02398/0.3627, allocations: 3.103 MB / 473 MB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008274/0.3709, allocations: 3.289 MB / 476.3 MB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.3711, allocations: 201 kB / 476.5 MB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007883/0.3719, allocations: 279.8 kB / 476.8 MB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01502/0.3869, allocations: 8.855 MB / 485.6 MB, free: 7.508 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001327/0.3871, allocations: 47.62 kB / 485.7 MB, free: 7.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003827/0.3874, allocations: 127.9 kB / 485.8 MB, free: 7.336 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003235/0.3907, allocations: 1.77 MB / 487.6 MB, free: 5.562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01555/0.4062, allocations: 7.788 MB / 495.4 MB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04732/0.4535, allocations: 35.91 MB / 0.5188 GB, free: 8.781 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008683/0.4622, allocations: 3.715 MB / 0.5225 GB, free: 4.922 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002861/0.4651, allocations: 2.001 MB / 0.5244 GB, free: 2.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004437/0.4655, allocations: 332.5 kB / 0.5247 GB, free: 2.527 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/0.4656, allocations: 55.55 kB / 0.5248 GB, free: 2.465 MB / 446.1 MB Notification: Performance of pre-optimization done (n=160): time 3.556e-06/0.4656, allocations: 3.938 kB / 0.5248 GB, free: 2.461 MB / 446.1 MB Notification: Performance of matching and sorting (n=190): time 0.2594/0.7249, allocations: 21.57 MB / 0.5458 GB, free: 115.4 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.531e-05/0.725, allocations: 259.9 kB / 0.5461 GB, free: 115.1 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004814/0.7298, allocations: 3.924 MB / 0.5499 GB, free: 113.9 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004462/0.7303, allocations: 53.61 kB / 0.55 GB, free: 113.8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001348/0.7316, allocations: 2.882 MB / 0.5528 GB, free: 112.4 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006897/0.7323, allocations: 0.758 MB / 0.5535 GB, free: 111.9 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001211/0.7335, allocations: 1.19 MB / 0.5547 GB, free: 111.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.879e-05/0.7336, allocations: 301.1 kB / 0.555 GB, free: 111 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002631/0.7362, allocations: 2.381 MB / 0.5573 GB, free: 110.2 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00359/0.7398, allocations: 5.637 MB / 0.5628 GB, free: 105.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006886/0.7467, allocations: 8.58 MB / 0.5712 GB, free: 97.69 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.428e-05/0.7468, allocations: 34.81 kB / 0.5712 GB, free: 97.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=749) (initialization): time 0.01405/0.7608, allocations: 9.621 MB / 0.5806 GB, free: 88.26 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.659e-05/0.7609, allocations: 56 kB / 0.5807 GB, free: 88.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-05/0.761, allocations: 112 kB / 0.5808 GB, free: 88.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004628/0.7656, allocations: 2.013 MB / 0.5827 GB, free: 86.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003457/0.769, allocations: 1.291 MB / 0.584 GB, free: 84.79 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/0.7811, allocations: 11.36 MB / 0.5951 GB, free: 73.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004052/0.7852, allocations: 343.3 kB / 0.5954 GB, free: 72.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007596/0.7859, allocations: 340 kB / 0.5958 GB, free: 72.63 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 515 * Number of states: 0 () * Number of discrete variables: 30 (boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (688): * Single equations (assignments): 684 * 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,35,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002787/0.7887, allocations: 1.949 MB / 0.5977 GB, free: 70.72 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000751/0.7895, allocations: 364.1 kB / 0.598 GB, free: 70.36 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008127/0.7976, allocations: 4.852 MB / 0.6027 GB, free: 65.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.525e-05/0.7976, allocations: 20 kB / 0.6028 GB, free: 65.48 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.775e-05/0.7976, allocations: 8 kB / 0.6028 GB, free: 65.47 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.839e-05/0.7977, allocations: 7.969 kB / 0.6028 GB, free: 65.46 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01603/0.8137, allocations: 9.992 MB / 0.6125 GB, free: 55.44 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.47e-05/0.8137, allocations: 0 / 0.6125 GB, free: 55.44 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/0.815, allocations: 267.6 kB / 0.6128 GB, free: 55.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004683/0.8197, allocations: 1.842 MB / 0.6146 GB, free: 53.33 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003345/0.8201, allocations: 39.62 kB / 0.6146 GB, free: 53.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01127/0.8313, allocations: 10.4 MB / 0.6248 GB, free: 42.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.8313, allocations: 11.92 kB / 0.6248 GB, free: 42.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01143/0.8428, allocations: 7.944 MB / 0.6326 GB, free: 34.77 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/0.844, allocations: 422.6 kB / 0.633 GB, free: 34.33 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001193/0.8452, allocations: 28 kB / 0.633 GB, free: 34.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002281/0.8475, allocations: 139.6 kB / 0.6331 GB, free: 34.17 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005251/0.848, allocations: 117.1 kB / 0.6332 GB, free: 34.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002193/0.8482, allocations: 48 kB / 0.6333 GB, free: 34.01 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004002/0.8522, allocations: 2.48 MB / 0.6357 GB, free: 31.55 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8522, allocations: 288 / 0.6357 GB, free: 31.55 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00514/0.8574, allocations: 1.051 MB / 0.6367 GB, free: 30.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * 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 (136): * Single equations (assignments): 132 * 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,33,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005628/0.858, allocations: 170.6 kB / 0.6369 GB, free: 30.33 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007928/0.8659, allocations: 5.569 MB / 0.6423 GB, free: 24.76 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.8659, allocations: 0 / 0.6423 GB, free: 24.76 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002604/0.8685, allocations: 1.94 MB / 0.6442 GB, free: 22.81 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003148/0.8716, allocations: 468.9 kB / 0.6447 GB, free: 22.36 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01416/0.8858, allocations: 9.615 MB / 0.6541 GB, free: 12.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003408/0.8892, allocations: 3.083 MB / 0.6571 GB, free: 9.594 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003789/0.893, allocations: 1.815 MB / 0.6588 GB, free: 7.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008249/0.8938, allocations: 239.4 kB / 0.6591 GB, free: 7.535 MB / 462.1 MB Notification: Performance of SimCode: time 1.243e-06/0.8938, allocations: 0 / 0.6591 GB, free: 7.535 MB / 462.1 MB Notification: Performance of Templates: time 0.08261/0.9764, allocations: 43.34 MB / 0.7014 GB, free: 12.45 MB / 0.4981 GB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulum/DoublePendulum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches