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.0009243/0.0009243, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003822/0.003822, allocations: 158 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8927/0.8927, allocations: 177 MB / 204.9 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.553e-06/1.553e-06, allocations: 0 / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.411e-05, allocations: 3.266 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.007011/0.007035, allocations: 9.142 MB / 334.9 MB, free: 6.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005278/0.01231, allocations: 3.799 MB / 338.7 MB, free: 2.371 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005639/0.01288, allocations: 79.56 kB / 338.8 MB, free: 2.293 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002228/0.01511, allocations: 2.258 MB / 341.1 MB, free: 24 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0023/0.01741, allocations: 1.94 MB / 343 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.01856, allocations: 0.8186 MB / 343.8 MB, free: 13.25 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0036/0.02216, allocations: 5.991 MB / 349.8 MB, free: 7.254 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002179/0.02434, allocations: 2.903 MB / 352.7 MB, free: 4.301 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.02609, allocations: 2.303 MB / 355 MB, free: 1.992 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001752/0.02784, allocations: 2.354 MB / 357.4 MB, free: 15.63 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000268/0.02811, allocations: 312 kB / 357.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001423/0.02953, allocations: 1.131 MB / 358.8 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001025/0.03056, allocations: 1.967 MB / 360.8 MB, free: 12.22 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007793/0.03134, allocations: 1.203 MB / 362 MB, free: 11.02 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005017/0.03635, allocations: 6.784 MB / 368.8 MB, free: 4.211 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.03636, allocations: 0 / 368.8 MB, free: 4.211 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.03636, allocations: 0 / 368.8 MB, free: 4.211 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.817e-05/0.03641, allocations: 0 / 368.8 MB, free: 4.211 MB / 330.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.005849/0.04226, allocations: 4.779 MB / 373.5 MB, free: 15.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.0423, allocations: 11.98 kB / 373.6 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/0.0536, allocations: 3.205 MB / 376.8 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005049/0.05865, allocations: 3.201 MB / 380 MB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.255e-05/0.05874, allocations: 197.4 kB / 380.2 MB, free: 8.695 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003487/0.05909, allocations: 275.7 kB / 380.4 MB, free: 8.426 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008429/0.06752, allocations: 8.963 MB / 389.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.894e-05/0.06759, allocations: 43.64 kB / 389.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002331/0.06782, allocations: 127.9 kB / 389.6 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00162/0.06944, allocations: 1.77 MB / 391.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008579/0.07802, allocations: 7.764 MB / 399.1 MB, free: 5.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0272/0.1052, allocations: 33.69 MB / 432.8 MB, free: 2.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004921/0.1101, allocations: 3.327 MB / 436.1 MB, free: 15.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001982/0.1121, allocations: 2.021 MB / 438.1 MB, free: 13.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002093/0.1123, allocations: 96.8 kB / 438.2 MB, free: 12.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.1124, allocations: 51.5 kB / 438.3 MB, free: 12.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=160): time 5.27e-06/0.1124, allocations: 4 kB / 438.3 MB, free: 12.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=190): time 0.1964/0.3088, allocations: 22.01 MB / 460.3 MB, free: 110.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.651e-05/0.3089, allocations: 248.2 kB / 460.5 MB, free: 110.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002876/0.3118, allocations: 3.877 MB / 464.4 MB, free: 108.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.3119, allocations: 49.67 kB / 464.5 MB, free: 108.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000781/0.3126, allocations: 2.884 MB / 467.3 MB, free: 106.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003702/0.313, allocations: 0.7411 MB / 468.1 MB, free: 106.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008477/0.3139, allocations: 1.167 MB / 469.2 MB, free: 105.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.841e-05/0.3139, allocations: 301.1 kB / 469.5 MB, free: 105.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/0.3157, allocations: 2.384 MB / 471.9 MB, free: 104 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002506/0.3182, allocations: 5.746 MB / 477.7 MB, free: 97.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005016/0.3232, allocations: 8.573 MB / 486.2 MB, free: 87.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-05/0.3232, allocations: 32 kB / 486.3 MB, free: 87.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=749) (initialization): time 0.009142/0.3324, allocations: 9.594 MB / 495.9 MB, free: 77.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.967e-05/0.3324, allocations: 52 kB / 495.9 MB, free: 77.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.865e-05/0.3325, allocations: 116 kB / 496 MB, free: 77.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00285/0.3353, allocations: 2.023 MB / 498.1 MB, free: 75.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002015/0.3374, allocations: 1.279 MB / 499.3 MB, free: 74.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00845/0.3458, allocations: 11.16 MB / 0.4985 GB, free: 62.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002665/0.3485, allocations: 395.5 kB / 0.4989 GB, free: 62.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002413/0.3487, allocations: 337.1 kB / 0.4992 GB, free: 62.07 MB / 410.7 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.001932/0.3506, allocations: 1.94 MB / 0.5011 GB, free: 60.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003007/0.3509, allocations: 333.7 kB / 0.5014 GB, free: 59.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004616/0.3556, allocations: 4.83 MB / 0.5062 GB, free: 54.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.3556, allocations: 27.83 kB / 0.5062 GB, free: 54.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.3556, allocations: 8 kB / 0.5062 GB, free: 54.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.3556, allocations: 11.97 kB / 0.5062 GB, free: 54.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008735/0.3643, allocations: 9.044 MB / 0.515 GB, free: 45.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.3643, allocations: 3.938 kB / 0.515 GB, free: 45.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006147/0.365, allocations: 267.6 kB / 0.5153 GB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002489/0.3674, allocations: 1.846 MB / 0.5171 GB, free: 43.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.323e-05/0.3675, allocations: 35.05 kB / 0.5171 GB, free: 43.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007262/0.3748, allocations: 10.22 MB / 0.5271 GB, free: 33.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.3748, allocations: 7.031 kB / 0.5271 GB, free: 33.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006752/0.3816, allocations: 7.904 MB / 0.5348 GB, free: 25.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005125/0.3821, allocations: 365.6 kB / 0.5352 GB, free: 25.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/0.3823, allocations: 35.94 kB / 0.5352 GB, free: 25.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009173/0.3832, allocations: 191.7 kB / 0.5354 GB, free: 24.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/0.3834, allocations: 113.1 kB / 0.5355 GB, free: 24.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.932e-05/0.3835, allocations: 55.53 kB / 0.5356 GB, free: 24.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001854/0.3853, allocations: 2.317 MB / 0.5378 GB, free: 22.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3853, allocations: 0 / 0.5378 GB, free: 22.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00297/0.3883, allocations: 1.187 MB / 0.539 GB, free: 21.21 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 (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.0003425/0.3886, allocations: 182.3 kB / 0.5392 GB, free: 21.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004833/0.3935, allocations: 5.561 MB / 0.5446 GB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3935, allocations: 0 / 0.5446 GB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001492/0.395, allocations: 1.944 MB / 0.5465 GB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.3963, allocations: 428.7 kB / 0.5469 GB, free: 13.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009405/0.4057, allocations: 9.871 MB / 0.5565 GB, free: 3.207 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001807/0.4075, allocations: 2.517 MB / 0.559 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005508/0.4081, allocations: 272.4 kB / 0.5593 GB, free: 408 kB / 410.7 MB Notification: Performance of SimCode: time 1.503e-06/0.4081, allocations: 4 kB / 0.5593 GB, free: 404 kB / 410.7 MB Notification: Performance of Templates: time 0.2349/0.6429, allocations: 75.57 MB / 0.6331 GB, free: 134.8 MB / 458.7 MB " [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: 9.109709390439093]