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.001704/0.001704, allocations: 118.1 kB / 18.45 MB, free: 4.605 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.001859/0.001859, allocations: 189.2 kB / 21.39 MB, free: 1.672 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.509/1.509, allocations: 207.6 MB / 231.8 MB, free: 4.082 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.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.001725/0.001725, allocations: 59.92 kB / 342.8 MB, free: 9.531 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09293/0.09466, allocations: 49.11 MB / 391.9 MB, free: 8.258 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.01218/0.1068, allocations: 10.52 MB / 402.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008441/0.1153, allocations: 3.984 MB / 406.4 MB, free: 9.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00183/0.1171, allocations: 63.81 kB / 406.4 MB, free: 9.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004914/0.122, allocations: 2.231 MB / 408.7 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005739/0.1278, allocations: 1.911 MB / 410.6 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002103/0.1299, allocations: 0.7487 MB / 411.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007924/0.1378, allocations: 4.839 MB / 416.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004066/0.1419, allocations: 2.476 MB / 418.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003074/0.1449, allocations: 1.495 MB / 420.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003854/0.1488, allocations: 2.231 MB / 422.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001085/0.1499, allocations: 300 kB / 422.7 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002788/0.1527, allocations: 1.213 MB / 423.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002829/0.1555, allocations: 1.909 MB / 425.8 MB, free: 6.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004488/0.16, allocations: 2.066 MB / 427.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01047/0.1704, allocations: 6.724 MB / 434.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.1705, allocations: 7.938 kB / 434.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1705, allocations: 3.938 kB / 434.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002325/0.1707, allocations: 0 / 434.6 MB, free: 13.35 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.01239/0.1831, allocations: 4.796 MB / 439.4 MB, free: 8.477 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1831, allocations: 15.97 kB / 439.4 MB, free: 8.461 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02753/0.2106, allocations: 3.107 MB / 442.5 MB, free: 5.348 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009716/0.2204, allocations: 3.457 MB / 446 MB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002359/0.2206, allocations: 201 kB / 446.2 MB, free: 1.633 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001471/0.2221, allocations: 263.8 kB / 446.4 MB, free: 1.375 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01889/0.241, allocations: 8.863 MB / 455.3 MB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001983/0.2412, allocations: 51.59 kB / 455.3 MB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001226/0.2424, allocations: 127.9 kB / 455.5 MB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003414/0.2458, allocations: 1.77 MB / 457.2 MB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2034/0.4491, allocations: 7.774 MB / 465 MB, free: 58.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03887/0.488, allocations: 35.94 MB / 0.4892 GB, free: 32.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007384/0.4954, allocations: 3.697 MB / 0.4928 GB, free: 30.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002117/0.4975, allocations: 2.007 MB / 0.4948 GB, free: 29.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003563/0.4979, allocations: 324.5 kB / 0.4951 GB, free: 29.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.4979, allocations: 57.83 kB / 0.4951 GB, free: 28.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=160): time 4.368e-06/0.4979, allocations: 0 / 0.4951 GB, free: 28.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=190): time 0.04891/0.5468, allocations: 21.64 MB / 0.5163 GB, free: 7.629 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.5469, allocations: 248.6 kB / 0.5165 GB, free: 7.332 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004023/0.5509, allocations: 3.966 MB / 0.5204 GB, free: 3.457 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003316/0.5513, allocations: 53.7 kB / 0.5204 GB, free: 3.398 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001108/0.5524, allocations: 2.885 MB / 0.5232 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005794/0.5529, allocations: 0.7643 MB / 0.524 GB, free: 15.9 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00163/0.5546, allocations: 1.183 MB / 0.5251 GB, free: 14.7 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.5547, allocations: 301.1 kB / 0.5254 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003499/0.5582, allocations: 2.381 MB / 0.5277 GB, free: 12.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006176/0.5644, allocations: 5.64 MB / 0.5333 GB, free: 4.758 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01186/0.5762, allocations: 8.585 MB / 0.5416 GB, free: 10.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.714e-05/0.5763, allocations: 32 kB / 0.5417 GB, free: 10.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=749) (initialization): time 0.0196/0.5959, allocations: 9.614 MB / 0.5511 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.596, allocations: 60.16 kB / 0.5511 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001582/0.5962, allocations: 112 kB / 0.5512 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005715/0.6019, allocations: 2.014 MB / 0.5532 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004368/0.6063, allocations: 1.279 MB / 0.5544 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01728/0.6236, allocations: 11.37 MB / 0.5655 GB, free: 1.949 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004469/0.628, allocations: 339.6 kB / 0.5659 GB, free: 1.617 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009066/0.6289, allocations: 348 kB / 0.5662 GB, free: 1.277 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.003743/0.6327, allocations: 1.932 MB / 0.5681 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001073/0.6337, allocations: 369.5 kB / 0.5684 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01099/0.6447, allocations: 4.873 MB / 0.5732 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.754e-05/0.6448, allocations: 26.27 kB / 0.5732 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.095e-05/0.6448, allocations: 11.94 kB / 0.5732 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-05/0.6448, allocations: 7.969 kB / 0.5732 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02105/0.6659, allocations: 9.981 MB / 0.583 GB, free: 4 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/0.6659, allocations: 4 kB / 0.583 GB, free: 0 / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/0.6673, allocations: 263.6 kB / 0.5832 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005647/0.6729, allocations: 1.85 MB / 0.5851 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002887/0.6732, allocations: 31.98 kB / 0.5851 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01583/0.6891, allocations: 10.4 MB / 0.5952 GB, free: 3.309 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.6891, allocations: 4.031 kB / 0.5952 GB, free: 3.305 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01453/0.7036, allocations: 7.954 MB / 0.603 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002139/0.7057, allocations: 0.7406 MB / 0.6037 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006418/0.7064, allocations: 36 kB / 0.6038 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/0.7081, allocations: 131.9 kB / 0.6039 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000407/0.7085, allocations: 113.1 kB / 0.604 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/0.7086, allocations: 59.98 kB / 0.6041 GB, free: 10.22 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003966/0.7126, allocations: 2.5 MB / 0.6065 GB, free: 7.742 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7126, allocations: 0 / 0.6065 GB, free: 7.742 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004716/0.7173, allocations: 1.078 MB / 0.6076 GB, free: 6.668 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.0004237/0.7177, allocations: 159 kB / 0.6077 GB, free: 6.504 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009471/0.7272, allocations: 5.564 MB / 0.6131 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.7272, allocations: 4.312 kB / 0.6131 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003321/0.7305, allocations: 1.948 MB / 0.615 GB, free: 14.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002908/0.7334, allocations: 475.7 kB / 0.6155 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01643/0.7499, allocations: 9.575 MB / 0.6248 GB, free: 4.891 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003696/0.7536, allocations: 3.095 MB / 0.6279 GB, free: 1.766 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004127/0.7577, allocations: 1.823 MB / 0.6296 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007581/0.7585, allocations: 243.3 kB / 0.6299 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of SimCode: time 1.052e-06/0.7585, allocations: 0 / 0.6299 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.2654/1.024, allocations: 42.93 MB / 0.6718 GB, free: 162.7 MB / 0.4981 GB " [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.749824344180524]