Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009987/0.0009986, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.266/1.266, allocations: 205.4 MB / 223.6 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007225/0.0007225, allocations: 89.36 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003051/0.0003051, allocations: 11.98 kB / 328.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2042, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09792/0.3022, allocations: 92.45 MB / 468.2 MB, free: 4.156 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.3025, allocations: 91.94 kB / 468.3 MB, free: 4.066 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3328/0.6353, allocations: 81.64 MB / 0.537 GB, free: 79.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.6354, allocations: 0 / 0.537 GB, free: 79.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002403/0.6357, allocations: 68 kB / 0.5371 GB, free: 79.23 MB / 378.7 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.01179/0.6475, allocations: 4.207 MB / 0.5412 GB, free: 74.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.6475, allocations: 8.031 kB / 0.5412 GB, free: 74.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01918/0.6667, allocations: 4.971 MB / 0.5461 GB, free: 69.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009532/0.6763, allocations: 4.695 MB / 0.5506 GB, free: 65.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002374/0.6766, allocations: 275.4 kB / 0.5509 GB, free: 64.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001582/0.6782, allocations: 364.1 kB / 0.5512 GB, free: 64.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01746/0.6957, allocations: 9.044 MB / 0.5601 GB, free: 54.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002886/0.696, allocations: 67.58 kB / 0.5601 GB, free: 54.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001457/0.6975, allocations: 179.8 kB / 0.5603 GB, free: 54.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001241/0.6987, allocations: 0.8923 MB / 0.5612 GB, free: 53.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01364/0.7124, allocations: 7.517 MB / 0.5685 GB, free: 45.97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04216/0.7546, allocations: 42.28 MB / 0.6098 GB, free: 2.309 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007758/0.7624, allocations: 3.684 MB / 0.6134 GB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002665/0.7651, allocations: 1.956 MB / 0.6153 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004762/0.7656, allocations: 328.2 kB / 0.6156 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.005e-05/0.7657, allocations: 51.5 kB / 0.6157 GB, free: 12.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=160): time 4.969e-06/0.7657, allocations: 0 / 0.6157 GB, free: 12.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=189): time 0.05077/0.8164, allocations: 18.86 MB / 0.6341 GB, free: 9.074 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/0.8166, allocations: 248.6 kB / 0.6343 GB, free: 8.777 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006693/0.8233, allocations: 3.916 MB / 0.6382 GB, free: 4.832 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004091/0.8238, allocations: 53.7 kB / 0.6382 GB, free: 4.773 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002078/0.8259, allocations: 2.834 MB / 0.641 GB, free: 1.906 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009084/0.8268, allocations: 0.7288 MB / 0.6417 GB, free: 1.168 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002865/0.8271, allocations: 108 kB / 0.6418 GB, free: 1.062 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003509/0.8274, allocations: 0.5373 MB / 0.6423 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1733/1.001, allocations: 2.083 MB / 0.6444 GB, free: 104.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003921/1.005, allocations: 5.333 MB / 0.6496 GB, free: 100.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008299/1.013, allocations: 8.067 MB / 0.6574 GB, free: 96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001018/1.013, allocations: 33.41 kB / 0.6575 GB, free: 96 MB / 410.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01335/1.027, allocations: 8.417 MB / 0.6657 GB, free: 94.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.297e-05/1.027, allocations: 56.75 kB / 0.6658 GB, free: 94.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001179/1.027, allocations: 118.3 kB / 0.6659 GB, free: 94.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003338/1.03, allocations: 1.361 MB / 0.6672 GB, free: 94.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003483/1.034, allocations: 1.228 MB / 0.6684 GB, free: 94.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009675/1.043, allocations: 8.429 MB / 0.6766 GB, free: 90.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003968/1.047, allocations: 314.8 kB / 0.6769 GB, free: 90.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000658/1.048, allocations: 336.6 kB / 0.6772 GB, free: 90.35 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 519 * 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 (653): * Single equations (assignments): 649 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002837/1.051, allocations: 1.937 MB / 0.6791 GB, free: 89.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005545/1.051, allocations: 354.3 kB / 0.6795 GB, free: 89.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006497/1.058, allocations: 3.926 MB / 0.6833 GB, free: 88.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-05/1.058, allocations: 21.7 kB / 0.6833 GB, free: 88.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/1.058, allocations: 12.56 kB / 0.6833 GB, free: 88.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-05/1.058, allocations: 8.75 kB / 0.6834 GB, free: 88.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01357/1.072, allocations: 8.923 MB / 0.6921 GB, free: 84.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/1.072, allocations: 3.969 kB / 0.6921 GB, free: 84.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/1.073, allocations: 262.9 kB / 0.6923 GB, free: 84.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003101/1.076, allocations: 1.211 MB / 0.6935 GB, free: 84.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002079/1.076, allocations: 33.17 kB / 0.6935 GB, free: 84.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008638/1.085, allocations: 7.569 MB / 0.7009 GB, free: 77.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.085, allocations: 3 kB / 0.7009 GB, free: 77.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009387/1.094, allocations: 6.691 MB / 0.7075 GB, free: 71.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001592/1.096, allocations: 0.6767 MB / 0.7081 GB, free: 71.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004742/1.096, allocations: 37.03 kB / 0.7082 GB, free: 71.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/1.098, allocations: 120 kB / 0.7083 GB, free: 71.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003263/1.098, allocations: 111.2 kB / 0.7084 GB, free: 71.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/1.098, allocations: 53.03 kB / 0.7084 GB, free: 71.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003585/1.102, allocations: 2.467 MB / 0.7108 GB, free: 68.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.102, allocations: 0 / 0.7108 GB, free: 68.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004846/1.107, allocations: 0.9968 MB / 0.7118 GB, free: 67.99 MB / 410.7 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 (135): * Single equations (assignments): 131 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 31} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004768/1.107, allocations: 179.9 kB / 0.712 GB, free: 67.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007352/1.115, allocations: 5.178 MB / 0.717 GB, free: 63.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/1.115, allocations: 0 / 0.717 GB, free: 63.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002643/1.117, allocations: 1.987 MB / 0.719 GB, free: 61.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003314/1.121, allocations: 467.6 kB / 0.7194 GB, free: 61.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/1.135, allocations: 11.04 MB / 0.7302 GB, free: 51.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002793/1.138, allocations: 3.109 MB / 0.7332 GB, free: 48.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009925/1.139, allocations: 274.6 kB / 0.7335 GB, free: 48.41 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/1.139, allocations: 0 / 0.7335 GB, free: 48.41 MB / 410.7 MB Notification: Performance of Templates: time 0.2729/1.412, allocations: 72.79 MB / 0.8046 GB, free: 123.9 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulum/DoublePendulum.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches