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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 86.98 kB / 21.44 MB, free: 276 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002074/0.002074, allocations: 163.7 kB / 24.71 MB, free: 3.527 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.406/1.406, allocations: 158.6 MB / 186.5 MB, free: 6.379 MB / 174.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 3.938 kB / 299 MB, free: 8.699 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.689e-05, allocations: 2.281 kB / 299 MB, free: 8.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.01194/0.01197, allocations: 9.184 MB / 308.1 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008408/0.02038, allocations: 3.789 MB / 311.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001683/0.02206, allocations: 79.62 kB / 312 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004757/0.02682, allocations: 2.262 MB / 314.3 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004632/0.03145, allocations: 1.979 MB / 316.3 MB, free: 7.332 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.03322, allocations: 0.8186 MB / 317.1 MB, free: 6.512 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007391/0.04061, allocations: 5.512 MB / 322.6 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1623/0.2029, allocations: 2.916 MB / 325.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00381/0.2067, allocations: 2.324 MB / 327.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004006/0.2107, allocations: 2.362 MB / 330.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007577/0.2115, allocations: 311.2 kB / 330.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002401/0.2139, allocations: 1.15 MB / 331.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00184/0.2157, allocations: 1.996 MB / 333.6 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00168/0.2174, allocations: 1.221 MB / 334.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006826/0.2242, allocations: 6.851 MB / 341.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2242, allocations: 0 / 341.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2242, allocations: 2.875 kB / 341.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001348/0.2244, allocations: 0 / 341.7 MB, free: 13.22 MB / 302.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.009116/0.2335, allocations: 4.796 MB / 346.5 MB, free: 9.973 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.2335, allocations: 13.48 kB / 346.5 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02733/0.2608, allocations: 3.198 MB / 349.7 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008008/0.2688, allocations: 3.315 MB / 353 MB, free: 6.715 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.269, allocations: 196.5 kB / 353.2 MB, free: 6.652 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009486/0.2699, allocations: 275.4 kB / 353.5 MB, free: 6.578 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01322/0.2831, allocations: 8.966 MB / 362.5 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001274/0.2833, allocations: 45.56 kB / 362.5 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003881/0.2837, allocations: 127.2 kB / 362.6 MB, free: 12.99 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003439/0.2871, allocations: 1.771 MB / 364.4 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01516/0.3023, allocations: 7.766 MB / 372.2 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.049/0.3513, allocations: 33.75 MB / 405.9 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0138/0.3651, allocations: 3.315 MB / 409.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004653/0.3697, allocations: 2.032 MB / 411.3 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004722/0.3702, allocations: 96.73 kB / 411.4 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.779e-05/0.3703, allocations: 54.66 kB / 411.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=160): time 7.374e-06/0.3703, allocations: 0 / 411.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=190): time 0.08605/0.4563, allocations: 22.08 MB / 433.5 MB, free: 5.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001715/0.4565, allocations: 264.6 kB / 433.8 MB, free: 5.527 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007958/0.4645, allocations: 3.977 MB / 437.7 MB, free: 1.547 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005511/0.465, allocations: 52.67 kB / 437.8 MB, free: 1.492 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002615/0.4676, allocations: 2.876 MB / 440.7 MB, free: 14.63 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001303/0.4689, allocations: 0.7437 MB / 441.4 MB, free: 13.89 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002194/0.4711, allocations: 1.17 MB / 442.6 MB, free: 12.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.4713, allocations: 309 kB / 442.9 MB, free: 12.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003784/0.475, allocations: 2.381 MB / 445.3 MB, free: 10.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006636/0.4817, allocations: 5.747 MB / 451 MB, free: 2.695 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01214/0.4938, allocations: 8.567 MB / 459.6 MB, free: 8.703 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001033/0.4939, allocations: 35.94 kB / 459.6 MB, free: 8.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=749) (initialization): time 0.02593/0.5199, allocations: 9.583 MB / 469.2 MB, free: 15.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001912/0.52, allocations: 54.5 kB / 469.2 MB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003083/0.5204, allocations: 112.8 kB / 469.3 MB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009567/0.5299, allocations: 2.018 MB / 471.4 MB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007336/0.5373, allocations: 1.287 MB / 472.7 MB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0264/0.5637, allocations: 11.16 MB / 483.8 MB, free: 348 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1641/0.7277, allocations: 410.9 kB / 484.2 MB, free: 137.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001277/0.729, allocations: 337.2 kB / 484.5 MB, free: 137.2 MB / 430.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.003385/0.7324, allocations: 1.94 MB / 486.5 MB, free: 137 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008225/0.7332, allocations: 337.3 kB / 486.8 MB, free: 137 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009502/0.7427, allocations: 4.832 MB / 491.6 MB, free: 136.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.391e-05/0.7428, allocations: 22.27 kB / 491.7 MB, free: 136.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/0.7428, allocations: 7.531 kB / 491.7 MB, free: 136.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.723e-05/0.7428, allocations: 13.12 kB / 491.7 MB, free: 136.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01741/0.7602, allocations: 9.092 MB / 0.489 GB, free: 133.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/0.7602, allocations: 2.438 kB / 0.489 GB, free: 133.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/0.7615, allocations: 272.5 kB / 0.4893 GB, free: 133.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004992/0.7665, allocations: 1.848 MB / 0.4911 GB, free: 132.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002584/0.7668, allocations: 27.69 kB / 0.4911 GB, free: 132.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0125/0.7793, allocations: 10.23 MB / 0.5011 GB, free: 128.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.7793, allocations: 0 / 0.5011 GB, free: 128.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01196/0.7912, allocations: 7.908 MB / 0.5088 GB, free: 122.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00196/0.7932, allocations: 0.6834 MB / 0.5095 GB, free: 122.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005375/0.7937, allocations: 32 kB / 0.5095 GB, free: 122.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002006/0.7957, allocations: 208.2 kB / 0.5097 GB, free: 122.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004188/0.7962, allocations: 122.5 kB / 0.5099 GB, free: 122.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001656/0.7963, allocations: 48.02 kB / 0.5099 GB, free: 122.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002997/0.7993, allocations: 2.398 MB / 0.5122 GB, free: 119.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7993, allocations: 0 / 0.5122 GB, free: 119.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00466/0.804, allocations: 1.212 MB / 0.5134 GB, free: 118.6 MB / 430.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.0004816/0.8045, allocations: 189.9 kB / 0.5136 GB, free: 118.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006835/0.8113, allocations: 5.564 MB / 0.519 GB, free: 112.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/0.8113, allocations: 0 / 0.519 GB, free: 112.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002435/0.8138, allocations: 1.937 MB / 0.5209 GB, free: 111 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002834/0.8166, allocations: 420.7 kB / 0.5213 GB, free: 110.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/0.8288, allocations: 9.544 MB / 0.5307 GB, free: 101.1 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002367/0.8312, allocations: 2.557 MB / 0.5331 GB, free: 98.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003362/0.8345, allocations: 1.782 MB / 0.5349 GB, free: 96.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007614/0.8353, allocations: 236.4 kB / 0.5351 GB, free: 96.52 MB / 430.1 MB Notification: Performance of SimCode: time 7.82e-07/0.8353, allocations: 0 / 0.5351 GB, free: 96.52 MB / 430.1 MB Notification: Performance of Templates: time 0.06376/0.8991, allocations: 42.43 MB / 0.5766 GB, free: 54.04 MB / 430.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.653936218470335]