Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 103.9 kB / 19.75 MB, free: 2.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002087/0.002087, allocations: 189.9 kB / 22.92 MB, free: 5.48 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 207.6 MB / 233.5 MB, free: 11 MB / 190.1 MB " [Timeout remaining time 178] 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 51.92 kB / 345.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.257, allocations: 49.12 MB / 394.5 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.009899/0.2669, allocations: 10.54 MB / 405.1 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008271/0.2752, allocations: 4 MB / 409.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002315/0.2775, allocations: 64.06 kB / 409.1 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004618/0.2821, allocations: 2.24 MB / 411.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005539/0.2877, allocations: 1.906 MB / 413.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.2895, allocations: 0.7544 MB / 414 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006978/0.2965, allocations: 4.841 MB / 418.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002842/0.2993, allocations: 2.177 MB / 421 MB, free: 8.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00238/0.3017, allocations: 1.512 MB / 422.6 MB, free: 7.691 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003033/0.3047, allocations: 2.218 MB / 424.8 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000563/0.3053, allocations: 300 kB / 425.1 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002146/0.3074, allocations: 1.225 MB / 426.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001892/0.3093, allocations: 1.897 MB / 428.2 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002104/0.3114, allocations: 2.074 MB / 430.3 MB, free: 160 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00746/0.3189, allocations: 6.718 MB / 437 MB, free: 9.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3189, allocations: 0 / 437 MB, free: 9.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3189, allocations: 0 / 437 MB, free: 9.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001201/0.319, allocations: 3.938 kB / 437 MB, free: 9.41 MB / 350.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.008867/0.3279, allocations: 4.8 MB / 441.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.3279, allocations: 8.031 kB / 441.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02475/0.3527, allocations: 3.119 MB / 444.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008554/0.3612, allocations: 3.453 MB / 448.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/0.3614, allocations: 197 kB / 448.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007923/0.3622, allocations: 271.8 kB / 448.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01416/0.3764, allocations: 8.859 MB / 457.7 MB, free: 3.918 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000111/0.3765, allocations: 47.66 kB / 457.7 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003561/0.3768, allocations: 127.9 kB / 457.8 MB, free: 3.746 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003116/0.3799, allocations: 1.766 MB / 459.6 MB, free: 1.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01458/0.3945, allocations: 7.792 MB / 467.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04374/0.4383, allocations: 35.93 MB / 0.4915 GB, free: 5.176 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008217/0.4465, allocations: 3.704 MB / 0.4952 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002707/0.4492, allocations: 2.005 MB / 0.4971 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004326/0.4496, allocations: 324.2 kB / 0.4974 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.092e-05/0.4497, allocations: 55.5 kB / 0.4975 GB, free: 14.87 MB / 430.1 MB Notification: Performance of pre-optimization done (n=160): time 3.938e-06/0.4497, allocations: 4 kB / 0.4975 GB, free: 14.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=190): time 0.05599/0.5057, allocations: 21.63 MB / 0.5186 GB, free: 9.125 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001626/0.5058, allocations: 260.6 kB / 0.5189 GB, free: 8.816 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005691/0.5115, allocations: 3.967 MB / 0.5227 GB, free: 4.867 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002497/0.5118, allocations: 49.7 kB / 0.5228 GB, free: 4.812 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002183/0.5139, allocations: 2.888 MB / 0.5256 GB, free: 1.898 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007764/0.5147, allocations: 0.752 MB / 0.5263 GB, free: 1.141 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001645/0.5164, allocations: 1.183 MB / 0.5275 GB, free: 15.94 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.5165, allocations: 301.1 kB / 0.5278 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003449/0.5199, allocations: 2.385 MB / 0.5301 GB, free: 13.25 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0061/0.526, allocations: 5.636 MB / 0.5356 GB, free: 6.004 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0105/0.5365, allocations: 8.572 MB / 0.544 GB, free: 11.84 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.688e-05/0.5366, allocations: 32 kB / 0.544 GB, free: 11.81 MB / 478.1 MB Notification: Performance of matching and sorting (n=749) (initialization): time 0.0178/0.5544, allocations: 9.622 MB / 0.5534 GB, free: 2.176 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.824e-05/0.5545, allocations: 59.91 kB / 0.5535 GB, free: 2.117 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000122/0.5546, allocations: 112 kB / 0.5536 GB, free: 2.008 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1808/0.7354, allocations: 2.018 MB / 0.5555 GB, free: 141.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004488/0.7399, allocations: 1.284 MB / 0.5568 GB, free: 141.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01497/0.7548, allocations: 11.37 MB / 0.5679 GB, free: 137.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004494/0.7593, allocations: 344.8 kB / 0.5682 GB, free: 137.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005633/0.7599, allocations: 337.4 kB / 0.5686 GB, free: 137.5 MB / 478.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.002594/0.7625, allocations: 1.948 MB / 0.5705 GB, free: 136.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006171/0.7631, allocations: 368.3 kB / 0.5708 GB, free: 136.6 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008213/0.7713, allocations: 4.861 MB / 0.5756 GB, free: 135 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.586e-05/0.7713, allocations: 23.52 kB / 0.5756 GB, free: 135 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.7714, allocations: 7.938 kB / 0.5756 GB, free: 135 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.7714, allocations: 13.81 kB / 0.5756 GB, free: 135 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01395/0.7853, allocations: 9.972 MB / 0.5853 GB, free: 131.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/0.7853, allocations: 5.266 kB / 0.5853 GB, free: 131.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/0.7865, allocations: 263.1 kB / 0.5856 GB, free: 131.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004593/0.7911, allocations: 1.85 MB / 0.5874 GB, free: 130.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002201/0.7914, allocations: 32.88 kB / 0.5874 GB, free: 130.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01078/0.8021, allocations: 10.41 MB / 0.5976 GB, free: 121.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.8021, allocations: 0 / 0.5976 GB, free: 121.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01057/0.8127, allocations: 7.949 MB / 0.6054 GB, free: 113.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001666/0.8144, allocations: 0.7432 MB / 0.6061 GB, free: 113.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005264/0.8149, allocations: 28 kB / 0.6061 GB, free: 113.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/0.8164, allocations: 147.8 kB / 0.6063 GB, free: 113 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003854/0.8168, allocations: 105.2 kB / 0.6064 GB, free: 112.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/0.8169, allocations: 48 kB / 0.6064 GB, free: 112.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002796/0.8197, allocations: 2.504 MB / 0.6088 GB, free: 110.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8197, allocations: 4.625 kB / 0.6088 GB, free: 110.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004416/0.8242, allocations: 1.067 MB / 0.6099 GB, free: 109.3 MB / 478.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.0004925/0.8247, allocations: 164.7 kB / 0.61 GB, free: 109.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007362/0.832, allocations: 5.567 MB / 0.6155 GB, free: 103.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.289e-06/0.832, allocations: 0 / 0.6155 GB, free: 103.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00231/0.8343, allocations: 1.943 MB / 0.6174 GB, free: 101.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002692/0.837, allocations: 468.7 kB / 0.6178 GB, free: 101.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/0.8494, allocations: 9.664 MB / 0.6273 GB, free: 91.58 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002279/0.8517, allocations: 3.095 MB / 0.6303 GB, free: 88.45 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003264/0.855, allocations: 1.823 MB / 0.6321 GB, free: 86.62 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005884/0.8555, allocations: 235.4 kB / 0.6323 GB, free: 86.39 MB / 478.1 MB Notification: Performance of SimCode: time 1.333e-06/0.8556, allocations: 0 / 0.6323 GB, free: 86.39 MB / 478.1 MB Notification: Performance of Templates: time 0.06144/0.917, allocations: 44.41 MB / 0.6757 GB, free: 42.02 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulum/DoublePendulum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.4062624322250485]