Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001367/0.001367, allocations: 122.5 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001446/0.001446, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 59.89 kB / 373.8 MB, free: 9.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1217, allocations: 53.32 MB / 427.2 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.2801/0.4018, allocations: 10.45 MB / 437.6 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01215/0.4139, allocations: 3.979 MB / 441.6 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003591/0.4175, allocations: 68.66 kB / 441.7 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006508/0.424, allocations: 2.231 MB / 443.9 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006726/0.4307, allocations: 1.865 MB / 445.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.4329, allocations: 0.744 MB / 446.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01006/0.443, allocations: 5.25 MB / 451.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006072/0.4491, allocations: 2.46 MB / 454.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004688/0.4538, allocations: 1.486 MB / 455.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005469/0.4592, allocations: 2.22 MB / 457.9 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002036/0.4613, allocations: 300.7 kB / 458.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004913/0.4662, allocations: 1.208 MB / 459.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004336/0.4705, allocations: 1.874 MB / 461.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009484/0.48, allocations: 2.05 MB / 463.3 MB, free: 9.465 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01865/0.4987, allocations: 6.659 MB / 470 MB, free: 4.902 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.089e-05/0.4987, allocations: 1.969 kB / 470 MB, free: 4.902 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.396e-06/0.4987, allocations: 0 / 470 MB, free: 4.902 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004324/0.4991, allocations: 4 kB / 470 MB, free: 4.898 MB / 366.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.01822/0.5173, allocations: 4.787 MB / 474.8 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.5174, allocations: 8.031 kB / 474.8 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02838/0.5458, allocations: 3.111 MB / 477.9 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01004/0.5558, allocations: 3.282 MB / 481.2 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002855/0.5561, allocations: 201 kB / 481.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001775/0.5578, allocations: 281.1 kB / 481.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02174/0.5796, allocations: 8.855 MB / 490.5 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001684/0.5798, allocations: 43.62 kB / 490.6 MB, free: 472 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004284/0.5802, allocations: 127.9 kB / 490.7 MB, free: 344 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003288/0.5835, allocations: 1.774 MB / 492.5 MB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01738/0.6009, allocations: 7.788 MB / 0.4885 GB, free: 6.773 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05909/0.66, allocations: 35.91 MB / 0.5236 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009044/0.669, allocations: 3.697 MB / 0.5272 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003221/0.6722, allocations: 2.012 MB / 0.5292 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000554/0.6728, allocations: 336 kB / 0.5295 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.958e-05/0.6728, allocations: 59.42 kB / 0.5295 GB, free: 11.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=160): time 4.678e-06/0.6728, allocations: 0 / 0.5295 GB, free: 11.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=190): time 0.06944/0.7423, allocations: 21.57 MB / 0.5506 GB, free: 5.836 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002417/0.7425, allocations: 256.6 kB / 0.5509 GB, free: 5.531 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009088/0.7516, allocations: 3.935 MB / 0.5547 GB, free: 1.613 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008921/0.7525, allocations: 49.7 kB / 0.5547 GB, free: 1.559 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003822/0.7563, allocations: 2.885 MB / 0.5576 GB, free: 14.64 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001985/0.7583, allocations: 0.7559 MB / 0.5583 GB, free: 13.88 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002813/0.7611, allocations: 1.183 MB / 0.5595 GB, free: 12.69 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.7613, allocations: 304.9 kB / 0.5597 GB, free: 12.39 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004109/0.7654, allocations: 2.381 MB / 0.5621 GB, free: 10 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007292/0.7727, allocations: 5.64 MB / 0.5676 GB, free: 2.75 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01335/0.786, allocations: 8.577 MB / 0.576 GB, free: 8.586 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001067/0.7861, allocations: 32 kB / 0.576 GB, free: 8.555 MB / 494.1 MB Notification: Performance of matching and sorting (n=749) (initialization): time 0.02458/0.8107, allocations: 9.615 MB / 0.5854 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.8108, allocations: 56.22 kB / 0.5854 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001833/0.811, allocations: 116 kB / 0.5855 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006597/0.8176, allocations: 2.014 MB / 0.5875 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00488/0.8225, allocations: 1.29 MB / 0.5888 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01812/0.8406, allocations: 11.37 MB / 0.5999 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005893/0.8465, allocations: 347.4 kB / 0.6002 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001484/0.848, allocations: 340 kB / 0.6005 GB, free: 15.27 MB / 0.5137 GB 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.00503/0.853, allocations: 1.935 MB / 0.6024 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/0.8541, allocations: 369.8 kB / 0.6028 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/0.8646, allocations: 4.856 MB / 0.6075 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.103e-05/0.8646, allocations: 23.94 kB / 0.6075 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.202e-05/0.8647, allocations: 12.88 kB / 0.6075 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-05/0.8647, allocations: 7.969 kB / 0.6076 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2992/1.164, allocations: 9.984 MB / 0.6173 GB, free: 160.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.262e-05/1.164, allocations: 2.828 kB / 0.6173 GB, free: 160.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002475/1.166, allocations: 268 kB / 0.6176 GB, free: 160.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009315/1.176, allocations: 1.849 MB / 0.6194 GB, free: 160.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006619/1.176, allocations: 32.86 kB / 0.6194 GB, free: 160.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02487/1.201, allocations: 10.4 MB / 0.6296 GB, free: 157.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.201, allocations: 1.922 kB / 0.6296 GB, free: 157.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01804/1.219, allocations: 7.941 MB / 0.6373 GB, free: 154.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001765/1.221, allocations: 423.4 kB / 0.6377 GB, free: 154.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001477/1.223, allocations: 36.77 kB / 0.6378 GB, free: 154.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002793/1.225, allocations: 139.5 kB / 0.6379 GB, free: 154.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007151/1.226, allocations: 106.4 kB / 0.638 GB, free: 154.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001769/1.226, allocations: 52.61 kB / 0.638 GB, free: 154.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005697/1.232, allocations: 2.486 MB / 0.6405 GB, free: 153.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.11e-07/1.232, allocations: 0 / 0.6405 GB, free: 153.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00728/1.239, allocations: 1.048 MB / 0.6415 GB, free: 153.6 MB / 0.5137 GB 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.0007642/1.24, allocations: 163.2 kB / 0.6416 GB, free: 153.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008433/1.248, allocations: 5.565 MB / 0.6471 GB, free: 151.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/1.248, allocations: 3.938 kB / 0.6471 GB, free: 151.6 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002875/1.251, allocations: 1.945 MB / 0.649 GB, free: 150.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003583/1.255, allocations: 466.5 kB / 0.6494 GB, free: 150.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/1.268, allocations: 9.542 MB / 0.6587 GB, free: 145.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002363/1.27, allocations: 3.087 MB / 0.6618 GB, free: 143.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003146/1.273, allocations: 1.816 MB / 0.6635 GB, free: 141.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006436/1.274, allocations: 236.2 kB / 0.6638 GB, free: 141.6 MB / 0.5137 GB Notification: Performance of SimCode: time 1.262e-06/1.274, allocations: 0 / 0.6638 GB, free: 141.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.06051/1.335, allocations: 42.77 MB / 0.7055 GB, free: 99.1 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.8148619048297405]