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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001275/0.001275, allocations: 118.3 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001334, allocations: 202.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 67.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2179, allocations: 50.54 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.01035/0.2283, allocations: 10.4 MB / 420.3 MB, free: 7.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006375/0.2347, allocations: 3.956 MB / 424.3 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007227/0.2355, allocations: 71.69 kB / 424.4 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00357/0.2391, allocations: 2.2 MB / 426.6 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003199/0.2423, allocations: 1.876 MB / 428.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.2435, allocations: 0.7369 MB / 429.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005305/0.2488, allocations: 5.252 MB / 434.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002546/0.2514, allocations: 2.882 MB / 437.3 MB, free: 6.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001385/0.2528, allocations: 1.479 MB / 438.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002064/0.2549, allocations: 2.033 MB / 440.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004261/0.2553, allocations: 300 kB / 441.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/0.257, allocations: 1.178 MB / 442.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001387/0.2584, allocations: 1.851 MB / 444.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001535/0.26, allocations: 2.051 MB / 446.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005567/0.2655, allocations: 6.662 MB / 452.9 MB, free: 6.473 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2656, allocations: 0 / 452.9 MB, free: 6.473 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.2656, allocations: 0 / 452.9 MB, free: 6.473 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.34e-05/0.2656, allocations: 3.938 kB / 452.9 MB, free: 6.469 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.007524/0.2732, allocations: 4.785 MB / 457.7 MB, free: 1.605 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2732, allocations: 11.97 kB / 457.7 MB, free: 1.594 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02324/0.2964, allocations: 3.103 MB / 460.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006839/0.3033, allocations: 3.301 MB / 464.1 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.3034, allocations: 197 kB / 464.3 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004716/0.3039, allocations: 267.8 kB / 464.5 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01161/0.3155, allocations: 8.859 MB / 473.4 MB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-05/0.3156, allocations: 55.59 kB / 473.4 MB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003134/0.316, allocations: 127.9 kB / 473.6 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002805/0.3188, allocations: 1.77 MB / 475.3 MB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01257/0.3314, allocations: 7.784 MB / 483.1 MB, free: 7.414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03798/0.3694, allocations: 35.93 MB / 0.5069 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008083/0.3775, allocations: 3.813 MB / 0.5106 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002638/0.3801, allocations: 2.166 MB / 0.5127 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004184/0.3806, allocations: 332.2 kB / 0.513 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.779e-05/0.3806, allocations: 59.44 kB / 0.5131 GB, free: 11.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=160): time 4.809e-06/0.3806, allocations: 0 / 0.5131 GB, free: 11.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=190): time 0.08281/0.4635, allocations: 21.6 MB / 0.5342 GB, free: 6.129 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000188/0.4637, allocations: 252.6 kB / 0.5344 GB, free: 5.828 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01048/0.4742, allocations: 3.935 MB / 0.5383 GB, free: 1.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004379/0.4747, allocations: 53.7 kB / 0.5383 GB, free: 1.852 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.227/0.7017, allocations: 2.875 MB / 0.5411 GB, free: 124.6 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009607/0.7027, allocations: 0.7588 MB / 0.5419 GB, free: 124.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002408/0.7051, allocations: 1.181 MB / 0.543 GB, free: 124 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.518e-05/0.7052, allocations: 306.3 kB / 0.5433 GB, free: 123.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003291/0.7085, allocations: 2.383 MB / 0.5456 GB, free: 122.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003786/0.7122, allocations: 5.644 MB / 0.5511 GB, free: 117.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006763/0.719, allocations: 8.578 MB / 0.5595 GB, free: 111.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.553e-05/0.7191, allocations: 33.22 kB / 0.5596 GB, free: 111.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=749) (initialization): time 0.0131/0.7322, allocations: 9.639 MB / 0.569 GB, free: 104.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.254e-05/0.7323, allocations: 60.91 kB / 0.569 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-05/0.7323, allocations: 112 kB / 0.5691 GB, free: 104.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004785/0.7371, allocations: 2.018 MB / 0.5711 GB, free: 103.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003192/0.7403, allocations: 1.279 MB / 0.5724 GB, free: 101.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01173/0.7521, allocations: 11.36 MB / 0.5834 GB, free: 90.44 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003185/0.7553, allocations: 345 kB / 0.5838 GB, free: 90.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003356/0.7556, allocations: 339.8 kB / 0.5841 GB, free: 89.79 MB / 462.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.001924/0.7575, allocations: 1.941 MB / 0.586 GB, free: 87.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003816/0.7579, allocations: 361.6 kB / 0.5863 GB, free: 87.55 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007879/0.7658, allocations: 4.891 MB / 0.5911 GB, free: 82.64 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.499e-05/0.7658, allocations: 11.39 kB / 0.5911 GB, free: 82.63 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.7659, allocations: 7.844 kB / 0.5911 GB, free: 82.63 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003844/0.7662, allocations: 430.8 kB / 0.5915 GB, free: 82.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003929/0.7666, allocations: 32 kB / 0.5916 GB, free: 82.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/0.7681, allocations: 131.8 kB / 0.5917 GB, free: 82.04 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003088/0.7684, allocations: 141.1 kB / 0.5918 GB, free: 81.9 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008384/0.7768, allocations: 5.292 MB / 0.597 GB, free: 76.64 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005802/0.7826, allocations: 6.204 MB / 0.6031 GB, free: 70.41 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001539/0.7841, allocations: 1.655 MB / 0.6047 GB, free: 68.76 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002402/0.7865, allocations: 2.484 MB / 0.6071 GB, free: 66.29 MB / 462.1 MB Notification: Performance of Backend: time 1.152e-06/0.7866, allocations: 0 / 0.6071 GB, free: 66.29 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006238/0.7928, allocations: 4.57 MB / 0.6116 GB, free: 61.75 MB / 462.1 MB Notification: Performance of SimCode: time 0.008981/0.8018, allocations: 9.071 MB / 0.6204 GB, free: 52.66 MB / 462.1 MB Notification: Performance of Templates: time 0.06525/0.8671, allocations: 52.67 MB / 0.6719 GB, free: 228 kB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulum/DoublePendulum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches